Skip to content

Commit e381c5d

Browse files
authored
Release Az.CosmosDB v2.0.5-preview (#21664)
* Release Az.CosmosDB v2.0.5-preview * Fix an static analysis issue
1 parent 0299956 commit e381c5d

File tree

9 files changed

+32430
-21092
lines changed

9 files changed

+32430
-21092
lines changed

src/Accounts/Accounts/Utilities/CommandMappings.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,16 @@
364364
"Update-AzApplicationInsightsWorkbook": {},
365365
"Update-AzApplicationInsightsWorkbookTemplate": {}
366366
},
367+
"Az.ArcResourceBridge": {
368+
"Get-AzArcResourceBridge": {},
369+
"Get-AzArcResourceBridgeApplianceCredential": {},
370+
"Get-AzArcResourceBridgeCredential": {},
371+
"Get-AzArcResourceBridgeTelemetryConfig": {},
372+
"Get-AzArcResourceBridgeUpgradeGraph": {},
373+
"New-AzArcResourceBridge": {},
374+
"Remove-AzArcResourceBridge": {},
375+
"Update-AzArcResourceBridge": {}
376+
},
367377
"Az.Attestation": {
368378
"Get-AzAttestationPolicy": {},
369379
"Set-AzAttestationPolicy": {},
@@ -1278,8 +1288,10 @@
12781288
"Remove-AzCosmosDBSqlContainer": {},
12791289
"Remove-AzCosmosDBSqlDatabase": {},
12801290
"New-AzCosmosDBSqlContainer": {},
1291+
"Restore-AzCosmosDBSqlDatabase": {},
12811292
"New-AzCosmosDBSqlDatabase": {},
12821293
"Update-AzCosmosDBSqlContainer": {},
1294+
"Restore-AzCosmosDBSqlContainer": {},
12831295
"Update-AzCosmosDBSqlDatabase": {},
12841296
"New-AzCosmosDBAccount": {},
12851297
"Remove-AzCosmosDBAccount": {},
@@ -1305,6 +1317,8 @@
13051317
"New-AzCosmosDBGremlinGraph": {},
13061318
"Update-AzCosmosDBGremlinDatabase": {},
13071319
"Update-AzCosmosDBGremlinGraph": {},
1320+
"Restore-AzCosmosDBGremlinDatabase": {},
1321+
"Restore-AzCosmosDBGremlinGraph": {},
13081322
"New-AzCosmosDBGremlinIndexingPolicy": {},
13091323
"New-AzCosmosDBGremlinUniqueKey": {},
13101324
"New-AzCosmosDBGremlinUniqueKeyPolicy": {},
@@ -1318,6 +1332,7 @@
13181332
"Remove-AzCosmosDBTable": {},
13191333
"New-AzCosmosDBTable": {},
13201334
"Update-AzCosmosDBTable": {},
1335+
"Restore-AzCosmosDBTable": {},
13211336
"Get-AzCosmosDBCassandraKeyspace": {},
13221337
"Get-AzCosmosDBCassandraKeyspaceThroughput": {},
13231338
"Get-AzCosmosDBCassandraTable": {},
@@ -1351,6 +1366,8 @@
13511366
"Update-AzCosmosDBMongoDBDatabase": {},
13521367
"New-AzCosmosDBMongoDBCollection": {},
13531368
"New-AzCosmosDBMongoDBDatabase": {},
1369+
"Restore-AzCosmosDBMongoDBDatabase": {},
1370+
"Restore-AzCosmosDBMongoDBCollection": {},
13541371
"Invoke-AzCosmosDBSqlContainerThroughputMigration": {},
13551372
"Invoke-AzCosmosDBSqlDatabaseThroughputMigration": {},
13561373
"Invoke-AzCosmosDBMongoDBCollectionThroughputMigration": {},
@@ -1405,7 +1422,27 @@
14051422
"Remove-AzCosmosDBMongoDBUserDefinition": {},
14061423
"Get-AzCosmosDBService": {},
14071424
"New-AzCosmosDBService": {},
1408-
"Remove-AzCosmosDBService": {}
1425+
"Remove-AzCosmosDBService": {},
1426+
"Get-AzCosmosDBGremlinGraphBackupInformation": {},
1427+
"Get-AzCosmosDBGremlinRestorableDatabase": {},
1428+
"Get-AzCosmosDBGremlinRestorableGraph": {},
1429+
"Get-AzCosmosDBGremlinRestorableResource": {},
1430+
"Get-AzCosmosDBTableRestorableTable": {},
1431+
"Get-AzCosmosDBTableRestorableResource": {},
1432+
"Get-AzCosmosDBTableBackupInformation": {},
1433+
"New-AzCosmosDBGremlinDatabaseToRestore": {},
1434+
"New-AzCosmosDBTableToRestore": {},
1435+
"Invoke-AzCosmosDbSqlContainerMerge": {},
1436+
"Invoke-AzCosmosDbMongoDbCollectionMerge": {},
1437+
"Get-AzCosmosDBSqlContainerPerPartitionThroughput": {},
1438+
"Update-AzCosmosDBSqlContainerPerPartitionThroughput": {},
1439+
"Get-AzCosmosDBMongoDBCollectionPerPartitionThroughput": {},
1440+
"Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput": {},
1441+
"Get-AzCosmosDBSqlDatabasePerPartitionThroughput": {},
1442+
"Update-AzCosmosDBSqlDatabasePerPartitionThroughput": {},
1443+
"Get-AzCosmosDBMongoDBDatabasePerPartitionThroughput": {},
1444+
"Update-AzCosmosDBMongoDBDatabasePerPartitionThroughput": {},
1445+
"New-AzCosmosDBPhysicalPartitionThroughputObject": {}
14091446
},
14101447
"Az.CostManagement": {
14111448
"Get-AzCostManagementExport": {},
@@ -1871,13 +1908,15 @@
18711908
"Get-AzDataProtectionResourceGuard": {},
18721909
"Initialize-AzDataProtectionBackupInstance": {},
18731910
"Initialize-AzDataProtectionRestoreRequest": {},
1911+
"New-AzDataProtectionBackupConfigurationClientObject": {},
18741912
"New-AzDataProtectionBackupInstance": {},
18751913
"New-AzDataProtectionBackupPolicy": {},
18761914
"New-AzDataProtectionBackupVault": {},
18771915
"New-AzDataProtectionBackupVaultStorageSettingObject": {},
18781916
"New-AzDataProtectionPolicyTagCriteriaClientObject": {},
18791917
"New-AzDataProtectionPolicyTriggerScheduleClientObject": {},
18801918
"New-AzDataProtectionResourceGuard": {},
1919+
"New-AzDataProtectionRestoreConfigurationClientObject": {},
18811920
"New-AzDataProtectionRetentionLifeCycleClientObject": {},
18821921
"Remove-AzDataProtectionBackupInstance": {},
18831922
"Remove-AzDataProtectionBackupPolicy": {},
@@ -2799,6 +2838,7 @@
27992838
"Get-AzKustoPrivateEndpointConnection": {},
28002839
"Get-AzKustoPrivateLinkResource": {},
28012840
"Get-AzKustoScript": {},
2841+
"Get-AzKustoSku": {},
28022842
"Invoke-AzKustoDataConnectionValidation": {},
28032843
"Invoke-AzKustoDetachClusterFollowerDatabase": {},
28042844
"Invoke-AzKustoDiagnoseClusterVirtualNetwork": {},
@@ -4324,6 +4364,7 @@
43244364
"Set-AzNetworkManagerManagementGroupConnection": {},
43254365
"Get-AzFirewallLearnedIpPrefix": {},
43264366
"New-AzFirewallPolicySnat": {},
4367+
"New-AzGatewayCustomBgpIpConfigurationObject": {},
43274368
"List-AzApplicationGatewayAvailableWafRuleSets": {},
43284369
"List-AzApplicationGatewayAvailableSslOptions": {},
43294370
"List-AzApplicationGatewaySslPredefinedPolicy": {},
@@ -5721,6 +5762,7 @@
57215762
"Update-AzSpringCloudMonitoringSetting": {}
57225763
},
57235764
"Az.Sql": {
5765+
"Invoke-AzSqlServerExternalGovernanceStatusRefresh": {},
57245766
"Get-AzSqlDatabaseTransparentDataEncryption": {},
57255767
"Get-AzSqlDatabaseTransparentDataEncryptionActivity": {},
57265768
"Set-AzSqlDatabaseTransparentDataEncryption": {},

src/CosmosDB/CosmosDB.Sdk/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("d90791a2-8102-47fc-8150-de25ae796eb1")]
2828

