diff --git a/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt b/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt
index 785512dfdae5d..d8332131953f4 100644
--- a/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt
@@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
-cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\Users\kristynh\azure-sdk-for-net\sdk
-2020-09-23 07:35:20 UTC
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2020-06-preview --csharp-sdks-folder=D:\azure-sdk-for-net-nichatur\sdk
+2021-02-09 19:26:39 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: 4e0c86991df0089597a58cf92823d57c2efa9d36
+Commit: 0d32cdfc7fae7d13fe02800c277e2e66ad86cfa9
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs
index 6212f8be79980..9adfb055a83ba 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs
@@ -1861,7 +1861,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1870,11 +1869,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
-
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2104,7 +2098,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2113,10 +2106,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202) && !((int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2350,7 +2339,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2359,10 +2347,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2622,7 +2606,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2631,10 +2614,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2873,7 +2852,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2882,10 +2860,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -3128,7 +3102,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -3137,10 +3110,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs
index f8789cb185446..ed44d31f47f2a 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs
@@ -1859,8 +1859,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1869,10 +1867,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2102,7 +2096,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2111,10 +2104,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2348,7 +2337,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2357,10 +2345,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2620,8 +2604,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2630,10 +2612,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2872,7 +2850,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2881,10 +2858,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -3127,8 +3100,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -3137,10 +3108,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs
index 01738b4bf5d6d..e1a26f87e10b1 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs
@@ -25,7 +25,10 @@ public partial interface IRestorableDatabaseAccountsOperations
{
///
/// Lists all the restorable Azure Cosmos DB database accounts
- /// available under the subscription and in a region.
+ /// available under the subscription and in a region. This call
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -37,7 +40,7 @@ public partial interface IRestorableDatabaseAccountsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -49,7 +52,9 @@ public partial interface IRestorableDatabaseAccountsOperations
Task>> ListByLocationWithHttpMessagesAsync(string location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists all the restorable Azure Cosmos DB database accounts
- /// available under the subscription.
+ /// available under the subscription. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// The headers that will be added to request.
@@ -57,7 +62,7 @@ public partial interface IRestorableDatabaseAccountsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -69,7 +74,9 @@ public partial interface IRestorableDatabaseAccountsOperations
Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Retrieves the properties of an existing Azure Cosmos DB restorable
- /// database account.
+ /// database account. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -84,7 +91,7 @@ public partial interface IRestorableDatabaseAccountsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs
index 1640dfbae034c..7055e16c26f48 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableMongodbCollectionsOperations
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB collection
- /// available for a specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos
+ /// DB MongoDB collections under a specific database. This helps in
+ /// scenario where container was accidentally deleted. This API
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -35,7 +39,7 @@ public partial interface IRestorableMongodbCollectionsOperations
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable Mongo database.
+ /// The resource ID of the MongoDB database.
///
///
/// The headers that will be added to request.
@@ -43,7 +47,7 @@ public partial interface IRestorableMongodbCollectionsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs
index 1a14d1edbeb1a..85c196bdc8cf6 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableMongodbDatabasesOperations
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB databases
- /// available under the restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos
+ /// DB MongoDB databases under the restorable account. This helps in
+ /// scenario where database was accidentally deleted to get the
+ /// deletion time. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -40,7 +44,7 @@ public partial interface IRestorableMongodbDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs
index abff6d0da5737..734e18e2518be 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs
@@ -24,9 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableMongodbResourcesOperations
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB resources
- /// available for a specific database account at a given time and
- /// location.
+ /// Return a list of database and collection combo that exist on the
+ /// account at the given timestamp and location. This helps in
+ /// scenarios to validate what resources exist at given timestamp and
+ /// location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -47,7 +50,7 @@ public partial interface IRestorableMongodbResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs
index ed31b2d632984..c6059f82656af 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableSqlContainersOperations
{
///
- /// Lists all the restorable Azure Cosmos DB SQL containers available
- /// for a specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos
+ /// DB SQL containers under a specific database. This helps in
+ /// scenario where container was accidentally deleted. This API
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -35,7 +39,7 @@ public partial interface IRestorableSqlContainersOperations
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable SQL database.
+ /// The resource ID of the SQL database.
///
///
/// The headers that will be added to request.
@@ -43,7 +47,7 @@ public partial interface IRestorableSqlContainersOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs
index cc9963cb16a39..4341d8be95aa5 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableSqlDatabasesOperations
{
///
- /// Lists all the restorable Azure Cosmos DB SQL databases available
- /// under the restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos
+ /// DB SQL databases under the restorable account. This helps in
+ /// scenario where database was accidentally deleted to get the
+ /// deletion time. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -40,7 +44,7 @@ public partial interface IRestorableSqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs
index bfc3480ac15c8..bf1f1f286bacf 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public partial interface IRestorableSqlResourcesOperations
{
///
- /// Lists all the restorable Azure Cosmos DB SQL resources available
- /// for a specific database account at a given time and location.
+ /// Return a list of database and container combo that exist on the
+ /// account at the given timestamp and location. This helps in
+ /// scenarios to validate what resources exist at given timestamp and
+ /// location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word
@@ -46,7 +50,7 @@ public partial interface IRestorableSqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs
index c24e1320974f4..2b7835cda5e6d 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs
@@ -809,7 +809,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -840,7 +840,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -868,7 +868,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -890,7 +890,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -919,7 +919,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -950,7 +950,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -978,7 +978,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1000,7 +1000,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1420,7 +1420,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1448,7 +1448,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1476,7 +1476,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1504,7 +1504,7 @@ public partial interface ISqlResourcesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AzureEntityResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AzureEntityResource.cs
index efc0fc8dea4ed..644415a2709e8 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AzureEntityResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AzureEntityResource.cs
@@ -14,9 +14,12 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using System.Linq;
///
- /// The resource model definition for a Azure Resource Manager resource
- /// with an etag.
+ /// Entity Resource
///
+ ///
+ /// The resource model definition for an Azure Resource Manager resource
+ /// with an etag.
+ ///
public partial class AzureEntityResource : Resource
{
///
@@ -30,12 +33,12 @@ public AzureEntityResource()
///
/// Initializes a new instance of the AzureEntityResource class.
///
- /// Fully qualified resource Id for the resource. Ex -
+ /// Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
/// The name of the resource
- /// The type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
/// Resource Etag.
public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string))
: base(id, name, type)
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupStorageRedundancy.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupStorageRedundancy.cs
new file mode 100644
index 0000000000000..4235b83e7e21f
--- /dev/null
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupStorageRedundancy.cs
@@ -0,0 +1,23 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.CosmosDB.Models
+{
+
+ ///
+ /// Defines values for BackupStorageRedundancy.
+ ///
+ public static class BackupStorageRedundancy
+ {
+ public const string Geo = "Geo";
+ public const string Local = "Local";
+ public const string Zone = "Zone";
+ }
+}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponse.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponse.cs
deleted file mode 100644
index 288c1673bf231..0000000000000
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponse.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.CosmosDB.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// An error response from the service.
- ///
- public partial class DefaultErrorResponse
- {
- ///
- /// Initializes a new instance of the DefaultErrorResponse class.
- ///
- public DefaultErrorResponse()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DefaultErrorResponse class.
- ///
- public DefaultErrorResponse(ErrorResponse error = default(ErrorResponse))
- {
- Error = error;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "error")]
- public ErrorResponse Error { get; set; }
-
- }
-}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponseException.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponseException.cs
deleted file mode 100644
index cb869c9197c79..0000000000000
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DefaultErrorResponseException.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.CosmosDB.Models
-{
- using Microsoft.Rest;
-
- ///
- /// Exception thrown for an invalid response with DefaultErrorResponse
- /// information.
- ///
- public partial class DefaultErrorResponseException : RestException
- {
- ///
- /// Gets information about the associated HTTP request.
- ///
- public HttpRequestMessageWrapper Request { get; set; }
-
- ///
- /// Gets information about the associated HTTP response.
- ///
- public HttpResponseMessageWrapper Response { get; set; }
-
- ///
- /// Gets or sets the body object.
- ///
- public DefaultErrorResponse Body { get; set; }
-
- ///
- /// Initializes a new instance of the DefaultErrorResponseException class.
- ///
- public DefaultErrorResponseException()
- {
- }
-
- ///
- /// Initializes a new instance of the DefaultErrorResponseException class.
- ///
- /// The exception message.
- public DefaultErrorResponseException(string message)
- : this(message, null)
- {
- }
-
- ///
- /// Initializes a new instance of the DefaultErrorResponseException class.
- ///
- /// The exception message.
- /// Inner exception.
- public DefaultErrorResponseException(string message, System.Exception innerException)
- : base(message, innerException)
- {
- }
- }
-}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeProperties.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeProperties.cs
index 7893d5036a955..837ad6334b46a 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeProperties.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeProperties.cs
@@ -35,10 +35,14 @@ public PeriodicModeProperties()
/// An integer
/// representing the time (in hours) that each backup is
/// retained
- public PeriodicModeProperties(int? backupIntervalInMinutes = default(int?), int? backupRetentionIntervalInHours = default(int?))
+ /// Enum to indicate type of
+ /// backup residency. Possible values include: 'Geo', 'Local',
+ /// 'Zone'
+ public PeriodicModeProperties(int? backupIntervalInMinutes = default(int?), int? backupRetentionIntervalInHours = default(int?), string backupStorageRedundancy = default(string))
{
BackupIntervalInMinutes = backupIntervalInMinutes;
BackupRetentionIntervalInHours = backupRetentionIntervalInHours;
+ BackupStorageRedundancy = backupStorageRedundancy;
CustomInit();
}
@@ -61,6 +65,13 @@ public PeriodicModeProperties()
[JsonProperty(PropertyName = "backupRetentionIntervalInHours")]
public int? BackupRetentionIntervalInHours { get; set; }
+ ///
+ /// Gets or sets enum to indicate type of backup residency. Possible
+ /// values include: 'Geo', 'Local', 'Zone'
+ ///
+ [JsonProperty(PropertyName = "backupStorageRedundancy")]
+ public string BackupStorageRedundancy { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PrivateEndpointConnection.cs
index 7254b3092afe9..38e264e775950 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PrivateEndpointConnection.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PrivateEndpointConnection.cs
@@ -32,12 +32,12 @@ public PrivateEndpointConnection()
///
/// Initializes a new instance of the PrivateEndpointConnection class.
///
- /// Fully qualified resource Id for the resource. Ex -
+ /// Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
/// The name of the resource
- /// The type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
/// Private endpoint which the connection
/// belongs to.
/// Connection State of
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ProxyResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ProxyResource.cs
index 319a022ba523e..083057f6bacb0 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ProxyResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ProxyResource.cs
@@ -13,9 +13,12 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using System.Linq;
///
- /// The resource model definition for a ARM proxy resource. It will have
- /// everything other than required location and tags
+ /// Proxy Resource
///
+ ///
+ /// The resource model definition for a Azure Resource Manager proxy
+ /// resource. It will not have tags and a location
+ ///
public partial class ProxyResource : Resource
{
///
@@ -29,12 +32,12 @@ public ProxyResource()
///
/// Initializes a new instance of the ProxyResource class.
///
- /// Fully qualified resource Id for the resource. Ex -
+ /// Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
/// The name of the resource
- /// The type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
public ProxyResource(string id = default(string), string name = default(string), string type = default(string))
: base(id, name, type)
{
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/Resource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/Resource.cs
index de53dc8b4ee7d..d1a2689174008 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/Resource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/Resource.cs
@@ -15,6 +15,13 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Resource
+ ///
+ ///
+ /// Common fields that are returned in the response for all Azure Resource
+ /// Manager resources
+ ///
public partial class Resource : IResource
{
///
@@ -28,12 +35,12 @@ public Resource()
///
/// Initializes a new instance of the Resource class.
///
- /// Fully qualified resource Id for the resource. Ex -
+ /// Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
/// The name of the resource
- /// The type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
public Resource(string id = default(string), string name = default(string), string type = default(string))
{
Id = id;
@@ -48,7 +55,7 @@ public Resource()
partial void CustomInit();
///
- /// Gets fully qualified resource Id for the resource. Ex -
+ /// Gets fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
///
[JsonProperty(PropertyName = "id")]
@@ -61,9 +68,9 @@ public Resource()
public string Name { get; private set; }
///
- /// Gets the type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// Gets the type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
///
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs
index 9efe484f10083..6b06cc51ff4d5 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
/// A Azure Cosmos DB restorable database account.
///
[Rest.Serialization.JsonTransformation]
- public partial class RestorableDatabaseAccountGetResult : ARMResourceProperties
+ public partial class RestorableDatabaseAccountGetResult
{
///
/// Initializes a new instance of the
@@ -36,12 +36,6 @@ public RestorableDatabaseAccountGetResult()
/// Initializes a new instance of the
/// RestorableDatabaseAccountGetResult class.
///
- /// The unique resource identifier of the ARM
- /// resource.
- /// The name of the ARM resource.
- /// The type of Azure resource.
- /// The location of the resource group to which
- /// the resource belongs.
/// The name of the global database
/// account
/// The creation time of the restorable
@@ -53,14 +47,23 @@ public RestorableDatabaseAccountGetResult()
/// 'Cassandra', 'Table', 'Sql', 'GremlinV2'
/// List of regions where the of the
/// database account can be restored from.
- public RestorableDatabaseAccountGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string accountName = default(string), System.DateTime? creationTime = default(System.DateTime?), System.DateTime? deletionTime = default(System.DateTime?), string apiType = default(string), IList restorableLocations = default(IList))
- : base(id, name, type, location, tags, identity)
+ /// The unique resource identifier of the ARM
+ /// resource.
+ /// The name of the ARM resource.
+ /// The type of Azure resource.
+ /// The location of the resource group to which
+ /// the resource belongs.
+ public RestorableDatabaseAccountGetResult(string accountName = default(string), System.DateTime? creationTime = default(System.DateTime?), System.DateTime? deletionTime = default(System.DateTime?), string apiType = default(string), IList restorableLocations = default(IList), string id = default(string), string name = default(string), string type = default(string), string location = default(string))
{
AccountName = accountName;
CreationTime = creationTime;
DeletionTime = deletionTime;
ApiType = apiType;
RestorableLocations = restorableLocations;
+ Id = id;
+ Name = name;
+ Type = type;
+ Location = location;
CustomInit();
}
@@ -104,5 +107,30 @@ public RestorableDatabaseAccountGetResult()
[JsonProperty(PropertyName = "properties.restorableLocations")]
public IList RestorableLocations { get; private set; }
+ ///
+ /// Gets the unique resource identifier of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the name of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets the type of Azure resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
+ ///
+ /// Gets or sets the location of the resource group to which the
+ /// resource belongs.
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; set; }
+
}
}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs
index 6774c46661b85..4b39c95048b5f 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs
@@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// An Azure Cosmos DB restorable MongoDB collection
+ /// An Azure Cosmos DB MongoDB collection event
///
[Rest.Serialization.JsonTransformation]
- public partial class RestorableMongodbCollectionGetResult : ARMResourceProperties
+ public partial class RestorableMongodbCollectionGetResult
{
///
/// Initializes a new instance of the
@@ -36,16 +34,18 @@ public RestorableMongodbCollectionGetResult()
/// Initializes a new instance of the
/// RestorableMongodbCollectionGetResult class.
///
- /// The unique resource identifier of the ARM
+ /// The resource of an Azure Cosmos DB MongoDB
+ /// collection event
+ /// The unique resource Identifier of the ARM
/// resource.
/// The name of the ARM resource.
/// The type of Azure resource.
- /// The location of the resource group to which
- /// the resource belongs.
- public RestorableMongodbCollectionGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableMongodbCollectionPropertiesResource resource = default(RestorableMongodbCollectionPropertiesResource))
- : base(id, name, type, location, tags, identity)
+ public RestorableMongodbCollectionGetResult(RestorableMongodbCollectionPropertiesResource resource = default(RestorableMongodbCollectionPropertiesResource), string id = default(string), string name = default(string), string type = default(string))
{
Resource = resource;
+ Id = id;
+ Name = name;
+ Type = type;
CustomInit();
}
@@ -55,9 +55,29 @@ public RestorableMongodbCollectionGetResult()
partial void CustomInit();
///
+ /// Gets or sets the resource of an Azure Cosmos DB MongoDB collection
+ /// event
///
[JsonProperty(PropertyName = "properties.resource")]
public RestorableMongodbCollectionPropertiesResource Resource { get; set; }
+ ///
+ /// Gets the unique resource Identifier of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the name of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets the type of Azure resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
}
}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs
index 108520ad86bc1..463b850ec05ef 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs
@@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// The resource of an Azure Cosmos DB MongoDB collection event
+ ///
public partial class RestorableMongodbCollectionPropertiesResource
{
///
@@ -33,12 +36,11 @@ public RestorableMongodbCollectionPropertiesResource()
/// The operation type of this collection
/// event. Possible values include: 'Create', 'Replace', 'Delete',
/// 'SystemOperation'
- /// The timestamp of this collection
- /// event.
- /// The name of this restorable MongoDB
+ /// The time when this collection event
+ /// happened.
+ /// The name of this MongoDB collection.
+ /// The resource ID of this MongoDB
/// collection.
- /// The resource Id of this restorable
- /// MongoDB collection.
public RestorableMongodbCollectionPropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string))
{
this._rid = _rid;
@@ -68,19 +70,19 @@ public RestorableMongodbCollectionPropertiesResource()
public string OperationType { get; private set; }
///
- /// Gets the timestamp of this collection event.
+ /// Gets the time when this collection event happened.
///
[JsonProperty(PropertyName = "eventTimestamp")]
public string EventTimestamp { get; private set; }
///
- /// Gets the name of this restorable MongoDB collection.
+ /// Gets the name of this MongoDB collection.
///
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; private set; }
///
- /// Gets the resource Id of this restorable MongoDB collection.
+ /// Gets the resource ID of this MongoDB collection.
///
[JsonProperty(PropertyName = "ownerResourceId")]
public string OwnerResourceId { get; private set; }
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs
index 760ea5c46940d..b002f0197c38f 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs
@@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// An Azure Cosmos DB restorable MongoDB database
+ /// An Azure Cosmos DB MongoDB database event
///
[Rest.Serialization.JsonTransformation]
- public partial class RestorableMongodbDatabaseGetResult : ARMResourceProperties
+ public partial class RestorableMongodbDatabaseGetResult
{
///
/// Initializes a new instance of the
@@ -36,16 +34,18 @@ public RestorableMongodbDatabaseGetResult()
/// Initializes a new instance of the
/// RestorableMongodbDatabaseGetResult class.
///
- /// The unique resource identifier of the ARM
+ /// The resource of an Azure Cosmos DB MongoDB
+ /// database event
+ /// The unique resource Identifier of the ARM
/// resource.
/// The name of the ARM resource.
/// The type of Azure resource.
- /// The location of the resource group to which
- /// the resource belongs.
- public RestorableMongodbDatabaseGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableMongodbDatabasePropertiesResource resource = default(RestorableMongodbDatabasePropertiesResource))
- : base(id, name, type, location, tags, identity)
+ public RestorableMongodbDatabaseGetResult(RestorableMongodbDatabasePropertiesResource resource = default(RestorableMongodbDatabasePropertiesResource), string id = default(string), string name = default(string), string type = default(string))
{
Resource = resource;
+ Id = id;
+ Name = name;
+ Type = type;
CustomInit();
}
@@ -55,9 +55,29 @@ public RestorableMongodbDatabaseGetResult()
partial void CustomInit();
///
+ /// Gets or sets the resource of an Azure Cosmos DB MongoDB database
+ /// event
///
[JsonProperty(PropertyName = "properties.resource")]
public RestorableMongodbDatabasePropertiesResource Resource { get; set; }
+ ///
+ /// Gets the unique resource Identifier of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the name of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets the type of Azure resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
}
}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs
index 5cab7c52743a3..7c06c8643d716 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs
@@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// The resource of an Azure Cosmos DB MongoDB database event
+ ///
public partial class RestorableMongodbDatabasePropertiesResource
{
///
@@ -33,12 +36,11 @@ public RestorableMongodbDatabasePropertiesResource()
/// The operation type of this database
/// event. Possible values include: 'Create', 'Replace', 'Delete',
/// 'SystemOperation'
- /// The timestamp of this database
- /// event.
- /// The name of this restorable MongoDB
+ /// The time when this database event
+ /// happened.
+ /// The name of this MongoDB database.
+ /// The resource ID of this MongoDB
/// database.
- /// The resource Id of this restorable
- /// MongoDB database.
public RestorableMongodbDatabasePropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string))
{
this._rid = _rid;
@@ -68,19 +70,19 @@ public RestorableMongodbDatabasePropertiesResource()
public string OperationType { get; private set; }
///
- /// Gets the timestamp of this database event.
+ /// Gets the time when this database event happened.
///
[JsonProperty(PropertyName = "eventTimestamp")]
public string EventTimestamp { get; private set; }
///
- /// Gets the name of this restorable MongoDB database.
+ /// Gets the name of this MongoDB database.
///
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; private set; }
///
- /// Gets the resource Id of this restorable MongoDB database.
+ /// Gets the resource ID of this MongoDB database.
///
[JsonProperty(PropertyName = "ownerResourceId")]
public string OwnerResourceId { get; private set; }
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs
index 067a23af95278..fa5bf9dc46d29 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs
@@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// An Azure Cosmos DB restorable SQL container
+ /// An Azure Cosmos DB SQL container event
///
[Rest.Serialization.JsonTransformation]
- public partial class RestorableSqlContainerGetResult : ARMResourceProperties
+ public partial class RestorableSqlContainerGetResult
{
///
/// Initializes a new instance of the RestorableSqlContainerGetResult
@@ -36,16 +34,18 @@ public RestorableSqlContainerGetResult()
/// Initializes a new instance of the RestorableSqlContainerGetResult
/// class.
///
- /// The unique resource identifier of the ARM
+ /// The resource of an Azure Cosmos DB SQL
+ /// container event
+ /// The unique resource Identifier of the ARM
/// resource.
/// The name of the ARM resource.
/// The type of Azure resource.
- /// The location of the resource group to which
- /// the resource belongs.
- public RestorableSqlContainerGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableSqlContainerPropertiesResource resource = default(RestorableSqlContainerPropertiesResource))
- : base(id, name, type, location, tags, identity)
+ public RestorableSqlContainerGetResult(RestorableSqlContainerPropertiesResource resource = default(RestorableSqlContainerPropertiesResource), string id = default(string), string name = default(string), string type = default(string))
{
Resource = resource;
+ Id = id;
+ Name = name;
+ Type = type;
CustomInit();
}
@@ -55,10 +55,29 @@ public RestorableSqlContainerGetResult()
partial void CustomInit();
///
+ /// Gets or sets the resource of an Azure Cosmos DB SQL container event
///
[JsonProperty(PropertyName = "properties.resource")]
public RestorableSqlContainerPropertiesResource Resource { get; set; }
+ ///
+ /// Gets the unique resource Identifier of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the name of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets the type of Azure resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
///
/// Validate the object.
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs
index b405645a9f447..511fea7331afa 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs
@@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// The resource of an Azure Cosmos DB SQL container event
+ ///
public partial class RestorableSqlContainerPropertiesResource
{
///
@@ -33,12 +36,13 @@ public RestorableSqlContainerPropertiesResource()
/// The operation type of this container
/// event. Possible values include: 'Create', 'Replace', 'Delete',
/// 'SystemOperation'
- /// The timestamp of this container
- /// event.
- /// The name of this restorable SQL
+ /// The when this container event
+ /// happened.
+ /// The name of this SQL container.
+ /// The resource ID of this SQL
/// container.
- /// The resource Id of this restorable
- /// SQL container.
+ /// Cosmos DB SQL container resource
+ /// object
public RestorableSqlContainerPropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string), RestorableSqlContainerPropertiesResourceContainer container = default(RestorableSqlContainerPropertiesResourceContainer))
{
this._rid = _rid;
@@ -69,24 +73,25 @@ public RestorableSqlContainerPropertiesResource()
public string OperationType { get; private set; }
///
- /// Gets the timestamp of this container event.
+ /// Gets the when this container event happened.
///
[JsonProperty(PropertyName = "eventTimestamp")]
public string EventTimestamp { get; private set; }
///
- /// Gets the name of this restorable SQL container.
+ /// Gets the name of this SQL container.
///
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; private set; }
///
- /// Gets the resource Id of this restorable SQL container.
+ /// Gets the resource ID of this SQL container.
///
[JsonProperty(PropertyName = "ownerResourceId")]
public string OwnerResourceId { get; private set; }
///
+ /// Gets or sets cosmos DB SQL container resource object
///
[JsonProperty(PropertyName = "container")]
public RestorableSqlContainerPropertiesResourceContainer Container { get; set; }
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
index 4834cd3cdd62f..a8cdff6a7e69f 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs
@@ -14,6 +14,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Cosmos DB SQL container resource object
+ ///
public partial class RestorableSqlContainerPropertiesResourceContainer
{
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs
index d908d57f9020e..b9b9a715c3812 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs
@@ -13,15 +13,13 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// An Azure Cosmos DB restorable SQL database
+ /// An Azure Cosmos DB SQL database event
///
[Rest.Serialization.JsonTransformation]
- public partial class RestorableSqlDatabaseGetResult : ARMResourceProperties
+ public partial class RestorableSqlDatabaseGetResult
{
///
/// Initializes a new instance of the RestorableSqlDatabaseGetResult
@@ -36,16 +34,18 @@ public RestorableSqlDatabaseGetResult()
/// Initializes a new instance of the RestorableSqlDatabaseGetResult
/// class.
///
- /// The unique resource identifier of the ARM
+ /// The resource of an Azure Cosmos DB SQL
+ /// database event
+ /// The unique resource Identifier of the ARM
/// resource.
/// The name of the ARM resource.
/// The type of Azure resource.
- /// The location of the resource group to which
- /// the resource belongs.
- public RestorableSqlDatabaseGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableSqlDatabasePropertiesResource resource = default(RestorableSqlDatabasePropertiesResource))
- : base(id, name, type, location, tags, identity)
+ public RestorableSqlDatabaseGetResult(RestorableSqlDatabasePropertiesResource resource = default(RestorableSqlDatabasePropertiesResource), string id = default(string), string name = default(string), string type = default(string))
{
Resource = resource;
+ Id = id;
+ Name = name;
+ Type = type;
CustomInit();
}
@@ -55,10 +55,29 @@ public RestorableSqlDatabaseGetResult()
partial void CustomInit();
///
+ /// Gets or sets the resource of an Azure Cosmos DB SQL database event
///
[JsonProperty(PropertyName = "properties.resource")]
public RestorableSqlDatabasePropertiesResource Resource { get; set; }
+ ///
+ /// Gets the unique resource Identifier of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the name of the ARM resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets the type of Azure resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
///
/// Validate the object.
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs
index f17f8a0de2357..ba9bbcbdb6f95 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs
@@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// The resource of an Azure Cosmos DB SQL database event
+ ///
public partial class RestorableSqlDatabasePropertiesResource
{
///
@@ -33,12 +36,13 @@ public RestorableSqlDatabasePropertiesResource()
/// The operation type of this database
/// event. Possible values include: 'Create', 'Replace', 'Delete',
/// 'SystemOperation'
- /// The timestamp of this database
- /// event.
- /// The name of this restorable SQL
+ /// The time when this database event
+ /// happened.
+ /// The name of the SQL database.
+ /// The resource ID of the SQL
/// database.
- /// The resource Id of this restorable
- /// SQL database.
+ /// Cosmos DB SQL database resource
+ /// object
public RestorableSqlDatabasePropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string), RestorableSqlDatabasePropertiesResourceDatabase database = default(RestorableSqlDatabasePropertiesResourceDatabase))
{
this._rid = _rid;
@@ -69,24 +73,25 @@ public RestorableSqlDatabasePropertiesResource()
public string OperationType { get; private set; }
///
- /// Gets the timestamp of this database event.
+ /// Gets the time when this database event happened.
///
[JsonProperty(PropertyName = "eventTimestamp")]
public string EventTimestamp { get; private set; }
///
- /// Gets the name of this restorable SQL database.
+ /// Gets the name of the SQL database.
///
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; private set; }
///
- /// Gets the resource Id of this restorable SQL database.
+ /// Gets the resource ID of the SQL database.
///
[JsonProperty(PropertyName = "ownerResourceId")]
public string OwnerResourceId { get; private set; }
///
+ /// Gets or sets cosmos DB SQL database resource object
///
[JsonProperty(PropertyName = "database")]
public RestorableSqlDatabasePropertiesResourceDatabase Database { get; set; }
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs
index 4ec21dbb2c4a6..b3f0a5c0ac111 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs
@@ -14,6 +14,9 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Cosmos DB SQL database resource object
+ ///
public partial class RestorableSqlDatabasePropertiesResourceDatabase
{
///
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/TrackedResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/TrackedResource.cs
index 9d7d1a6780ae9..162a29531846a 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/TrackedResource.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/TrackedResource.cs
@@ -17,8 +17,12 @@ namespace Microsoft.Azure.Management.CosmosDB.Models
using System.Linq;
///
- /// The resource model definition for a ARM tracked top level resource
+ /// Tracked Resource
///
+ ///
+ /// The resource model definition for an Azure Resource Manager tracked top
+ /// level resource which has 'tags' and a 'location'
+ ///
public partial class TrackedResource : Resource
{
///
@@ -34,12 +38,12 @@ public TrackedResource()
///
/// The geo-location where the resource
/// lives
- /// Fully qualified resource Id for the resource. Ex -
+ /// Fully qualified resource ID for the resource. Ex -
/// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
/// The name of the resource
- /// The type of the resource. Ex-
- /// Microsoft.Compute/virtualMachines or
- /// Microsoft.Storage/storageAccounts.
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
/// Resource tags.
public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary))
: base(id, name, type)
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs
index 019fbf34b4659..d9a2b9026ea72 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs
@@ -1861,7 +1861,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1870,10 +1869,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2103,7 +2098,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2112,10 +2106,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2349,8 +2339,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2359,10 +2347,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2622,8 +2606,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2632,10 +2614,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -2874,7 +2852,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -2883,10 +2860,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -3129,7 +3102,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -3138,10 +3110,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs
index f1ca1a39b2c51..c705a8031dc2f 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs
@@ -52,7 +52,9 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription and in a region.
+ /// the subscription and in a region. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -63,7 +65,7 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -178,13 +180,14 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -194,6 +197,10 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -240,7 +247,9 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription.
+ /// the subscription. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// Headers that will be added to request.
@@ -248,7 +257,7 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -357,13 +366,14 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -373,6 +383,10 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -419,7 +433,9 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// Retrieves the properties of an existing Azure Cosmos DB restorable database
- /// account.
+ /// account. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -433,7 +449,7 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -554,13 +570,14 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -570,6 +587,10 @@ internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs
index 162402666d7c3..3de1f9e51ec1b 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs
@@ -25,7 +25,9 @@ public static partial class RestorableDatabaseAccountsOperationsExtensions
{
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription and in a region.
+ /// the subscription and in a region. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -40,7 +42,9 @@ public static IEnumerable ListByLocation(thi
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription and in a region.
+ /// the subscription and in a region. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -61,7 +65,9 @@ public static IEnumerable ListByLocation(thi
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription.
+ /// the subscription. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -73,7 +79,9 @@ public static IEnumerable List(this IRestora
///
/// Lists all the restorable Azure Cosmos DB database accounts available under
- /// the subscription.
+ /// the subscription. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -91,7 +99,9 @@ public static IEnumerable List(this IRestora
///
/// Retrieves the properties of an existing Azure Cosmos DB restorable database
- /// account.
+ /// account. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -109,7 +119,9 @@ public static RestorableDatabaseAccountGetResult GetByLocation(this IRestorableD
///
/// Retrieves the properties of an existing Azure Cosmos DB restorable database
- /// account.
+ /// account. This call requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*'
+ /// permission.
///
///
/// The operations group for this extension method.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs
index 855fb381f3971..8479f4634b1ce 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs
@@ -51,8 +51,11 @@ internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB MongoDB collection available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB collections under a specific database. This helps in scenario
+ /// where container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -61,7 +64,7 @@ internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client)
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable Mongo database.
+ /// The resource ID of the MongoDB database.
///
///
/// Headers that will be added to request.
@@ -69,7 +72,7 @@ internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -195,13 +198,14 @@ internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -211,6 +215,10 @@ internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs
index 9e0fda593a686..8e9c51f55ecb4 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs
@@ -24,8 +24,11 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableMongodbCollectionsOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB collection available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB collections under a specific database. This helps in scenario
+ /// where container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -37,7 +40,7 @@ public static partial class RestorableMongodbCollectionsOperationsExtensions
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable Mongo database.
+ /// The resource ID of the MongoDB database.
///
public static IEnumerable List(this IRestorableMongodbCollectionsOperations operations, string location, string instanceId, string restorableMongodbDatabaseRid = default(string))
{
@@ -45,8 +48,11 @@ public static partial class RestorableMongodbCollectionsOperationsExtensions
}
///
- /// Lists all the restorable Azure Cosmos DB MongoDB collection available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB collections under a specific database. This helps in scenario
+ /// where container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -58,7 +64,7 @@ public static partial class RestorableMongodbCollectionsOperationsExtensions
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable Mongo database.
+ /// The resource ID of the MongoDB database.
///
///
/// The cancellation token.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs
index bdee3516395b8..aa8972b60f197 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs
@@ -51,8 +51,12 @@ internal RestorableMongodbDatabasesOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB MongoDB databases available under
- /// the restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB databases under the restorable account. This helps in scenario
+ /// where database was accidentally deleted to get the deletion time. This API
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -66,7 +70,7 @@ internal RestorableMongodbDatabasesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -187,13 +191,14 @@ internal RestorableMongodbDatabasesOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -203,6 +208,10 @@ internal RestorableMongodbDatabasesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs
index 0532d6c73cbd9..7fb82b98dab58 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs
@@ -24,8 +24,12 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableMongodbDatabasesOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB databases available under
- /// the restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB databases under the restorable account. This helps in scenario
+ /// where database was accidentally deleted to get the deletion time. This API
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -42,8 +46,12 @@ public static IEnumerable List(this IRestora
}
///
- /// Lists all the restorable Azure Cosmos DB MongoDB databases available under
- /// the restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB
+ /// MongoDB databases under the restorable account. This helps in scenario
+ /// where database was accidentally deleted to get the deletion time. This API
+ /// requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs
index 594571e422901..ecaf2dc5a0fd2 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs
@@ -51,8 +51,11 @@ internal RestorableMongodbResourcesOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB MongoDB resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and collection combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -72,7 +75,7 @@ internal RestorableMongodbResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -203,13 +206,14 @@ internal RestorableMongodbResourcesOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -219,6 +223,10 @@ internal RestorableMongodbResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs
index a682fa301fe4f..8c45973612fcd 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs
@@ -24,8 +24,11 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableMongodbResourcesOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB MongoDB resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and collection combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -48,8 +51,11 @@ public static partial class RestorableMongodbResourcesOperationsExtensions
}
///
- /// Lists all the restorable Azure Cosmos DB MongoDB resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and collection combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// The operations group for this extension method.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs
index 71e37ae843b01..cf6963f0a3b86 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs
@@ -51,8 +51,11 @@ internal RestorableSqlContainersOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB SQL containers available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// containers under a specific database. This helps in scenario where
+ /// container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -61,7 +64,7 @@ internal RestorableSqlContainersOperations(CosmosDBManagementClient client)
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable SQL database.
+ /// The resource ID of the SQL database.
///
///
/// Headers that will be added to request.
@@ -69,7 +72,7 @@ internal RestorableSqlContainersOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -195,13 +198,14 @@ internal RestorableSqlContainersOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -211,6 +215,10 @@ internal RestorableSqlContainersOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs
index 9858026169395..1c0ca5210b864 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs
@@ -24,8 +24,11 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableSqlContainersOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB SQL containers available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// containers under a specific database. This helps in scenario where
+ /// container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -37,7 +40,7 @@ public static partial class RestorableSqlContainersOperationsExtensions
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable SQL database.
+ /// The resource ID of the SQL database.
///
public static IEnumerable List(this IRestorableSqlContainersOperations operations, string location, string instanceId, string restorableSqlDatabaseRid = default(string))
{
@@ -45,8 +48,11 @@ public static partial class RestorableSqlContainersOperationsExtensions
}
///
- /// Lists all the restorable Azure Cosmos DB SQL containers available for a
- /// specific database.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// containers under a specific database. This helps in scenario where
+ /// container was accidentally deleted. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -58,7 +64,7 @@ public static partial class RestorableSqlContainersOperationsExtensions
/// The instanceId GUID of a restorable database account.
///
///
- /// The resource id of the restorable SQL database.
+ /// The resource ID of the SQL database.
///
///
/// The cancellation token.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs
index a79ee06f9ddc2..79d4ae25b6678 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs
@@ -51,8 +51,11 @@ internal RestorableSqlDatabasesOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB SQL databases available under the
- /// restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// databases under the restorable account. This helps in scenario where
+ /// database was accidentally deleted to get the deletion time. This API
+ /// requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -66,7 +69,7 @@ internal RestorableSqlDatabasesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -187,13 +190,14 @@ internal RestorableSqlDatabasesOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -203,6 +207,10 @@ internal RestorableSqlDatabasesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs
index d76af265dbf09..fa2aa0ec5ff48 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs
@@ -24,8 +24,11 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableSqlDatabasesOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB SQL databases available under the
- /// restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// databases under the restorable account. This helps in scenario where
+ /// database was accidentally deleted to get the deletion time. This API
+ /// requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
@@ -42,8 +45,11 @@ public static IEnumerable List(this IRestorableS
}
///
- /// Lists all the restorable Azure Cosmos DB SQL databases available under the
- /// restorable account.
+ /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL
+ /// databases under the restorable account. This helps in scenario where
+ /// database was accidentally deleted to get the deletion time. This API
+ /// requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission
///
///
/// The operations group for this extension method.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs
index d1bb07ac9a69d..85b68822e1469 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs
@@ -51,8 +51,11 @@ internal RestorableSqlResourcesOperations(CosmosDBManagementClient client)
public CosmosDBManagementClient Client { get; private set; }
///
- /// Lists all the restorable Azure Cosmos DB SQL resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and container combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// Cosmos DB region, with spaces between words and each word capitalized.
@@ -72,7 +75,7 @@ internal RestorableSqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -203,13 +206,14 @@ internal RestorableSqlResourcesOperations(CosmosDBManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -219,6 +223,10 @@ internal RestorableSqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs
index 59e5831966790..1a2a575e6799d 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs
@@ -24,8 +24,11 @@ namespace Microsoft.Azure.Management.CosmosDB
public static partial class RestorableSqlResourcesOperationsExtensions
{
///
- /// Lists all the restorable Azure Cosmos DB SQL resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and container combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// The operations group for this extension method.
@@ -48,8 +51,11 @@ public static partial class RestorableSqlResourcesOperationsExtensions
}
///
- /// Lists all the restorable Azure Cosmos DB SQL resources available for a
- /// specific database account at a given time and location.
+ /// Return a list of database and container combo that exist on the account at
+ /// the given timestamp and location. This helps in scenarios to validate what
+ /// resources exist at given timestamp and location. This API requires
+ /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/*/read'
+ /// permission.
///
///
/// The operations group for this extension method.
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs
index 10b0892758e71..7535edd0e8186 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs
@@ -50,5 +50,16 @@ public static IEnumerable> ApiInfo_CosmosDBManagem
}.AsEnumerable();
}
}
+ // BEGIN: Code Generation Metadata Section
+ public static readonly String AutoRestVersion = "v2";
+ public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2020-06-preview --csharp-sdks-folder=D:\\azure-sdk-for-net-nichatur\\sdk";
+ public static readonly String GithubForkName = "Azure";
+ public static readonly String GithubBranchName = "master";
+ public static readonly String GithubCommidId = "0d32cdfc7fae7d13fe02800c277e2e66ad86cfa9";
+ public static readonly String CodeGenerationErrors = "";
+ public static readonly String GithubRepoName = "azure-rest-api-specs";
+ // END: Code Generation Metadata Section
}
}
+
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs
index b2b3d4c79b9f9..59c8a6d4b57d9 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs
@@ -3414,7 +3414,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -3561,7 +3561,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -3570,19 +3569,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode == 200)
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -3592,6 +3588,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -3704,7 +3704,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -3845,7 +3845,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -3854,19 +3853,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode == 200)
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -3876,6 +3872,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -3939,7 +3939,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -4086,7 +4086,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -4095,19 +4094,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode == 200)
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -4117,6 +4113,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -4229,7 +4229,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -4370,7 +4370,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -4379,19 +4378,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode == 200)
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -4401,6 +4397,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -4628,8 +4628,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -4638,10 +4636,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -4871,7 +4865,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -4880,10 +4873,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -5117,7 +5106,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -5126,10 +5114,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -5388,7 +5372,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
{
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
- System.Uri _originRequestUri = _httpRequest.RequestUri;
cancellationToken.ThrowIfCancellationRequested();
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
@@ -5398,10 +5381,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -5640,7 +5619,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -5649,10 +5627,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -5895,7 +5869,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -5904,10 +5877,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -6176,7 +6145,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -6185,10 +6153,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -6436,7 +6400,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -6445,10 +6408,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -6699,7 +6658,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -6708,10 +6666,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -6959,7 +6913,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -6968,10 +6921,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -7222,7 +7171,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -7231,10 +7179,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -7482,7 +7426,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -7491,10 +7434,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -7565,7 +7504,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -7723,7 +7662,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -7732,19 +7670,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -7754,6 +7689,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -7816,7 +7755,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -7960,7 +7899,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -7969,19 +7907,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -7991,6 +7926,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -8038,7 +7977,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -8196,7 +8135,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -8205,19 +8143,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -8227,6 +8162,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
@@ -8289,7 +8228,7 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -8433,7 +8372,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -8442,19 +8380,16 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new DefaultErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- DefaultErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
+ ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -8464,6 +8399,10 @@ internal SqlResourcesOperations(CosmosDBManagementClient client)
}
ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
if (_shouldTrace)
{
ServiceClientTracing.Error(_invocationId, ex);
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs
index 92c4a3a684fb2..42a4d30e795f4 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs
@@ -1027,8 +1027,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
-
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1037,10 +1035,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -1270,7 +1264,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1279,10 +1272,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 202 && (int)_statusCode != 204))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
@@ -1515,7 +1504,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
}
cancellationToken.ThrowIfCancellationRequested();
- System.Uri _originRequestUri = _httpRequest.RequestUri;
_httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
if (_shouldTrace)
{
@@ -1524,10 +1512,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if (!((int)_statusCode != 200 && (int)_statusCode != 202))
- {
- _httpRequest.RequestUri = _originRequestUri;
- }
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj
index 13d3fa8a95e5f..0d834f1828f75 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj
@@ -6,18 +6,12 @@
Microsoft.Azure.Management.CosmosDB
Provides developers with libraries for the CosmosDB under Azure Resource manager to manage CosmosDB Account, Databases and child resources and their available management capabilities. Create, Delete, Update CosmosDB Account, Databases and child resources. Note: This client library is for CosmosDB under Azure Resource Manager.
- 1.4.0-preview
+ 1.4.1-preview
Microsoft.Azure.Management.CosmosDB
management;cosmosdb;
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs
index 3f1aac4753832..b143293eabbdf 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs
@@ -7,8 +7,8 @@
[assembly: AssemblyTitle("Microsoft Azure CosmosDB Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure CosmosDB Resources.")]
-[assembly: AssemblyVersion("1.3.3.0")]
-[assembly: AssemblyFileVersion("1.3.3.0")]
+[assembly: AssemblyVersion("1.4.1.0")]
+[assembly: AssemblyFileVersion("1.4.1.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs
index 19b474950f2c4..aa49bceae2254 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs
@@ -11,6 +11,9 @@
namespace CosmosDB.Tests.ScenarioTests
{
+ using System;
+ using Microsoft.Rest.Azure;
+
public class SqlResourcesOperationsTests
{
const string location = "EAST US 2";
@@ -29,6 +32,7 @@ public class SqlResourcesOperationsTests
readonly string roleDefinitionId = "70580ac3-cd0b-4549-8336-2f0d55df111e";
readonly string roleDefinitionId2 = "fbf74201-f33f-46f0-8234-2b8bf15ecec4";
+ readonly string roleDefinitionId3 = "a5d92de7-1c34-481e-aafa-44f5cb03744c";
readonly string roleAssignmentId = "adcb35e1-e104-41c2-b76d-70a8b03e6463";
readonly string roleAssignmentId2 = "d5fcc566-a91c-4fce-8f54-138855981e63";
const string principalId = "ed4c2395-a18c-4018-afb3-6e521e7534d2";
@@ -67,7 +71,7 @@ public void SqlCRUDTests()
Location = location,
Kind = DatabaseAccountKind.GlobalDocumentDB,
Properties = new DefaultRequestDatabaseAccountCreateUpdateProperties
- {
+ {
Locations = new List()
{ new Location(locationName: location) }
}
@@ -118,7 +122,7 @@ public void SqlCRUDTests()
SqlContainerCreateUpdateParameters sqlContainerCreateUpdateParameters = new SqlContainerCreateUpdateParameters
{
- Resource = new SqlContainerResource {
+ Resource = new SqlContainerResource {
Id = containerName,
PartitionKey = new ContainerPartitionKey
{
@@ -406,6 +410,37 @@ public void SqlRoleTests()
{
cosmosDBManagementClient.SqlResources.DeleteSqlRoleDefinitionWithHttpMessagesAsync(sqlRoleDefinition.Name, resourceGroupName, databaseAccountName2).GetAwaiter().GetResult();
}
+
+ const string InvalidActionName = "invalid-action-name";
+
+ SqlRoleDefinitionCreateUpdateParameters sqlRoleDefinitionCreateUpdateParameters4 = new SqlRoleDefinitionCreateUpdateParameters
+ {
+ RoleName = "roleName4",
+ Type = RoleDefinitionType.CustomRole,
+ AssignableScopes = new List
+ {
+ string.Format("/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.DocumentDB/databaseAccounts/{2}", cosmosDBManagementClient.SubscriptionId, resourceGroupName, databaseAccountName)
+ },
+ Permissions = new List
+ {
+ new Permission
+ {
+ DataActions = new List
+ {
+ InvalidActionName,
+ "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete",
+ "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace"
+ }
+ }
+ }
+ };
+
+ Exception exception =
+ Assert.ThrowsAnyAsync(() =>
+ cosmosDBManagementClient.SqlResources.CreateUpdateSqlRoleDefinitionWithHttpMessagesAsync(roleDefinitionId3, resourceGroupName, databaseAccountName, sqlRoleDefinitionCreateUpdateParameters4))
+ .GetAwaiter().GetResult();
+
+ Assert.Contains(InvalidActionName, exception.Message);
}
}
diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json
index c453242a868ba..91f649ca447ef 100644
--- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json
+++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json
@@ -7,16 +7,16 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ]\r\n }\r\n ]\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "6d58beb7-c058-4d8b-bc8d-249eb4973afd"
+ "b8be9d43-87d7-4673-b790-dd3efd62fdc8"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,13 +33,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/4e8f6719-f175-4cce-964a-2427836ff606?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/89fa2ed2-9c5d-43c0-b4c3-46fd7e7b69c2?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4e8f6719-f175-4cce-964a-2427836ff606?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/89fa2ed2-9c5d-43c0-b4c3-46fd7e7b69c2?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "4e8f6719-f175-4cce-964a-2427836ff606"
+ "89fa2ed2-9c5d-43c0-b4c3-46fd7e7b69c2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -54,16 +54,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "566b38e0-7d78-4259-9c08-0c860c2b98a8"
+ "3fb3b7d4-c0f1-4e08-9bb6-055c2e888390"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025418Z:566b38e0-7d78-4259-9c08-0c860c2b98a8"
+ "WESTCENTRALUS:20210203T214445Z:3fb3b7d4-c0f1-4e08-9bb6-055c2e888390"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:54:18 GMT"
+ "Wed, 03 Feb 2021 21:44:44 GMT"
],
"Content-Length": [
"21"
@@ -82,16 +82,16 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db9934\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "895d22eb-f58c-4e46-9c91-3a2d02c6457c"
+ "03b0dc89-703c-4ec0-bc7e-05dbeaff5b9a"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -108,13 +108,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/eefcb249-0084-4670-9a6e-e81b41522dc5?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/7d808bf3-1338-4bf7-88e9-aa4592273323?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/eefcb249-0084-4670-9a6e-e81b41522dc5?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/7d808bf3-1338-4bf7-88e9-aa4592273323?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "eefcb249-0084-4670-9a6e-e81b41522dc5"
+ "7d808bf3-1338-4bf7-88e9-aa4592273323"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -129,16 +129,16 @@
"1197"
],
"x-ms-correlation-request-id": [
- "00d441b4-af11-46aa-a658-c788c7ed8837"
+ "a4fdf8c9-4aa9-475f-af75-7a0243036a33"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025521Z:00d441b4-af11-46aa-a658-c788c7ed8837"
+ "WESTCENTRALUS:20210203T214548Z:a4fdf8c9-4aa9-475f-af75-7a0243036a33"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:21 GMT"
+ "Wed, 03 Feb 2021 21:45:48 GMT"
],
"Content-Length": [
"21"
@@ -151,16 +151,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4e8f6719-f175-4cce-964a-2427836ff606?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzRlOGY2NzE5LWYxNzUtNGNjZS05NjRhLTI0Mjc4MzZmZjYwNj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/89fa2ed2-9c5d-43c0-b4c3-46fd7e7b69c2?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzg5ZmEyZWQyLTljNWQtNDNjMC1iNGMzLTQ2ZmQ3ZTdiNjljMj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -183,19 +183,19 @@
"11999"
],
"x-ms-request-id": [
- "e6c98afc-6046-4c0d-8d9a-550d65e4f950"
+ "ac249433-0910-4ac4-85ba-45150a2ca714"
],
"x-ms-correlation-request-id": [
- "e6c98afc-6046-4c0d-8d9a-550d65e4f950"
+ "ac249433-0910-4ac4-85ba-45150a2ca714"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025449Z:e6c98afc-6046-4c0d-8d9a-550d65e4f950"
+ "WESTCENTRALUS:20210203T214515Z:ac249433-0910-4ac4-85ba-45150a2ca714"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:54:48 GMT"
+ "Wed, 03 Feb 2021 21:45:15 GMT"
],
"Content-Length": [
"22"
@@ -214,10 +214,10 @@
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -240,19 +240,19 @@
"11998"
],
"x-ms-request-id": [
- "e8f8a6be-3b97-47c5-a901-8fa324f20cff"
+ "c951a6b2-515c-4d4f-8330-f64129a7d5c4"
],
"x-ms-correlation-request-id": [
- "e8f8a6be-3b97-47c5-a901-8fa324f20cff"
+ "c951a6b2-515c-4d4f-8330-f64129a7d5c4"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025449Z:e8f8a6be-3b97-47c5-a901-8fa324f20cff"
+ "WESTCENTRALUS:20210203T214515Z:c951a6b2-515c-4d4f-8330-f64129a7d5c4"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:54:48 GMT"
+ "Wed, 03 Feb 2021 21:45:15 GMT"
],
"Content-Length": [
"743"
@@ -271,16 +271,16 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "06c6afb4-84e5-49cc-a960-8396b202f786"
+ "38275618-98c5-4c83-94b8-969c7b9071cf"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -303,19 +303,19 @@
"11997"
],
"x-ms-request-id": [
- "c6a24fcd-98ab-46cb-a25e-4f72406860c0"
+ "5239e7e5-2a5d-436f-9f2c-34a026a519de"
],
"x-ms-correlation-request-id": [
- "c6a24fcd-98ab-46cb-a25e-4f72406860c0"
+ "5239e7e5-2a5d-436f-9f2c-34a026a519de"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025449Z:c6a24fcd-98ab-46cb-a25e-4f72406860c0"
+ "WESTCENTRALUS:20210203T214516Z:5239e7e5-2a5d-436f-9f2c-34a026a519de"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:54:49 GMT"
+ "Wed, 03 Feb 2021 21:45:15 GMT"
],
"Content-Length": [
"743"
@@ -334,10 +334,10 @@
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -360,19 +360,19 @@
"11993"
],
"x-ms-request-id": [
- "e1d98f40-faf6-488e-84a9-30cfc4d69a00"
+ "8d9bd8c1-4581-4ee8-98a7-534290f921ea"
],
"x-ms-correlation-request-id": [
- "e1d98f40-faf6-488e-84a9-30cfc4d69a00"
+ "8d9bd8c1-4581-4ee8-98a7-534290f921ea"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025552Z:e1d98f40-faf6-488e-84a9-30cfc4d69a00"
+ "WESTCENTRALUS:20210203T214619Z:8d9bd8c1-4581-4ee8-98a7-534290f921ea"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:51 GMT"
+ "Wed, 03 Feb 2021 21:46:18 GMT"
],
"Content-Length": [
"824"
@@ -391,16 +391,16 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b1a9476f-42c2-46df-aa47-748d5f1ae818"
+ "965908e2-1b95-415d-959f-5906bf12e399"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -417,13 +417,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/e77284d4-756c-4ba4-a2df-563b212e6f61?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/de6ab6fb-1ffb-42e8-ab17-05016d0c6aef?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e77284d4-756c-4ba4-a2df-563b212e6f61?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/de6ab6fb-1ffb-42e8-ab17-05016d0c6aef?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "e77284d4-756c-4ba4-a2df-563b212e6f61"
+ "de6ab6fb-1ffb-42e8-ab17-05016d0c6aef"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -438,16 +438,16 @@
"1198"
],
"x-ms-correlation-request-id": [
- "08ca564f-cd05-4deb-bb1d-9abe37de3a4e"
+ "03575a84-81dc-4285-b88a-c73b350762d2"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025450Z:08ca564f-cd05-4deb-bb1d-9abe37de3a4e"
+ "WESTCENTRALUS:20210203T214517Z:03575a84-81dc-4285-b88a-c73b350762d2"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:54:49 GMT"
+ "Wed, 03 Feb 2021 21:45:17 GMT"
],
"Content-Length": [
"21"
@@ -460,16 +460,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e77284d4-756c-4ba4-a2df-563b212e6f61?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U3NzI4NGQ0LTc1NmMtNGJhNC1hMmRmLTU2M2IyMTJlNmY2MT9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/de6ab6fb-1ffb-42e8-ab17-05016d0c6aef?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2RlNmFiNmZiLTFmZmItNDJlOC1hYjE3LTA1MDE2ZDBjNmFlZj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -492,19 +492,19 @@
"11996"
],
"x-ms-request-id": [
- "52349069-6808-4a5c-bed9-87706b42c8b5"
+ "a2133d29-9b68-4236-afcf-f7fcbc7d6146"
],
"x-ms-correlation-request-id": [
- "52349069-6808-4a5c-bed9-87706b42c8b5"
+ "a2133d29-9b68-4236-afcf-f7fcbc7d6146"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025520Z:52349069-6808-4a5c-bed9-87706b42c8b5"
+ "WESTCENTRALUS:20210203T214547Z:a2133d29-9b68-4236-afcf-f7fcbc7d6146"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:20 GMT"
+ "Wed, 03 Feb 2021 21:45:46 GMT"
],
"Content-Length": [
"22"
@@ -523,10 +523,10 @@
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -549,19 +549,19 @@
"11995"
],
"x-ms-request-id": [
- "12cf320f-71b1-4d08-9d5f-8a25d22cdf0b"
+ "5c9653f9-6c1a-45d6-b38d-72d03152621c"
],
"x-ms-correlation-request-id": [
- "12cf320f-71b1-4d08-9d5f-8a25d22cdf0b"
+ "5c9653f9-6c1a-45d6-b38d-72d03152621c"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025520Z:12cf320f-71b1-4d08-9d5f-8a25d22cdf0b"
+ "WESTCENTRALUS:20210203T214547Z:5c9653f9-6c1a-45d6-b38d-72d03152621c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:20 GMT"
+ "Wed, 03 Feb 2021 21:45:47 GMT"
],
"Content-Length": [
"899"
@@ -574,16 +574,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/eefcb249-0084-4670-9a6e-e81b41522dc5?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2VlZmNiMjQ5LTAwODQtNDY3MC05YTZlLWU4MWI0MTUyMmRjNT9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/7d808bf3-1338-4bf7-88e9-aa4592273323?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzdkODA4YmYzLTEzMzgtNGJmNy04OGU5LWFhNDU5MjI3MzMyMz9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -606,19 +606,19 @@
"11994"
],
"x-ms-request-id": [
- "72ba92d4-807d-4a44-926e-ce7ad34e04db"
+ "09a30f17-bf2d-477d-b36a-9b560b5c1e58"
],
"x-ms-correlation-request-id": [
- "72ba92d4-807d-4a44-926e-ce7ad34e04db"
+ "09a30f17-bf2d-477d-b36a-9b560b5c1e58"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025551Z:72ba92d4-807d-4a44-926e-ce7ad34e04db"
+ "WESTCENTRALUS:20210203T214619Z:09a30f17-bf2d-477d-b36a-9b560b5c1e58"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:51 GMT"
+ "Wed, 03 Feb 2021 21:46:18 GMT"
],
"Content-Length": [
"22"
@@ -637,16 +637,16 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "51e5a800-97fd-4866-95fa-9f314128d97f"
+ "22da5b9b-6097-46b5-bebf-4751e5522bf1"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -669,19 +669,19 @@
"11992"
],
"x-ms-request-id": [
- "fb56c0d9-9333-460e-a415-fea532015b87"
+ "37e8c19e-7ec9-487e-a765-43f01df30ad0"
],
"x-ms-correlation-request-id": [
- "fb56c0d9-9333-460e-a415-fea532015b87"
+ "37e8c19e-7ec9-487e-a765-43f01df30ad0"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025552Z:fb56c0d9-9333-460e-a415-fea532015b87"
+ "WESTCENTRALUS:20210203T214619Z:37e8c19e-7ec9-487e-a765-43f01df30ad0"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:51 GMT"
+ "Wed, 03 Feb 2021 21:46:18 GMT"
],
"Content-Length": [
"1736"
@@ -690,7 +690,7 @@
"application/json"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
@@ -700,16 +700,16 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "62c2cf0d-b0a3-467a-a7d3-19e2a5a984ed"
+ "776ccfce-6467-4f21-abc8-87f914aa84b0"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -726,13 +726,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/5bf535dc-bd21-41e0-918b-93abef24eebe?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/578d47bb-5ba1-4738-b012-92c9c9d86ba2?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5bf535dc-bd21-41e0-918b-93abef24eebe?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/578d47bb-5ba1-4738-b012-92c9c9d86ba2?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "5bf535dc-bd21-41e0-918b-93abef24eebe"
+ "578d47bb-5ba1-4738-b012-92c9c9d86ba2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -747,16 +747,16 @@
"1196"
],
"x-ms-correlation-request-id": [
- "35c42403-54d7-4241-aca5-e1fdf71402a9"
+ "e64e91fa-a44c-4167-bf7f-d409d37a7a20"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025553Z:35c42403-54d7-4241-aca5-e1fdf71402a9"
+ "WESTCENTRALUS:20210203T214620Z:e64e91fa-a44c-4167-bf7f-d409d37a7a20"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:55:52 GMT"
+ "Wed, 03 Feb 2021 21:46:19 GMT"
],
"Content-Length": [
"21"
@@ -769,16 +769,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5bf535dc-bd21-41e0-918b-93abef24eebe?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzViZjUzNWRjLWJkMjEtNDFlMC05MThiLTkzYWJlZjI0ZWViZT9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/578d47bb-5ba1-4738-b012-92c9c9d86ba2?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzU3OGQ0N2JiLTViYTEtNDczOC1iMDEyLTkyYzljOWQ4NmJhMj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -801,19 +801,19 @@
"11991"
],
"x-ms-request-id": [
- "11bea376-50bc-4c8f-a9e5-5b30ce4b1c95"
+ "69e03c81-54ae-4c81-9007-9be8de39e6c6"
],
"x-ms-correlation-request-id": [
- "11bea376-50bc-4c8f-a9e5-5b30ce4b1c95"
+ "69e03c81-54ae-4c81-9007-9be8de39e6c6"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025623Z:11bea376-50bc-4c8f-a9e5-5b30ce4b1c95"
+ "WESTCENTRALUS:20210203T214650Z:69e03c81-54ae-4c81-9007-9be8de39e6c6"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:22 GMT"
+ "Wed, 03 Feb 2021 21:46:50 GMT"
],
"Content-Length": [
"22"
@@ -832,10 +832,10 @@
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -858,19 +858,19 @@
"11990"
],
"x-ms-request-id": [
- "2a4e92e1-80da-4bec-a75d-d42bb2ac53ad"
+ "a819e545-9bbd-424d-8d24-d8e56ea8a1a3"
],
"x-ms-correlation-request-id": [
- "2a4e92e1-80da-4bec-a75d-d42bb2ac53ad"
+ "a819e545-9bbd-424d-8d24-d8e56ea8a1a3"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025623Z:2a4e92e1-80da-4bec-a75d-d42bb2ac53ad"
+ "WESTCENTRALUS:20210203T214651Z:a819e545-9bbd-424d-8d24-d8e56ea8a1a3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:22 GMT"
+ "Wed, 03 Feb 2021 21:46:51 GMT"
],
"Content-Length": [
"786"
@@ -889,16 +889,16 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b1adba1d-9312-4869-93eb-fb37857c9cad"
+ "beff9bd4-0c71-4a26-9282-503c9572f36e"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -921,19 +921,19 @@
"11989"
],
"x-ms-request-id": [
- "b352adf4-2046-41b2-b1a2-73e453157e62"
+ "2b4e3a29-e743-461a-95cf-5cd41b68d69e"
],
"x-ms-correlation-request-id": [
- "b352adf4-2046-41b2-b1a2-73e453157e62"
+ "2b4e3a29-e743-461a-95cf-5cd41b68d69e"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025624Z:b352adf4-2046-41b2-b1a2-73e453157e62"
+ "WESTCENTRALUS:20210203T214651Z:2b4e3a29-e743-461a-95cf-5cd41b68d69e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:23 GMT"
+ "Wed, 03 Feb 2021 21:46:51 GMT"
],
"Content-Length": [
"786"
@@ -952,16 +952,16 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c395e7f2-fa14-4a15-a9d9-5f171e2a5763"
+ "f86fc540-de5e-4e05-845c-1794916bfe20"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -978,13 +978,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/77a39245-b579-4d54-934f-f5f358a5cd31?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/6c59ff9e-ce20-438e-83e6-eb4a48e2450a?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/77a39245-b579-4d54-934f-f5f358a5cd31?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6c59ff9e-ce20-438e-83e6-eb4a48e2450a?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "77a39245-b579-4d54-934f-f5f358a5cd31"
+ "6c59ff9e-ce20-438e-83e6-eb4a48e2450a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -999,16 +999,16 @@
"1195"
],
"x-ms-correlation-request-id": [
- "f9947f02-b2f9-47c2-974f-6bfdd1cab01b"
+ "c965350a-40a0-4bcf-b7ef-4f1d02fab4db"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025624Z:f9947f02-b2f9-47c2-974f-6bfdd1cab01b"
+ "WESTCENTRALUS:20210203T214652Z:c965350a-40a0-4bcf-b7ef-4f1d02fab4db"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:23 GMT"
+ "Wed, 03 Feb 2021 21:46:52 GMT"
],
"Content-Length": [
"21"
@@ -1021,16 +1021,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/77a39245-b579-4d54-934f-f5f358a5cd31?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzc3YTM5MjQ1LWI1NzktNGQ1NC05MzRmLWY1ZjM1OGE1Y2QzMT9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6c59ff9e-ce20-438e-83e6-eb4a48e2450a?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZjNTlmZjllLWNlMjAtNDM4ZS04M2U2LWViNGE0OGUyNDUwYT9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1053,19 +1053,19 @@
"11988"
],
"x-ms-request-id": [
- "c19947a1-d599-4b8c-ad7a-8326a83cf466"
+ "5f0c35e1-2117-4513-9aac-75ffd3062c94"
],
"x-ms-correlation-request-id": [
- "c19947a1-d599-4b8c-ad7a-8326a83cf466"
+ "5f0c35e1-2117-4513-9aac-75ffd3062c94"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025654Z:c19947a1-d599-4b8c-ad7a-8326a83cf466"
+ "WESTCENTRALUS:20210203T214722Z:5f0c35e1-2117-4513-9aac-75ffd3062c94"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:54 GMT"
+ "Wed, 03 Feb 2021 21:47:22 GMT"
],
"Content-Length": [
"22"
@@ -1084,10 +1084,10 @@
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1110,19 +1110,19 @@
"11987"
],
"x-ms-request-id": [
- "f5fcd9e6-3691-4410-91c3-b7b54b3baab2"
+ "3d78bc64-7b27-460c-af08-a53bfcf8f275"
],
"x-ms-correlation-request-id": [
- "f5fcd9e6-3691-4410-91c3-b7b54b3baab2"
+ "3d78bc64-7b27-460c-af08-a53bfcf8f275"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025655Z:f5fcd9e6-3691-4410-91c3-b7b54b3baab2"
+ "WESTCENTRALUS:20210203T214723Z:3d78bc64-7b27-460c-af08-a53bfcf8f275"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:54 GMT"
+ "Wed, 03 Feb 2021 21:47:22 GMT"
],
"Content-Length": [
"769"
@@ -1141,16 +1141,16 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "cb700157-35d3-4ab8-ad26-acf513a2af72"
+ "43e50d03-b451-49da-9abc-6ceebeb8a137"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1173,19 +1173,19 @@
"11986"
],
"x-ms-request-id": [
- "becf1baf-374c-4b3f-83c1-8a59838f6a71"
+ "5237bbd2-e460-4a78-b43d-d4817fa9678e"
],
"x-ms-correlation-request-id": [
- "becf1baf-374c-4b3f-83c1-8a59838f6a71"
+ "5237bbd2-e460-4a78-b43d-d4817fa9678e"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025655Z:becf1baf-374c-4b3f-83c1-8a59838f6a71"
+ "WESTCENTRALUS:20210203T214723Z:5237bbd2-e460-4a78-b43d-d4817fa9678e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:55 GMT"
+ "Wed, 03 Feb 2021 21:47:22 GMT"
],
"Content-Length": [
"1568"
@@ -1194,26 +1194,26 @@
"application/json"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e4bc132e-7642-4a8a-b54b-cea0d93c27e0"
+ "cb7dfb39-ecb4-401a-8367-bc9802c73f83"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1224,13 +1224,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/6cecb452-994a-4038-9be5-689923ded95f?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/5ef11c94-920e-40ce-b1e6-999caa06d02d?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cecb452-994a-4038-9be5-689923ded95f?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5ef11c94-920e-40ce-b1e6-999caa06d02d?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "6cecb452-994a-4038-9be5-689923ded95f"
+ "5ef11c94-920e-40ce-b1e6-999caa06d02d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1245,16 +1245,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "11f5d91e-4eb6-416d-a58e-2ca536064903"
+ "53c627a4-390a-455a-9534-3838003df121"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025656Z:11f5d91e-4eb6-416d-a58e-2ca536064903"
+ "WESTCENTRALUS:20210203T214724Z:53c627a4-390a-455a-9534-3838003df121"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:56:55 GMT"
+ "Wed, 03 Feb 2021 21:47:24 GMT"
],
"Content-Length": [
"21"
@@ -1267,16 +1267,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cecb452-994a-4038-9be5-689923ded95f?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZjZWNiNDUyLTk5NGEtNDAzOC05YmU1LTY4OTkyM2RlZDk1Zj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5ef11c94-920e-40ce-b1e6-999caa06d02d?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzVlZjExYzk0LTkyMGUtNDBjZS1iMWU2LTk5OWNhYTA2ZDAyZD9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1299,19 +1299,19 @@
"11985"
],
"x-ms-request-id": [
- "7235c0d6-784d-4e25-802a-e160e0260691"
+ "7127d97d-7fae-4a8a-aef0-0b903d8a660e"
],
"x-ms-correlation-request-id": [
- "7235c0d6-784d-4e25-802a-e160e0260691"
+ "7127d97d-7fae-4a8a-aef0-0b903d8a660e"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025726Z:7235c0d6-784d-4e25-802a-e160e0260691"
+ "WESTCENTRALUS:20210203T214754Z:7127d97d-7fae-4a8a-aef0-0b903d8a660e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:25 GMT"
+ "Wed, 03 Feb 2021 21:47:53 GMT"
],
"Content-Length": [
"22"
@@ -1324,16 +1324,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/6cecb452-994a-4038-9be5-689923ded95f?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzL29wZXJhdGlvblJlc3VsdHMvNmNlY2I0NTItOTk0YS00MDM4LTliZTUtNjg5OTIzZGVkOTVmP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/5ef11c94-920e-40ce-b1e6-999caa06d02d?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzL29wZXJhdGlvblJlc3VsdHMvNWVmMTFjOTQtOTIwZS00MGNlLWIxZTYtOTk5Y2FhMDZkMDJkP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1356,19 +1356,19 @@
"11984"
],
"x-ms-request-id": [
- "feb886c3-8d88-4e72-9562-48c55f0940c3"
+ "781578a2-d201-4043-96c3-38a7d8931842"
],
"x-ms-correlation-request-id": [
- "feb886c3-8d88-4e72-9562-48c55f0940c3"
+ "781578a2-d201-4043-96c3-38a7d8931842"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025726Z:feb886c3-8d88-4e72-9562-48c55f0940c3"
+ "WESTCENTRALUS:20210203T214754Z:781578a2-d201-4043-96c3-38a7d8931842"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:25 GMT"
+ "Wed, 03 Feb 2021 21:47:54 GMT"
],
"Content-Length": [
"22"
@@ -1381,22 +1381,22 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "7e9f98d3-e4f0-484a-881e-95078b52adae"
+ "1c7d9406-d68d-4849-8de4-2d52310c4910"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1407,13 +1407,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/4c8f2a5e-4c42-4184-853e-93c3e6e3a552?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/9301744d-07c6-4512-bcc4-ce64f68b63d2?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4c8f2a5e-4c42-4184-853e-93c3e6e3a552?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9301744d-07c6-4512-bcc4-ce64f68b63d2?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "4c8f2a5e-4c42-4184-853e-93c3e6e3a552"
+ "9301744d-07c6-4512-bcc4-ce64f68b63d2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1428,16 +1428,16 @@
"14998"
],
"x-ms-correlation-request-id": [
- "d92eb25c-98bb-4da4-83db-20cee0ee8a2b"
+ "77e24b96-cebe-421c-b821-01ea0daedb2e"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025727Z:d92eb25c-98bb-4da4-83db-20cee0ee8a2b"
+ "WESTCENTRALUS:20210203T214755Z:77e24b96-cebe-421c-b821-01ea0daedb2e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:26 GMT"
+ "Wed, 03 Feb 2021 21:47:55 GMT"
],
"Content-Length": [
"21"
@@ -1450,16 +1450,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4c8f2a5e-4c42-4184-853e-93c3e6e3a552?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzRjOGYyYTVlLTRjNDItNDE4NC04NTNlLTkzYzNlNmUzYTU1Mj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9301744d-07c6-4512-bcc4-ce64f68b63d2?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzkzMDE3NDRkLTA3YzYtNDUxMi1iY2M0LWNlNjRmNjhiNjNkMj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1482,19 +1482,19 @@
"11983"
],
"x-ms-request-id": [
- "c61121f5-12aa-4f9a-8f45-dbffd82b739f"
+ "57ac5377-1cee-4094-8019-3fbb89ce5b51"
],
"x-ms-correlation-request-id": [
- "c61121f5-12aa-4f9a-8f45-dbffd82b739f"
+ "57ac5377-1cee-4094-8019-3fbb89ce5b51"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025757Z:c61121f5-12aa-4f9a-8f45-dbffd82b739f"
+ "WESTCENTRALUS:20210203T214825Z:57ac5377-1cee-4094-8019-3fbb89ce5b51"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:57 GMT"
+ "Wed, 03 Feb 2021 21:48:24 GMT"
],
"Content-Length": [
"22"
@@ -1507,16 +1507,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/4c8f2a5e-4c42-4184-853e-93c3e6e3a552?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzL29wZXJhdGlvblJlc3VsdHMvNGM4ZjJhNWUtNGM0Mi00MTg0LTg1M2UtOTNjM2U2ZTNhNTUyP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/9301744d-07c6-4512-bcc4-ce64f68b63d2?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzL29wZXJhdGlvblJlc3VsdHMvOTMwMTc0NGQtMDdjNi00NTEyLWJjYzQtY2U2NGY2OGI2M2QyP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1539,19 +1539,19 @@
"11982"
],
"x-ms-request-id": [
- "80bb24cc-f201-4a24-9582-f4652071cafb"
+ "f6888cd6-cee5-4ada-bb0e-b07bf9095bff"
],
"x-ms-correlation-request-id": [
- "80bb24cc-f201-4a24-9582-f4652071cafb"
+ "f6888cd6-cee5-4ada-bb0e-b07bf9095bff"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025757Z:80bb24cc-f201-4a24-9582-f4652071cafb"
+ "WESTCENTRALUS:20210203T214826Z:f6888cd6-cee5-4ada-bb0e-b07bf9095bff"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:57 GMT"
+ "Wed, 03 Feb 2021 21:48:25 GMT"
],
"Content-Length": [
"22"
@@ -1564,22 +1564,22 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c971b6e7-8957-4006-8ab7-17da9ade5b6c"
+ "cefadb49-7744-4fbb-8166-5291768ff832"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1590,13 +1590,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/df189259-eb9b-40e1-b291-14b0532dab0f?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/35f8bb44-c1d4-478a-b939-37f5e33edc17?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/df189259-eb9b-40e1-b291-14b0532dab0f?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/35f8bb44-c1d4-478a-b939-37f5e33edc17?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "df189259-eb9b-40e1-b291-14b0532dab0f"
+ "35f8bb44-c1d4-478a-b939-37f5e33edc17"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1611,16 +1611,16 @@
"14997"
],
"x-ms-correlation-request-id": [
- "da853898-d2c9-4ade-9cb5-37b7b0562873"
+ "2137bf50-5fe2-456e-8c53-a5657b3b781d"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025758Z:da853898-d2c9-4ade-9cb5-37b7b0562873"
+ "WESTCENTRALUS:20210203T214827Z:2137bf50-5fe2-456e-8c53-a5657b3b781d"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:57:57 GMT"
+ "Wed, 03 Feb 2021 21:48:26 GMT"
],
"Content-Length": [
"21"
@@ -1633,16 +1633,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/df189259-eb9b-40e1-b291-14b0532dab0f?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2RmMTg5MjU5LWViOWItNDBlMS1iMjkxLTE0YjA1MzJkYWIwZj9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/35f8bb44-c1d4-478a-b939-37f5e33edc17?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzM1ZjhiYjQ0LWMxZDQtNDc4YS1iOTM5LTM3ZjVlMzNlZGMxNz9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1665,19 +1665,19 @@
"11981"
],
"x-ms-request-id": [
- "45a6dd25-8475-48e2-82f8-7c94936f0921"
+ "c3106fa9-633a-40d1-803b-e26a80151cc6"
],
"x-ms-correlation-request-id": [
- "45a6dd25-8475-48e2-82f8-7c94936f0921"
+ "c3106fa9-633a-40d1-803b-e26a80151cc6"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025828Z:45a6dd25-8475-48e2-82f8-7c94936f0921"
+ "WESTCENTRALUS:20210203T214857Z:c3106fa9-633a-40d1-803b-e26a80151cc6"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:58:27 GMT"
+ "Wed, 03 Feb 2021 21:48:56 GMT"
],
"Content-Length": [
"22"
@@ -1690,16 +1690,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/df189259-eb9b-40e1-b291-14b0532dab0f?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0L29wZXJhdGlvblJlc3VsdHMvZGYxODkyNTktZWI5Yi00MGUxLWIyOTEtMTRiMDUzMmRhYjBmP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/35f8bb44-c1d4-478a-b939-37f5e33edc17?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlL29wZXJhdGlvblJlc3VsdHMvMzVmOGJiNDQtYzFkNC00NzhhLWI5MzktMzdmNWUzM2VkYzE3P2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1722,19 +1722,19 @@
"11980"
],
"x-ms-request-id": [
- "399d3d5a-6aff-4d3c-81bb-d15e9732984a"
+ "488a6079-cb50-4bd4-90ec-858c73db54f5"
],
"x-ms-correlation-request-id": [
- "399d3d5a-6aff-4d3c-81bb-d15e9732984a"
+ "488a6079-cb50-4bd4-90ec-858c73db54f5"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025828Z:399d3d5a-6aff-4d3c-81bb-d15e9732984a"
+ "WESTCENTRALUS:20210203T214857Z:488a6079-cb50-4bd4-90ec-858c73db54f5"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:58:27 GMT"
+ "Wed, 03 Feb 2021 21:48:57 GMT"
],
"Content-Length": [
"22"
@@ -1747,22 +1747,22 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "86b91b85-48c6-44a8-9c8a-f23996b883fc"
+ "9275afb8-34f2-4fc5-a029-2586ee98b728"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1773,13 +1773,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/ddb53b25-aa7a-40e6-8cd3-0d7e462f1c2c?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/4909a081-641c-4a58-8759-3a32b7ef161d?api-version=2020-06-01-preview"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/ddb53b25-aa7a-40e6-8cd3-0d7e462f1c2c?api-version=2020-06-01-preview"
+ "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4909a081-641c-4a58-8759-3a32b7ef161d?api-version=2020-06-01-preview"
],
"x-ms-request-id": [
- "ddb53b25-aa7a-40e6-8cd3-0d7e462f1c2c"
+ "4909a081-641c-4a58-8759-3a32b7ef161d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1794,16 +1794,16 @@
"14996"
],
"x-ms-correlation-request-id": [
- "4108a0a8-ad8c-42b5-9c2f-30f025c72384"
+ "b3649421-a214-4ded-a889-8f7bd47da500"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025829Z:4108a0a8-ad8c-42b5-9c2f-30f025c72384"
+ "WESTCENTRALUS:20210203T214858Z:b3649421-a214-4ded-a889-8f7bd47da500"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:58:28 GMT"
+ "Wed, 03 Feb 2021 21:48:58 GMT"
],
"Content-Length": [
"21"
@@ -1816,16 +1816,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/ddb53b25-aa7a-40e6-8cd3-0d7e462f1c2c?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2RkYjUzYjI1LWFhN2EtNDBlNi04Y2QzLTBkN2U0NjJmMWMyYz9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4909a081-641c-4a58-8759-3a32b7ef161d?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzQ5MDlhMDgxLTY0MWMtNGE1OC04NzU5LTNhMzJiN2VmMTYxZD9hcGktdmVyc2lvbj0yMDIwLTA2LTAxLXByZXZpZXc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1848,19 +1848,19 @@
"11979"
],
"x-ms-request-id": [
- "005a1c04-13a4-4606-957d-c644ad517362"
+ "e27d4f26-e7c0-45ac-8f75-3055018d3180"
],
"x-ms-correlation-request-id": [
- "005a1c04-13a4-4606-957d-c644ad517362"
+ "e27d4f26-e7c0-45ac-8f75-3055018d3180"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025859Z:005a1c04-13a4-4606-957d-c644ad517362"
+ "WESTCENTRALUS:20210203T214928Z:e27d4f26-e7c0-45ac-8f75-3055018d3180"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:58:59 GMT"
+ "Wed, 03 Feb 2021 21:49:27 GMT"
],
"Content-Length": [
"22"
@@ -1873,16 +1873,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/ddb53b25-aa7a-40e6-8cd3-0d7e462f1c2c?api-version=2020-06-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlL29wZXJhdGlvblJlc3VsdHMvZGRiNTNiMjUtYWE3YS00MGU2LThjZDMtMGQ3ZTQ2MmYxYzJjP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/4909a081-641c-4a58-8759-3a32b7ef161d?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0L29wZXJhdGlvblJlc3VsdHMvNDkwOWEwODEtNjQxYy00YTU4LTg3NTktM2EzMmI3ZWYxNjFkP2FwaS12ZXJzaW9uPTIwMjAtMDYtMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.29220.03",
+ "FxVersion/4.6.29518.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.2.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
]
},
"ResponseHeaders": {
@@ -1905,19 +1905,19 @@
"11978"
],
"x-ms-request-id": [
- "3504106f-e618-4d7b-840b-17277c80826d"
+ "77879d39-cec3-4407-9159-3e3343a2bc23"
],
"x-ms-correlation-request-id": [
- "3504106f-e618-4d7b-840b-17277c80826d"
+ "77879d39-cec3-4407-9159-3e3343a2bc23"
],
"x-ms-routing-request-id": [
- "WESTUS2:20201030T025859Z:3504106f-e618-4d7b-840b-17277c80826d"
+ "WESTCENTRALUS:20210203T214928Z:77879d39-cec3-4407-9159-3e3343a2bc23"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Fri, 30 Oct 2020 02:58:59 GMT"
+ "Wed, 03 Feb 2021 21:49:28 GMT"
],
"Content-Length": [
"22"
@@ -1928,6 +1928,75 @@
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}",
"StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db9934/sqlRoleDefinitions/a5d92de7-1c34-481e-aafa-44f5cb03744c?api-version=2020-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI5OTM0L3NxbFJvbGVEZWZpbml0aW9ucy9hNWQ5MmRlNy0xYzM0LTQ4MWUtYWFmYS00NGY1Y2IwMzc0NGM/YXBpLXZlcnNpb249MjAyMC0wNi0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName4\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db9934\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"invalid-action-name\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6b560751-29b7-4e4b-82d8-b954bdfdc12b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29518.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.3.3.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "573"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-store, no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.11.0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "1b76e564-7d26-4849-9ae2-a33fa8922b6a"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b76e564-7d26-4849-9ae2-a33fa8922b6a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTCENTRALUS:20210203T214929Z:1b76e564-7d26-4849-9ae2-a33fa8922b6a"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 03 Feb 2021 21:49:28 GMT"
+ ],
+ "Content-Length": [
+ "230"
+ ],
+ "Content-Type": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided data action string [invalid-action-name] does not correspond to any valid SQL data action.\\r\\nActivityId: 6b560751-29b7-4e4b-82d8-b954bdfdc12b, Microsoft.Azure.Documents.Common/2.11.0\"\r\n}",
+ "StatusCode": 400
}
],
"Names": {},