Skip to content

Commit cccdf10

Browse files
authored
Release Az.CosmosDB v2.0.0-preview (#14053)
1 parent c878f76 commit cccdf10

File tree

3 files changed

+30
-10
lines changed

3 files changed

+30
-10
lines changed

src/CosmosDB/CosmosDB/Az.CosmosDB.psd1

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
141141
'Update-AzCosmosDBMongoDBDatabaseThroughput',
142142
'Update-AzCosmosDBGremlinGraphThroughput',
143143
'Update-AzCosmosDBGremlinDatabaseThroughput',
144-
'Update-AzCosmosDBCassandraTableThroughput',
144+
'Update-AzCosmosDBCassandraTableThroughput',
145145
'Update-AzCosmosDBCassandraKeyspaceThroughput',
146-
'Update-AzCosmosDBTableThroughput',
146+
'Update-AzCosmosDBTableThroughput',
147147
'Update-AzCosmosDBMongoDBCollection',
148-
'Update-AzCosmosDBMongoDBDatabase',
148+
'Update-AzCosmosDBMongoDBDatabase',
149149
'New-AzCosmosDBMongoDBCollection', 'New-AzCosmosDBMongoDBDatabase',
150150
'New-AzCosmosDBDatabaseToRestore',
151151
'Restore-AzCosmosDBAccount',
@@ -157,8 +157,8 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
157157
'Get-AzCosmosDBMongoDBRestorableCollection',
158158
'Get-AzCosmosDBMongoDBRestorableResource',
159159
'New-AzCosmosDBSqlRoleDefinition', 'New-AzCosmosDBSqlRoleAssignment',
160-
'Get-AzCosmosDBSqlRoleDefinition', 'Get-AzCosmosDBSqlRoleAssignment',
161-
'Remove-AzCosmosDBSqlRoleDefinition', 'Remove-AzCosmosDBSqlRoleAssignment',
160+
'Get-AzCosmosDBSqlRoleDefinition', 'Get-AzCosmosDBSqlRoleAssignment',
161+
'Remove-AzCosmosDBSqlRoleDefinition', 'Remove-AzCosmosDBSqlRoleAssignment',
162162
'Update-AzCosmosDBSqlRoleDefinition', 'Update-AzCosmosDBSqlRoleAssignment',
163163
'New-AzCosmosDBPermission'
164164

@@ -195,9 +195,27 @@ PrivateData = @{
195195
# IconUri = ''
196196

197197
# ReleaseNotes of this module
198-
ReleaseNotes = '* General availability of ''Az.CosmosDB'' module
199-
* Restricting New-AzCosmosDBAccount cmdlet to make update calls to existing Database Accounts.
200-
* Introducing AnalyticalStorageTTL in SqlContainer.'
198+
ReleaseNotes = '* This release introduces the cmdlets for the preview features of Continuous Backup(Point in time restore):
199+
- Introduced support for creating accounts with continuous mode backup policy.
200+
- Introduced support for Point in time restore for accounts with continuous mode backup policy.
201+
- Introduced support to update the backup interval and backup retention for accounts with periodic mode backup policy.
202+
- Introduced support to list the restorable resources in a live database account.
203+
- New-AzCosmosBAccount cmdlet is updated with new parameters: IsRestoreReqeust, RestoreSource, RestoreTimestampInUtc, DatabasesToRestore, BackupPolicy.
204+
- Update-AzCosmosDBAccount cmdlet is updated with new parameters: BackupPolicy.
205+
- The following cmdlets are added:
206+
- New-AzCosmosDBRestore, New-AzCosmosDBDatabaseToRestore, Get-AzCosmosDBRestorableDatabaseAccount,
207+
- Get-AzCosmosDBSqlRestorableDatabase, Get-AzCosmosDBSqlRestorableContainer, Get-AzCosmosDBSqlRestorableResource,
208+
- Get-AzCosmosDBMongoDBRestorableDatabase, Get-AzCosmosDBMongoDBRestorableCollection, Get-AzCosmosDBMongoDBRestorableResource.
209+
- Removed the support for throughput Migration. (Please use the stable version of Az.CosmosDB Powershell module if you intend to use this feature).
210+
- Removed AnalyticalStorageTTL from SqlContainer datamodel (Please use the stable version of Az.CosmosDB Powershell module if you intend to use this feature).
211+
* Introduced support for Sql data plane RBAC, allowing the creation, updating, removal, and retrieval of Role Definitions and Role Assignments
212+
- The following cmdlets are added:
213+
- Get-AzCosmosDBSqlRoleDefinition, Get-AzCosmosDBSqlRoleAssignment,
214+
- New-AzCosmosDBSqlRoleDefinition, New-AzCosmosDBSqlRoleAssignment,
215+
- Remove-AzCosmosDBSqlRoleDefinition, Remove-AzCosmosDBSqlRoleAssignment,
216+
- Update-AzCosmosDBSqlRoleDefinition, Update-AzCosmosDBSqlRoleAssignment,
217+
- New-AzCosmosDBSqlPermission
218+
* Please note this is a preview version. The cmdlets introduced here may be changed or removed in a future release.'
201219

202220
# Prerelease string of this module
203221
Prerelease = 'preview'

src/CosmosDB/CosmosDB/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
-->
2020

2121
## Upcoming Release
22+
23+
## Version 2.0.0
2224
* This release introduces the cmdlets for the preview features of Continuous Backup(Point in time restore):
2325
- Introduced support for creating accounts with continuous mode backup policy.
2426
- Introduced support for Point in time restore for accounts with continuous mode backup policy.

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("1.0.0")]
29-
[assembly: AssemblyFileVersion("1.0.0")]
28+
[assembly: AssemblyVersion("2.0.0")]
29+
[assembly: AssemblyFileVersion("2.0.0")]

0 commit comments

Comments
 (0)