29-
[assembly: AssemblyVersion("1.9.1")]
30-
[assembly: AssemblyFileVersion("1.9.1")]
29+
[assembly: AssemblyVersion("2.0.5")]
30+
[assembly: AssemblyFileVersion("2.0.5")]

src/CosmosDB/CosmosDB/Az.CosmosDB.psd1

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 10/10/2022
6+
# Generated on: 4/28/2023
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.0.4'
15+
ModuleVersion = '2.0.5'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -53,10 +53,10 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.0'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.1'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'Microsoft.Azure.PowerShell.CosmosDB.Management.Sdk.dll',
59+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.CosmosDB.Management.Sdk.dll',
6060
'Azure.Security.KeyVault.Keys.dll'
6161

6262
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
@@ -109,8 +109,9 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
109109
'Get-AzCosmosDBGremlinGraphThroughput',
110110
'Remove-AzCosmosDBGremlinDatabase', 'Remove-AzCosmosDBGremlinGraph',
111111
'New-AzCosmosDBGremlinDatabase', 'New-AzCosmosDBGremlinGraph',
112-
'Update-AzCosmosDBGremlinDatabase', 'Update-AzCosmosDBGremlinGraph',
113-
'Restore-AzCosmosDBGremlinDatabase', 'Restore-AzCosmosDBGremlinGraph',
112+
'Update-AzCosmosDBGremlinDatabase', 'Update-AzCosmosDBGremlinGraph',
113+
'Restore-AzCosmosDBGremlinDatabase',
114+
'Restore-AzCosmosDBGremlinGraph',
114115
'New-AzCosmosDBGremlinIndexingPolicy',
115116
'New-AzCosmosDBGremlinUniqueKey',
116117
'New-AzCosmosDBGremlinUniqueKeyPolicy',
@@ -121,8 +122,7 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
121122
'New-AzCosmosDBGremlinIncludedPathIndex', 'Get-AzCosmosDBTable',
122123
'Get-AzCosmosDBTableThroughput', 'Remove-AzCosmosDBTable',
123124
'New-AzCosmosDBTable', 'Update-AzCosmosDBTable',
124-
'Restore-AzCosmosDBTable',
125-
'Get-AzCosmosDBCassandraKeyspace',
125+
'Restore-AzCosmosDBTable', 'Get-AzCosmosDBCassandraKeyspace',
126126
'Get-AzCosmosDBCassandraKeyspaceThroughput',
127127
'Get-AzCosmosDBCassandraTable',
128128
'Get-AzCosmosDBCassandraTableThroughput',
@@ -192,8 +192,7 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
192192
'Update-AzCosmosDbClientEncryptionKey',
193193
'New-AzCosmosDBMongoDBRoleDefinition',
194194
'New-AzCosmosDBMongoDBPrivilegeResource',
195-
'New-AzCosmosDBMongoDBPrivilege',
196-
'New-AzCosmosDBMongoDBRole',
195+
'New-AzCosmosDBMongoDBPrivilege', 'New-AzCosmosDBMongoDBRole',
197196
'Remove-AzCosmosDBMongoDBRoleDefinition',
198197
'Update-AzCosmosDBMongoDBRoleDefinition',
199198
'Get-AzCosmosDBMongoDBRoleDefinition',
@@ -216,11 +215,11 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
216215
'Get-AzCosmosDBSqlContainerPerPartitionThroughput',
217216
'Update-AzCosmosDBSqlContainerPerPartitionThroughput',
218217
'Get-AzCosmosDBMongoDBCollectionPerPartitionThroughput',
219-
'Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput',
218+
'Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput',
220219
'Get-AzCosmosDBSqlDatabasePerPartitionThroughput',
221220
'Update-AzCosmosDBSqlDatabasePerPartitionThroughput',
222221
'Get-AzCosmosDBMongoDBDatabasePerPartitionThroughput',
223-
'Update-AzCosmosDBMongoDBDatabasePerPartitionThroughput',
222+
'Update-AzCosmosDBMongoDBDatabasePerPartitionThroughput',
224223
'New-AzCosmosDBPhysicalPartitionThroughputObject'
225224

226225
# Variables to export from this module
@@ -256,11 +255,7 @@ PrivateData = @{
256255
# IconUri = ''
257256

258257
# ReleaseNotes of this module
259-
ReleaseNotes = '* Introduced Restore-AzCosmosDBSqlDatabase, Restore-AzCosmosDBSqlContainer to restore deleted database and containers in the same account for SQL.
260-
* Introduced Restore-AzCosmosDBMongoDBDatabase, Restore-AzCosmosDBMongoDBCollection to restore deleted database and collections in the same account for MongoDB.
261-
* Introduced support for CosmosDB partition Merge and ThroughputRedistribution APIs by adding the following cmdlets:
262-
''Get-AzCosmosDBSqlContainerPerPartitionThroughput'', ''Update-AzCosmosDBSqlContainerPerPartitionThroughput'', ''Invoke-AzCosmosDBSqlContainerMerge''
263-
''Get-AzCosmosDBMongoDBCollectionPerPartitionThroughput'', ''Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput'', ''Invoke-AzCosmosDBMongoDBCollectionMerge'''
258+
ReleaseNotes = '* Added PublicNetworkAccess parameter to ''Restore-AzCosmosDBAccount''.'
264259

265260
# Prerelease string of this module
266261
Prerelease = 'preview'

src/CosmosDB/CosmosDB/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
* Update-AzCosmosDBAccount cmdlet was updated with: EnableBurstCapacity.
2525

2626
## Upcoming Release
27+
28+
## Version 2.0.5
2729
* Added PublicNetworkAccess parameter to `Restore-AzCosmosDBAccount`.
2830

2931
## Version 1.10.0

src/CosmosDB/CosmosDB/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
[assembly: ComVisible(false)]
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("d90791a2-8102-47fc-8150-de25ae796eb1")]
28-
[assembly: AssemblyVersion("2.0.4")]
29-
[assembly: AssemblyFileVersion("2.0.4")]
28+
[assembly: AssemblyVersion("2.0.5")]
29+
[assembly: AssemblyFileVersion("2.0.5")]

tools/AzPreview/AzPreview.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.1'; },
6262
@{ModuleName = 'Az.App'; RequiredVersion = '0.1.1'; },
6363
@{ModuleName = 'Az.AppConfiguration'; RequiredVersion = '1.2.0'; },
6464
@{ModuleName = 'Az.ApplicationInsights'; RequiredVersion = '2.2.2'; },
65+
@{ModuleName = 'Az.ArcResourceBridge'; RequiredVersion = '0.1.0'; },
6566
@{ModuleName = 'Az.Attestation'; RequiredVersion = '2.0.0'; },
6667
@{ModuleName = 'Az.Automanage'; RequiredVersion = '1.0.0'; },
6768
@{ModuleName = 'Az.Automation'; RequiredVersion = '1.9.1'; },
@@ -84,7 +85,6 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.1'; },
8485
@{ModuleName = 'Az.ConnectedNetwork'; RequiredVersion = '0.1.0'; },
8586
@{ModuleName = 'Az.ContainerInstance'; RequiredVersion = '3.2.0'; },
8687
@{ModuleName = 'Az.ContainerRegistry'; RequiredVersion = '3.0.2'; },
87-
@{ModuleName = 'Az.CosmosDB'; RequiredVersion = '1.9.1'; },
8888
@{ModuleName = 'Az.CostManagement'; RequiredVersion = '0.3.0'; },
8989
@{ModuleName = 'Az.CustomLocation'; RequiredVersion = '0.1.0'; },
9090
@{ModuleName = 'Az.CustomProviders'; RequiredVersion = '0.1.0'; },

0 commit comments

Comments
 (0)