From 2dd131a5bfeee328e258077c83397e7118123157 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Thu, 2 Apr 2020 13:40:34 -0700 Subject: [PATCH] Adding update throughput cmdlets for all the APIs --- .../ScenarioTests/CassandraOperationsTests.cs | 7 + .../CassandraOperationsTests.ps1 | 53 + .../ScenarioTests/GremlinOperationsTests.cs | 7 + .../ScenarioTests/GremlinOperationsTests.ps1 | 51 + .../ScenarioTests/MongoOperationsTests.cs | 7 + .../ScenarioTests/MongoOperationsTests.ps1 | 50 + .../ScenarioTests/SqlOperationsTests.cs | 7 + .../ScenarioTests/SqlOperationsTests.ps1 | 56 +- .../ScenarioTests/TableOperationsTests.cs | 7 + .../ScenarioTests/TableOperationsTests.ps1 | 28 + .../TestCassandraThroughputCmdlets.json | 2168 +++++++++++++++++ .../TestGremlinThroughputCmdlets.json | 2168 +++++++++++++++++ .../TestMongoThroughputCmdlets.json | 2168 +++++++++++++++++ .../TestSqlThroughputCmdlets.json | 2168 +++++++++++++++++ .../TestTableThroughputCmdlets.json | 1121 +++++++++ src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 | 7 +- ...teAzCosmosDBCassandraKeyspaceThroughput.cs | 87 + ...pdateAzCosmosDBCassandraTableThroughput.cs | 92 + src/CosmosDB/CosmosDB/ChangeLog.md | 6 + ...dateAzCosmosDBGremlinDatabaseThroughput.cs | 86 + .../UpdateAzCosmosDBGremlinGraphThroughput.cs | 92 + src/CosmosDB/CosmosDB/Helpers/Constants.cs | 2 +- .../Helpers/ResourceIdentifierExtensions.cs | 5 + ...teAzCosmosDBMongoDBCollectionThroughput.cs | 92 + ...dateAzCosmosDBMongoDBDatabaseThroughput.cs | 86 + .../UpdateAzCosmosDBSqlContainerThroughput.cs | 93 + .../UpdateAzCosmosDBSqlDatabaseThroughput.cs | 86 + .../Table/UpdateAzCosmosDBTableThroughput.cs | 86 + .../New-AzCosmosDBGremlinCompositePath.md | 9 +- ...CosmosDBGremlinConflictResolutionPolicy.md | 9 +- .../help/New-AzCosmosDBGremlinIncludedPath.md | 7 +- .../New-AzCosmosDBGremlinIncludedPathIndex.md | 11 +- .../New-AzCosmosDBGremlinIndexingPolicy.md | 14 +- .../help/New-AzCosmosDBGremlinSpatialSpec.md | 6 +- .../help/New-AzCosmosDBGremlinUniqueKey.md | 4 +- .../New-AzCosmosDBGremlinUniqueKeyPolicy.md | 5 +- .../help/New-AzCosmosDBSqlCompositePath.md | 7 +- ...w-AzCosmosDBSqlConflictResolutionPolicy.md | 8 +- .../help/New-AzCosmosDBSqlIncludedPath.md | 7 +- .../New-AzCosmosDBSqlIncludedPathIndex.md | 10 +- .../help/New-AzCosmosDBSqlIndexingPolicy.md | 1 - .../help/New-AzCosmosDBSqlSpatialSpec.md | 7 +- ...e-AzCosmosDBCassandraKeyspaceThroughput.md | 199 ++ ...date-AzCosmosDBCassandraTableThroughput.md | 215 ++ ...ate-AzCosmosDBGremlinDatabaseThroughput.md | 199 ++ ...Update-AzCosmosDBGremlinGraphThroughput.md | 215 ++ ...e-AzCosmosDBMongoDBCollectionThroughput.md | 217 ++ ...ate-AzCosmosDBMongoDBDatabaseThroughput.md | 199 ++ ...Update-AzCosmosDBSqlContainerThroughput.md | 215 ++ .../Update-AzCosmosDBSqlDatabaseThroughput.md | 198 ++ .../help/Update-AzCosmosDBTableThroughput.md | 197 ++ 51 files changed, 12789 insertions(+), 56 deletions(-) create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraThroughputCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinThroughputCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoThroughputCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlThroughputCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableThroughputCmdlets.json create mode 100644 src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraKeyspaceThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraTableThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinDatabaseThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinGraphThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBCollectionThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBDatabaseThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlContainerThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlDatabaseThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Table/UpdateAzCosmosDBTableThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs index 6ac530149442..1dcf9d884555 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs @@ -40,5 +40,12 @@ public void TestCassandraOperationsCmdletsUsingInputObject() { TestController.NewInstance.RunPowerShellTest(_logger, "Test-CassandraOperationsCmdletsUsingInputObject"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCassandraThroughputCmdlets() + { + TestController.NewInstance.RunPowerShellTest(_logger, "Test-CassandraThroughputCmdlets"); + } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 index a76991b527d8..8908f0ecb736 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 @@ -111,4 +111,57 @@ function Test-CassandraOperationsCmdletsUsingInputObject $IsKeyspaceRemoved = Remove-AzCosmosDBCassandraKeyspace -InputObject $NewKeyspace -PassThru Assert-AreEqual $IsKeyspaceRemoved true +} + +function Test-CassandraThroughputCmdlets +{ + $AccountName = "db2725" + $rgName = "CosmosDBResourceGroup2510" + $KeyspaceName = "KeyspaceName" + $TableName = "tableName" + + $Column1 = New-AzCosmosDBCassandraColumn -Name "ColumnA" -Type "int" + $Column2 = New-AzCosmosDBCassandraColumn -Name "ColumnB" -Type "ascii" + $clusterkey1 = New-AzCosmosDBCassandraClusterKey -Name "ColumnB" -OrderBy "Asc" + $schema = New-AzCosmosDBCassandraSchema -Column $Column1,$Column2 -ClusterKey $clusterkey1 -PartitionKey "ColumnA" + + $ThroughputValue = 1200 + $UpdatedThroughputValue = 1100 + $UpdatedThroughputValue2 = 1000 + $UpdatedThroughputValue3 = 900 + + $TableThroughputValue = 800 + $UpdatedTableThroughputValue = 700 + $UpdatedTableThroughputValue2 = 600 + $UpdatedTableThroughputValue3 = 500 + + $NewKeyspace = Set-AzCosmosDBCassandraKeyspace -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName -Throughput $ThroughputValue + $Throughput = Get-AzCosmosDBCassandraKeyspaceThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName + Assert-AreEqual $Throughput.Throughput $ThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBCassandraKeyspaceThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName -Throughput $UpdatedThroughputValue + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue + + $CosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName + $UpdatedThroughput = Update-AzCosmosDBCassandraKeyspaceThroughput -ParentObject $CosmosDBAccount -Name $KeyspaceName -Throughput $UpdatedThroughputValue2 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue2 + + $UpdatedThroughput = Update-AzCosmosDBCassandraKeyspaceThroughput -InputObject $NewKeyspace -Throughput $UpdatedThroughputValue3 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue3 + + $NewTable = Set-AzCosmosDBCassandraTable -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName -Schema $schema -Throughput $TableThroughputValue + $TableThroughput = Get-AzCosmosDBCassandraTableThroughput -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName + Assert-AreEqual $TableThroughput.Throughput $TableThroughputValue + + $UpdatedTableThroughput = Update-AzCosmosDBCassandraTableThroughput -InputObject $NewTable -Throughput $UpdatedTableThroughputValue + Assert-AreEqual $UpdatedTableThroughput.Throughput $UpdatedTableThroughputValue + + $UpdatedTableThroughput = Update-AzCosmosDBCassandraTableThroughput -ParentObject $NewKeyspace -Name $TableName -Throughput $UpdatedTableThroughputValue2 + Assert-AreEqual $UpdatedTableThroughput.Throughput $UpdatedTableThroughputValue2 + + $UpdatedTableThroughput = Update-AzCosmosDBCassandraTableThroughput -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName -Throughput $UpdatedTableThroughputValue3 + Assert-AreEqual $UpdatedTableThroughput.Throughput $UpdatedTableThroughputValue3 + + Remove-AzCosmosDBCassandraTable -InputObject $NewTable + Remove-AzCosmosDBCassandraKeyspace -InputObject $NewKeyspace } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs index c7cde05ebfda..cc93e45cb2d7 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs @@ -40,5 +40,12 @@ public void TestGremlinOperationsCmdletsUsingInputObject() { TestController.NewInstance.RunPowerShellTest(_logger, "Test-GremlinOperationsCmdletsUsingInputObject"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGremlinThroughputCmdlets() + { + TestController.NewInstance.RunPowerShellTest(_logger, "Test-GremlinThroughputCmdlets"); + } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 index 89ab94932a15..a4f75f1ae36f 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 @@ -131,4 +131,55 @@ function Test-GremlinOperationsCmdletsUsingInputObject $IsDatabaseRemoved = Remove-AzCosmosDBGremlinDatabase -InputObject $NewDatabase -PassThru Assert-AreEqual $IsDatabaseRemoved true +} + +function Test-GremlinThroughputCmdlets +{ + $AccountName = "db1002" + $rgName = "CosmosDBResourceGroup2510" + $DatabaseName = "dbName3" + $GraphName = "graphName" + + $PartitionKeyPathValue = "/foo" + $PartitionKeyKindValue = "Hash" + + $ThroughputValue = 1200 + $UpdatedThroughputValue = 1100 + $UpdatedThroughputValue2 = 1000 + $UpdatedThroughputValue3 = 900 + + $GraphThroughputValue = 800 + $UpdatedGraphThroughputValue = 700 + $UpdatedGraphThroughputValue2 = 600 + $UpdatedGraphThroughputValue3 = 500 + + $NewDatabase = Set-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $ThroughputValue + $Throughput = Get-AzCosmosDBGremlinDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName + Assert-AreEqual $Throughput.Throughput $ThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBGremlinDatabaseThroughput -InputObject $NewDatabase -Throughput $UpdatedThroughputValue + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBGremlinDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $UpdatedThroughputValue2 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue2 + + $CosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName + $UpdatedThroughput = Update-AzCosmosDBGremlinDatabaseThroughput -ParentObject $CosmosDBAccount -Name $DatabaseName -Throughput $UpdatedThroughputValue3 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue3 + + $NewGraph = Set-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Throughput $GraphThroughputValue -Name $GraphName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue + $GraphThroughput = Get-AzCosmosDBGremlinGraphThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName + Assert-AreEqual $GraphThroughput.Throughput $GraphThroughputValue + + $UpdatedGraphThroughput = Update-AzCosmosDBGremlinGraphThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName -Throughput $UpdatedGraphThroughputValue + Assert-AreEqual $UpdatedGraphThroughput.Throughput $UpdatedGraphThroughputValue + + $UpdatedGraphThroughput = Update-AzCosmosDBGremlinGraphThroughput -InputObject $NewGraph -Throughput $UpdatedGraphThroughputValue2 + Assert-AreEqual $UpdatedGraphThroughput.Throughput $UpdatedGraphThroughputValue2 + + $UpdatedGraphThroughput = Update-AzCosmosDBGremlinGraphThroughput -ParentObject $NewDatabase -Name $GraphName -Throughput $UpdatedGraphThroughputValue3 + Assert-AreEqual $UpdatedGraphThroughput.Throughput $UpdatedGraphThroughputValue3 + + Remove-AzCosmosDBGremlinGraph -InputObject $NewGraph + Remove-AzCosmosDBGremlinDatabase -InputObject $NewDatabase } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs index 021de3e69bd0..0ba4cd1d367c 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs @@ -40,5 +40,12 @@ public void TestMongoOperationsCmdletsUsingInputObject() { TestController.NewInstance.RunPowerShellTest(_logger, "Test-MongoOperationsCmdletsUsingInputObject"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestMongoThroughputCmdlets() + { + TestController.NewInstance.RunPowerShellTest(_logger, "Test-MongoThroughputCmdlets"); + } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 index 8caf6ff021a0..aca87dedbb96 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 @@ -102,4 +102,54 @@ function Test-MongoOperationsCmdletsUsingInputObject $IsDatabaseRemoved = Remove-AzCosmosDBMongoDBDatabase -InputObject $NewDatabase -PassThru Assert-AreEqual $IsDatabaseRemoved true +} + +function Test-MongoThroughputCmdlets +{ + $AccountName = "db001" + $rgName = "CosmosDBResourceGroup3668" + $DatabaseName = "dbName3" + $CollectionName = "collectionName" + + $ThroughputValue = 1200 + $UpdatedThroughputValue = 1100 + $UpdatedThroughputValue2 = 1000 + $UpdatedThroughputValue3 = 900 + + $CollectionThroughputValue = 800 + $UpdatedCollectionThroughputValue = 700 + $UpdatedCollectionThroughputValue2 = 600 + $UpdatedCollectionThroughputValue3 = 500 + + $ShardKey = "shardKeyPath" + + $NewDatabase = Set-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $ThroughputValue + $Throughput = Get-AzCosmosDBMongoDBDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName + Assert-AreEqual $Throughput.Throughput $ThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBMongoDBDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $UpdatedThroughputValue + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue + + $CosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName + $UpdatedThroughput = Update-AzCosmosDBMongoDBDatabaseThroughput -ParentObject $CosmosDBAccount -Name $DatabaseName -Throughput $UpdatedThroughputValue2 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue2 + + $UpdatedThroughput = Update-AzCosmosDBMongoDBDatabaseThroughput -InputObject $NewDatabase -Throughput $UpdatedThroughputValue3 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue3 + + $NewCollection = Set-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Throughput $CollectionThroughputValue -Name $CollectionName -Shard $ShardKey + $CollectionThroughput = Get-AzCosmosDBMongoDBCollectionThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName + Assert-AreEqual $CollectionThroughput.Throughput $CollectionThroughputValue + + $UpdatedCollectionThroughput = Update-AzCosmosDBMongoDBCollectionThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName -Throughput $UpdatedCollectionThroughputValue + Assert-AreEqual $UpdatedCollectionThroughput.Throughput $UpdatedCollectionThroughputValue + + $UpdatedCollectionThroughput = Update-AzCosmosDBMongoDBCollectionThroughput -InputObject $NewCollection -Throughput $UpdatedCollectionThroughputValue2 + Assert-AreEqual $UpdatedCollectionThroughput.Throughput $UpdatedCollectionThroughputValue2 + + $UpdatedCollectionThroughput = Update-AzCosmosDBMongoDBCollectionThroughput -ParentObject $NewDatabase -Name $CollectionName -Throughput $UpdatedCollectionThroughputValue3 + Assert-AreEqual $UpdatedCollectionThroughput.Throughput $UpdatedCollectionThroughputValue3 + + Remove-AzCosmosDBMongoDBCollection -InputObject $NewCollection + Remove-AzCosmosDBMongoDBDatabase -InputObject $NewDatabase } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.cs index 3b36740559d2..1d3fd43bc613 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.cs +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.cs @@ -40,5 +40,12 @@ public void TestSqlOperationsCmdletsUsingInputObject() { TestController.NewInstance.RunPowerShellTest(_logger, "Test-SqlOperationsCmdletsUsingInputObject"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSqlThroughputCmdlets() + { + TestController.NewInstance.RunPowerShellTest(_logger, "Test-SqlThroughputCmdlets"); + } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 index 4e98357549cf..f5a3212ad618 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 @@ -153,14 +153,11 @@ function Test-SqlOperationsCmdletsUsingInputObject $PartitionKeyPathValue = "/foo/bar" $PartitionKeyKindValue = "Hash" - $StoredProcedureName = "storedProcedure" + $StoredProcedureName = "storedProcedure" $UDFName = "udf" $TriggerName = "trigger" - $PartitionKeyPathValue = "/foo/bar" - $PartitionKeyKindValue = "Hash" - $Body = "function () { var context = getContext(); " + "var response = context.getResponse();" + "response.setBody('Hello, World');" + @@ -250,5 +247,56 @@ function Test-SqlOperationsCmdletsUsingInputObject Remove-AzCosmosDBSqlContainer -InputObject $NewContainer + Remove-AzCosmosDBSqlDatabase -InputObject $NewDatabase +} + +function Test-SqlThroughputCmdlets +{ + $AccountName = "cosmosdb9921232812" + $rgName = "rgtest9921232812" + $DatabaseName = "dbName3" + $ContainerName = "containerName" + + $PartitionKeyPathValue = "/foo/bar" + $PartitionKeyKindValue = "Hash" + + $ThroughputValue = 1200 + $UpdatedThroughputValue = 1100 + $UpdatedThroughputValue2 = 1000 + $UpdatedThroughputValue3 = 900 + + $ContainerThroughputValue = 800 + $UpdatedContainerThroughputValue = 700 + $UpdatedContainerThroughputValue2 = 600 + $UpdatedContainerThroughputValue3 = 500 + + $NewDatabase = Set-AzCosmosDBSqlDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $ThroughputValue + $Throughput = Get-AzCosmosDBSqlDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName + Assert-AreEqual $Throughput.Throughput $ThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBSqlDatabaseThroughput -InputObject $NewDatabase -Throughput $UpdatedThroughputValue + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBSqlDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $UpdatedThroughputValue2 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue2 + + $CosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName + $UpdatedThroughput = Update-AzCosmosDBSqlDatabaseThroughput -ParentObject $CosmosDBAccount -Name $DatabaseName -Throughput $UpdatedThroughputValue3 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue3 + + $NewContainer = Set-AzCosmosDBSqlContainer -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Throughput $ContainerThroughputValue -Name $ContainerName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue + $ContainerThroughput = Get-AzCosmosDBSqlContainerThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName + Assert-AreEqual $ContainerThroughput.Throughput $ContainerThroughputValue + + $UpdatedContainerThroughput = Update-AzCosmosDBSqlContainerThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName -Throughput $UpdatedContainerThroughputValue + Assert-AreEqual $UpdatedContainerThroughput.Throughput $UpdatedContainerThroughputValue + + $UpdatedContainerThroughput = Update-AzCosmosDBSqlContainerThroughput -InputObject $NewContainer -Throughput $UpdatedContainerThroughputValue2 + Assert-AreEqual $UpdatedContainerThroughput.Throughput $UpdatedContainerThroughputValue2 + + $UpdatedContainerThroughput = Update-AzCosmosDBSqlContainerThroughput -ParentObject $NewDatabase -Name $ContainerName -Throughput $UpdatedContainerThroughputValue3 + Assert-AreEqual $UpdatedContainerThroughput.Throughput $UpdatedContainerThroughputValue3 + + Remove-AzCosmosDBSqlContainer -InputObject $NewContainer Remove-AzCosmosDBSqlDatabase -InputObject $NewDatabase } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs index 18eb20bb7417..2ee8c305d816 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs @@ -40,5 +40,12 @@ public void TestTableOperationsCmdletsUsingInputObject() { TestController.NewInstance.RunPowerShellTest(_logger, "Test-TableOperationsCmdletsUsingInputObject"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestTableThroughputCmdlets() + { + TestController.NewInstance.RunPowerShellTest(_logger, "Test-TableThroughputCmdlets"); + } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 index 57161abd318e..f65bd4934736 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 @@ -64,4 +64,32 @@ function Test-TableOperationsCmdletsUsingInputObject $IsTableRemoved = Remove-AzCosmosDBTable -InputObject $Table -PassThru Assert-AreEqual $IsTableRemoved true +} + +function Test-TableThroughputCmdlets +{ + $AccountName = "db2527" + $rgName = "CosmosDBResourceGroup2510" + $TableName = "tableName3" + + $ThroughputValue = 1200 + $UpdatedThroughputValue = 1100 + $UpdatedThroughputValue2 = 1000 + $UpdatedThroughputValue3 = 900 + + $NewTable = Set-AzCosmosDBTable -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName -Throughput $ThroughputValue + $Throughput = Get-AzCosmosDBTableThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName + Assert-AreEqual $Throughput.Throughput $ThroughputValue + + $UpdatedThroughput = Update-AzCosmosDBTableThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName -Throughput $UpdatedThroughputValue + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue + + $CosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName + $UpdatedThroughput = Update-AzCosmosDBTableThroughput -ParentObject $CosmosDBAccount -Name $TableName -Throughput $UpdatedThroughputValue2 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue2 + + $UpdatedThroughput = Update-AzCosmosDBTableThroughput -InputObject $NewTable -Throughput $UpdatedThroughputValue3 + Assert-AreEqual $UpdatedThroughput.Throughput $UpdatedThroughputValue3 + + Remove-AzCosmosDBTable -InputObject $NewTable } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraThroughputCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraThroughputCmdlets.json new file mode 100644 index 000000000000..1c14209becfa --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraThroughputCmdlets.json @@ -0,0 +1,2168 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"KeyspaceName\"\r\n },\r\n \"options\": {\r\n \"Throughput\": \"1200\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3be2f49e-29e3-4b5f-97b7-3cef2e974dc1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "136" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/operationResults/99f012a4-df1d-4ba2-a79b-b37d14fa40e3?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/99f012a4-df1d-4ba2-a79b-b37d14fa40e3?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "99f012a4-df1d-4ba2-a79b-b37d14fa40e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "0e3f3d6a-5ff6-4359-8244-937aeebd85c6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195055Z:0e3f3d6a-5ff6-4359-8244-937aeebd85c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:54 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/99f012a4-df1d-4ba2-a79b-b37d14fa40e3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy85OWYwMTJhNC1kZjFkLTRiYTItYTc5Yi1iMzdkMTRmYTQwZTM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "4332c6d2-78ea-41e2-9dc5-8a4f38e00a18" + ], + "x-ms-correlation-request-id": [ + "4332c6d2-78ea-41e2-9dc5-8a4f38e00a18" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195125Z:4332c6d2-78ea-41e2-9dc5-8a4f38e00a18" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:51:24 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/99f012a4-df1d-4ba2-a79b-b37d14fa40e3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "95dda3f6-5898-4c27-8346-3827994575cd" + ], + "x-ms-correlation-request-id": [ + "95dda3f6-5898-4c27-8346-3827994575cd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195126Z:95dda3f6-5898-4c27-8346-3827994575cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:51:25 GMT" + ], + "Content-Length": [ + "410" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"KeyspaceName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"KeyspaceName\",\r\n \"_rid\": \"2cIJAA==\",\r\n \"_etag\": \"\\\"00000b00-0000-3200-0000-5e8633430000\\\"\",\r\n \"_ts\": 1585853251\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e986941e-5e1a-4e1e-8e19-ba006e916501" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "ea01f86d-7220-4b11-bdb7-82210b75d560" + ], + "x-ms-correlation-request-id": [ + "ea01f86d-7220-4b11-bdb7-82210b75d560" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195127Z:ea01f86d-7220-4b11-bdb7-82210b75d560" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:51:26 GMT" + ], + "Content-Length": [ + "386" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"b8ji\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1200,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "82928fc4-cdff-41f0-b5f7-03bf51f23a13" + ], + "x-ms-correlation-request-id": [ + "82928fc4-cdff-41f0-b5f7-03bf51f23a13" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195201Z:82928fc4-cdff-41f0-b5f7-03bf51f23a13" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:01 GMT" + ], + "Content-Length": [ + "386" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"b8ji\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "a95558a6-ccb2-44ce-8403-79eaa58bca4a" + ], + "x-ms-correlation-request-id": [ + "a95558a6-ccb2-44ce-8403-79eaa58bca4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195234Z:a95558a6-ccb2-44ce-8403-79eaa58bca4a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:34 GMT" + ], + "Content-Length": [ + "386" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"b8ji\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "51619104-f640-4bb6-963c-8d2173f4ba21" + ], + "x-ms-correlation-request-id": [ + "51619104-f640-4bb6-963c-8d2173f4ba21" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195307Z:51619104-f640-4bb6-963c-8d2173f4ba21" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:06 GMT" + ], + "Content-Length": [ + "385" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"b8ji\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d0cc2dad-7acb-437f-a830-bde43663858a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default/operationResults/627d7910-de5a-4b42-80d9-8036946067e1?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/627d7910-de5a-4b42-80d9-8036946067e1?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "627d7910-de5a-4b42-80d9-8036946067e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e2487e46-b6df-45b6-8325-184cf9e93c7f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195129Z:e2487e46-b6df-45b6-8325-184cf9e93c7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:51:28 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6e4b0946-4e8f-4b3f-8fb4-14a4f8381a85" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default/operationResults/4dbb350b-e0f1-48b2-9c4c-1532a6bf57f9?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/4dbb350b-e0f1-48b2-9c4c-1532a6bf57f9?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "4dbb350b-e0f1-48b2-9c4c-1532a6bf57f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "96f193bf-671f-49cd-8205-7c28d08637ab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195202Z:96f193bf-671f-49cd-8205-7c28d08637ab" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:02 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "15a3db81-ae6e-4b6e-a323-9979dfcda136" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default/operationResults/bd9e4e77-acbb-41bd-83b4-9a6594fde39f?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/bd9e4e77-acbb-41bd-83b4-9a6594fde39f?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "bd9e4e77-acbb-41bd-83b4-9a6594fde39f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "56f5de63-a5fe-4619-a40b-ead1ffe6b75d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195235Z:56f5de63-a5fe-4619-a40b-ead1ffe6b75d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:35 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/627d7910-de5a-4b42-80d9-8036946067e1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy82MjdkNzkxMC1kZTVhLTRiNDItODBkOS04MDM2OTQ2MDY3ZTE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "df08cdfb-0e2b-4ee0-ad43-ed9d48e7afb6" + ], + "x-ms-correlation-request-id": [ + "df08cdfb-0e2b-4ee0-ad43-ed9d48e7afb6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195159Z:df08cdfb-0e2b-4ee0-ad43-ed9d48e7afb6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:51:59 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/627d7910-de5a-4b42-80d9-8036946067e1?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40ea7fd6-c8d9-494e-bf2a-e5c3e577310d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "0d1e4742-be26-4ebd-b512-6db062a1d916" + ], + "x-ms-correlation-request-id": [ + "0d1e4742-be26-4ebd-b512-6db062a1d916" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195201Z:0d1e4742-be26-4ebd-b512-6db062a1d916" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:01 GMT" + ], + "Content-Length": [ + "1843" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725\",\r\n \"name\": \"db2725\",\r\n \"location\": \"UAE North\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db2725.documents.azure.com:443/\",\r\n \"cassandraEndpoint\": \"https://db2725.cassandra.cosmos.azure.com:443/\",\r\n \"ipRangeFilter\": \"\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"apiProperties\": null,\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db2725-uaenorth\",\r\n \"locationName\": \"UAE North\",\r\n \"documentEndpoint\": \"https://db2725-uaenorth.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db2725-uaenorth\",\r\n \"locationName\": \"UAE North\",\r\n \"documentEndpoint\": \"https://db2725-uaenorth.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db2725-uaenorth\",\r\n \"locationName\": \"UAE North\",\r\n \"documentEndpoint\": \"https://db2725-uaenorth.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db2725-uaenorth\",\r\n \"locationName\": \"UAE North\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/4dbb350b-e0f1-48b2-9c4c-1532a6bf57f9?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy80ZGJiMzUwYi1lMGYxLTQ4YjItOWM0Yy0xNTMyYTZiZjU3Zjk/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "33b90ffc-296e-4d12-a1bf-82335c455781" + ], + "x-ms-correlation-request-id": [ + "33b90ffc-296e-4d12-a1bf-82335c455781" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195232Z:33b90ffc-296e-4d12-a1bf-82335c455781" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:52:32 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/4dbb350b-e0f1-48b2-9c4c-1532a6bf57f9?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/bd9e4e77-acbb-41bd-83b4-9a6594fde39f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9iZDllNGU3Ny1hY2JiLTQxYmQtODNiNC05YTY1OTRmZGUzOWY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "34616092-f924-4c7c-8d2d-189ae750f02e" + ], + "x-ms-correlation-request-id": [ + "34616092-f924-4c7c-8d2d-189ae750f02e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195305Z:34616092-f924-4c7c-8d2d-189ae750f02e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:05 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/bd9e4e77-acbb-41bd-83b4-9a6594fde39f?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName\",\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"ColumnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"ColumnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"ColumnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"ColumnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n },\r\n \"options\": {\r\n \"Throughput\": \"800\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5a575bac-309c-4141-8b14-8653b11153f4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "590" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/operationResults/2b9179fe-b7c2-4a4a-8f04-0f5f61254eaf?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/2b9179fe-b7c2-4a4a-8f04-0f5f61254eaf?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "2b9179fe-b7c2-4a4a-8f04-0f5f61254eaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "6860ecde-9821-4926-b356-d1acc2b78477" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195309Z:6860ecde-9821-4926-b356-d1acc2b78477" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:08 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/2b9179fe-b7c2-4a4a-8f04-0f5f61254eaf?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8yYjkxNzlmZS1iN2MyLTRhNGEtOGYwNC0wZjVmNjEyNTRlYWY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "49af8ab3-b14c-4286-a506-c24df2be8ae2" + ], + "x-ms-correlation-request-id": [ + "49af8ab3-b14c-4286-a506-c24df2be8ae2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195339Z:49af8ab3-b14c-4286-a506-c24df2be8ae2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:39 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/2b9179fe-b7c2-4a4a-8f04-0f5f61254eaf?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "01f646a8-9caa-4dd6-b839-2ab587305bf1" + ], + "x-ms-correlation-request-id": [ + "01f646a8-9caa-4dd6-b839-2ab587305bf1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195340Z:01f646a8-9caa-4dd6-b839-2ab587305bf1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:40 GMT" + ], + "Content-Length": [ + "625" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"tableName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName\",\r\n \"_rid\": \"2cIJAP6+j8I=\",\r\n \"_etag\": \"\\\"00001c00-0000-3200-0000-5e86368c0000\\\"\",\r\n \"_ts\": 1585854092,\r\n \"defaultTtl\": -1,\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"ColumnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"ColumnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"ColumnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"ColumnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da5a195a-ac87-4122-8611-fa61cfe7085c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "5d920b19-abe1-4d9d-9f2b-ef34a098af2e" + ], + "x-ms-correlation-request-id": [ + "5d920b19-abe1-4d9d-9f2b-ef34a098af2e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195341Z:5d920b19-abe1-4d9d-9f2b-ef34a098af2e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:41 GMT" + ], + "Content-Length": [ + "409" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings\",\r\n \"name\": \"s3qF\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 800,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "b448f4c8-4faf-4b66-8f6d-cd741efb31cd" + ], + "x-ms-correlation-request-id": [ + "b448f4c8-4faf-4b66-8f6d-cd741efb31cd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195415Z:b448f4c8-4faf-4b66-8f6d-cd741efb31cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:14 GMT" + ], + "Content-Length": [ + "409" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings\",\r\n \"name\": \"s3qF\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "d45bb6ac-fb8f-4fe1-b699-2b90840541c8" + ], + "x-ms-correlation-request-id": [ + "d45bb6ac-fb8f-4fe1-b699-2b90840541c8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195448Z:d45bb6ac-fb8f-4fe1-b699-2b90840541c8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:48 GMT" + ], + "Content-Length": [ + "409" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings\",\r\n \"name\": \"s3qF\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "22e2957a-dce8-44d0-a3e3-b9e91029dacb" + ], + "x-ms-correlation-request-id": [ + "22e2957a-dce8-44d0-a3e3-b9e91029dacb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195521Z:22e2957a-dce8-44d0-a3e3-b9e91029dacb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:21 GMT" + ], + "Content-Length": [ + "409" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings\",\r\n \"name\": \"s3qF\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "289b770c-a6ae-4ddc-be8f-7f7057c8c47f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default/operationResults/9a8bba9a-85bf-424c-a93b-1af249c3f0ee?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/9a8bba9a-85bf-424c-a93b-1af249c3f0ee?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "9a8bba9a-85bf-424c-a93b-1af249c3f0ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "0cf3647b-3a68-4b47-b23a-b43132a1df4f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195343Z:0cf3647b-3a68-4b47-b23a-b43132a1df4f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:53:42 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3503c5a4-9c14-4521-8a04-1d5c89f890b2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default/operationResults/13b8f862-99b7-4c2e-869a-fe65e010192d?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/13b8f862-99b7-4c2e-869a-fe65e010192d?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "13b8f862-99b7-4c2e-869a-fe65e010192d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "ea3de054-dadd-49b8-bb99-6865e03bcb7f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195416Z:ea3de054-dadd-49b8-bb99-6865e03bcb7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:15 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6116944b-5759-4ec6-93ba-b78f5cc67a6f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default/operationResults/b4eb82cd-9eaa-4923-bd64-f3e1eebf7259?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/b4eb82cd-9eaa-4923-bd64-f3e1eebf7259?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "b4eb82cd-9eaa-4923-bd64-f3e1eebf7259" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "91aa6e5d-df0d-494d-8e22-f18048d28147" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195449Z:91aa6e5d-df0d-494d-8e22-f18048d28147" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:49 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/9a8bba9a-85bf-424c-a93b-1af249c3f0ee?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy85YThiYmE5YS04NWJmLTQyNGMtYTkzYi0xYWYyNDljM2YwZWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "a7f754a4-b301-4f33-b3ff-d2579c56c8a5" + ], + "x-ms-correlation-request-id": [ + "a7f754a4-b301-4f33-b3ff-d2579c56c8a5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195413Z:a7f754a4-b301-4f33-b3ff-d2579c56c8a5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:12 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/9a8bba9a-85bf-424c-a93b-1af249c3f0ee?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/13b8f862-99b7-4c2e-869a-fe65e010192d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8xM2I4Zjg2Mi05OWI3LTRjMmUtODY5YS1mZTY1ZTAxMDE5MmQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "4feaa689-cec3-4ec7-b5eb-a1b714ea8df9" + ], + "x-ms-correlation-request-id": [ + "4feaa689-cec3-4ec7-b5eb-a1b714ea8df9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195446Z:4feaa689-cec3-4ec7-b5eb-a1b714ea8df9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:54:46 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/13b8f862-99b7-4c2e-869a-fe65e010192d?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/b4eb82cd-9eaa-4923-bd64-f3e1eebf7259?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9iNGViODJjZC05ZWFhLTQ5MjMtYmQ2NC1mM2UxZWViZjcyNTk/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "9974209f-8578-4942-8448-41c34776f6c4" + ], + "x-ms-correlation-request-id": [ + "9974209f-8578-4942-8448-41c34776f6c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195519Z:9974209f-8578-4942-8448-41c34776f6c4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:19 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/b4eb82cd-9eaa-4923-bd64-f3e1eebf7259?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cd85e328-7db2-41d9-a7f6-84889a4def95" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/operationResults/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "dc320df1-e321-400f-b9f0-c81c44c692a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "038a7e48-90e0-44a3-9b4d-2205e75aa3ba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195521Z:038a7e48-90e0-44a3-9b4d-2205e75aa3ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:21 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9kYzMyMGRmMS1lMzIxLTQwMGYtYjlmMC1jODFjNDRjNjkyYTY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "3ed81d40-8b9d-4f86-b3bd-44cc8e51f1ee" + ], + "x-ms-correlation-request-id": [ + "3ed81d40-8b9d-4f86-b3bd-44cc8e51f1ee" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195552Z:3ed81d40-8b9d-4f86-b3bd-44cc8e51f1ee" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:51 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/operationResults/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvdGFibGVzL3RhYmxlTmFtZS9vcGVyYXRpb25SZXN1bHRzL2RjMzIwZGYxLWUzMjEtNDAwZi1iOWYwLWM4MWM0NGM2OTJhNj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "4775914a-4e70-4c62-ba69-7c50ef7861a7" + ], + "x-ms-correlation-request-id": [ + "4775914a-4e70-4c62-ba69-7c50ef7861a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195552Z:4775914a-4e70-4c62-ba69-7c50ef7861a7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:51 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/tables/tableName/operationResults/dc320df1-e321-400f-b9f0-c81c44c692a6?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3fa5206c-5456-4751-b7a7-e3d293193cd3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/operationResults/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "1fb5e3c5-6cc4-4999-8d18-2291b74392dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "0f90a2c5-1ea9-4c45-b8ed-0e46ec243fe7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195553Z:0f90a2c5-1ea9-4c45-b8ed-0e46ec243fe7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:55:52 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8xZmI1ZTNjNS02Y2M0LTQ5OTktOGQxOC0yMjkxYjc0MzkyZGQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "5ffd39bc-6351-4f0a-bf15-c1c7e12df379" + ], + "x-ms-correlation-request-id": [ + "5ffd39bc-6351-4f0a-bf15-c1c7e12df379" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195623Z:5ffd39bc-6351-4f0a-bf15-c1c7e12df379" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:56:22 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/operationResults/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9LZXlzcGFjZU5hbWUvb3BlcmF0aW9uUmVzdWx0cy8xZmI1ZTNjNS02Y2M0LTQ5OTktOGQxOC0yMjkxYjc0MzkyZGQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "481bcc97-decf-46bb-ae13-1c2da956640a" + ], + "x-ms-correlation-request-id": [ + "481bcc97-decf-46bb-ae13-1c2da956640a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195623Z:481bcc97-decf-46bb-ae13-1c2da956640a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:56:22 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/KeyspaceName/operationResults/1fb5e3c5-6cc4-4999-8d18-2291b74392dd?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "12053b8f-cab5-4f5c-9c1a-870580142abd" + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinThroughputCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinThroughputCmdlets.json new file mode 100644 index 000000000000..4df51cd174bf --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinThroughputCmdlets.json @@ -0,0 +1,2168 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\"\r\n },\r\n \"options\": {\r\n \"Throughput\": \"1200\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bef5e7c1-fcad-4766-84a2-247e1b8153f0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "131" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/operationResults/1e4e0428-03d7-4971-aead-ae875a24ed9c?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1e4e0428-03d7-4971-aead-ae875a24ed9c?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "1e4e0428-03d7-4971-aead-ae875a24ed9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "a69531c5-c1b7-47f9-91a7-9de046059e76" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194524Z:a69531c5-c1b7-47f9-91a7-9de046059e76" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:45:23 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1e4e0428-03d7-4971-aead-ae875a24ed9c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMWU0ZTA0MjgtMDNkNy00OTcxLWFlYWQtYWU4NzVhMjRlZDljP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "7c6403f9-d214-4ef3-a4e0-896bdb426040" + ], + "x-ms-correlation-request-id": [ + "7c6403f9-d214-4ef3-a4e0-896bdb426040" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194554Z:7c6403f9-d214-4ef3-a4e0-896bdb426040" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:45:54 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1e4e0428-03d7-4971-aead-ae875a24ed9c?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "5d31eb5e-1bc4-4967-8eb0-6ff3a494e0bf" + ], + "x-ms-correlation-request-id": [ + "5d31eb5e-1bc4-4967-8eb0-6ff3a494e0bf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194554Z:5d31eb5e-1bc4-4967-8eb0-6ff3a494e0bf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:45:54 GMT" + ], + "Content-Length": [ + "451" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\",\r\n \"_rid\": \"0EAyAA==\",\r\n \"_self\": \"dbs/0EAyAA==/\",\r\n \"_etag\": \"\\\"0000d805-0000-0100-0000-5e8640db0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1585856731\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c2d04efb-2989-44b4-8eeb-86ae5f003901" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "6721ad20-a524-4227-83c9-8a7a00b96d2a" + ], + "x-ms-correlation-request-id": [ + "6721ad20-a524-4227-83c9-8a7a00b96d2a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194555Z:6721ad20-a524-4227-83c9-8a7a00b96d2a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:45:54 GMT" + ], + "Content-Length": [ + "377" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"6qVm\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1200,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "f5d2f463-b8c1-4f8c-a179-f8e6963b5952" + ], + "x-ms-correlation-request-id": [ + "f5d2f463-b8c1-4f8c-a179-f8e6963b5952" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194626Z:f5d2f463-b8c1-4f8c-a179-f8e6963b5952" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:25 GMT" + ], + "Content-Length": [ + "377" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"6qVm\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "759ab604-b68d-412d-98f9-d02c02996388" + ], + "x-ms-correlation-request-id": [ + "759ab604-b68d-412d-98f9-d02c02996388" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194657Z:759ab604-b68d-412d-98f9-d02c02996388" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:56 GMT" + ], + "Content-Length": [ + "377" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"6qVm\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "fe0606b8-bcdc-4609-904a-fcc9a308b678" + ], + "x-ms-correlation-request-id": [ + "fe0606b8-bcdc-4609-904a-fcc9a308b678" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194728Z:fe0606b8-bcdc-4609-904a-fcc9a308b678" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:28 GMT" + ], + "Content-Length": [ + "376" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"6qVm\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2bfc965c-8078-42b7-b320-0d9e29ae7011" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default/operationResults/997b87e8-7657-432b-b4fc-13a32ea2c1f5?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/997b87e8-7657-432b-b4fc-13a32ea2c1f5?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "997b87e8-7657-432b-b4fc-13a32ea2c1f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "fb61448b-8254-4990-b871-e24ae34c62d6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194555Z:fb61448b-8254-4990-b871-e24ae34c62d6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:45:55 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e41ace6b-6e16-4dbf-9cff-f6dbc0fcd2d0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default/operationResults/a339f0e1-4d4a-4d1c-9024-b701e9302964?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a339f0e1-4d4a-4d1c-9024-b701e9302964?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "a339f0e1-4d4a-4d1c-9024-b701e9302964" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "e76d6504-439c-47d2-8a73-8a24d76c2eb5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194627Z:e76d6504-439c-47d2-8a73-8a24d76c2eb5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:26 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "32959f29-d32f-4e86-892a-14788c0d4172" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default/operationResults/2af852d3-ce48-45ca-82b5-d97fb36ecb8e?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af852d3-ce48-45ca-82b5-d97fb36ecb8e?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "2af852d3-ce48-45ca-82b5-d97fb36ecb8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "419e63bc-b850-4f26-a85e-fb0100c8a0ed" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194658Z:419e63bc-b850-4f26-a85e-fb0100c8a0ed" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:57 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/997b87e8-7657-432b-b4fc-13a32ea2c1f5?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTk3Yjg3ZTgtNzY1Ny00MzJiLWI0ZmMtMTNhMzJlYTJjMWY1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "40154d42-ac43-4b6b-86f9-902825ef42cd" + ], + "x-ms-correlation-request-id": [ + "40154d42-ac43-4b6b-86f9-902825ef42cd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194626Z:40154d42-ac43-4b6b-86f9-902825ef42cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:25 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/997b87e8-7657-432b-b4fc-13a32ea2c1f5?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a339f0e1-4d4a-4d1c-9024-b701e9302964?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTMzOWYwZTEtNGQ0YS00ZDFjLTkwMjQtYjcwMWU5MzAyOTY0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "6e75188e-5f3a-408d-b9f7-daacc14d8740" + ], + "x-ms-correlation-request-id": [ + "6e75188e-5f3a-408d-b9f7-daacc14d8740" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194657Z:6e75188e-5f3a-408d-b9f7-daacc14d8740" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:56 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a339f0e1-4d4a-4d1c-9024-b701e9302964?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26aa924f-5bc2-4070-8846-bba4082e14d5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "1d1b82a8-e0c1-41e6-a74d-58fdfdfa256a" + ], + "x-ms-correlation-request-id": [ + "1d1b82a8-e0c1-41e6-a74d-58fdfdfa256a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194657Z:1d1b82a8-e0c1-41e6-a74d-58fdfdfa256a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:46:56 GMT" + ], + "Content-Length": [ + "1822" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002\",\r\n \"name\": \"db1002\",\r\n \"location\": \"East US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db1002.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://db1002.gremlin.cosmos.azure.com:443/\",\r\n \"ipRangeFilter\": \"\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"apiProperties\": null,\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db1002-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db1002-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db1002-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db1002-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db1002-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db1002-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db1002-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af852d3-ce48-45ca-82b5-d97fb36ecb8e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmFmODUyZDMtY2U0OC00NWNhLTgyYjUtZDk3ZmIzNmVjYjhlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "342bd1e0-36fd-4d8b-9b45-3c64aba6d674" + ], + "x-ms-correlation-request-id": [ + "342bd1e0-36fd-4d8b-9b45-3c64aba6d674" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194728Z:342bd1e0-36fd-4d8b-9b45-3c64aba6d674" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:28 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af852d3-ce48-45ca-82b5-d97fb36ecb8e?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graphName\",\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo\"\r\n ],\r\n \"kind\": \"Hash\"\r\n }\r\n },\r\n \"options\": {\r\n \"Throughput\": \"800\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c4bc37e4-ee5b-467c-b793-ab6dc0d63756" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "241" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/operationResults/0f5f9dde-69a9-4a92-9711-12eb86028b57?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0f5f9dde-69a9-4a92-9711-12eb86028b57?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "0f5f9dde-69a9-4a92-9711-12eb86028b57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "ca5c10fc-b053-4f8d-ae45-edfe62de0203" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194729Z:ca5c10fc-b053-4f8d-ae45-edfe62de0203" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:29 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0f5f9dde-69a9-4a92-9711-12eb86028b57?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMGY1ZjlkZGUtNjlhOS00YTkyLTk3MTEtMTJlYjg2MDI4YjU3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "58fab397-744f-4fb5-88fd-28af9add992a" + ], + "x-ms-correlation-request-id": [ + "58fab397-744f-4fb5-88fd-28af9add992a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194759Z:58fab397-744f-4fb5-88fd-28af9add992a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:58 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0f5f9dde-69a9-4a92-9711-12eb86028b57?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "44ec4b9b-a86e-4472-a148-be017c3548b2" + ], + "x-ms-correlation-request-id": [ + "44ec4b9b-a86e-4472-a148-be017c3548b2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194759Z:44ec4b9b-a86e-4472-a148-be017c3548b2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:59 GMT" + ], + "Content-Length": [ + "1024" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graphName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graphName\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"0EAyALRUzEc=\",\r\n \"_ts\": 1585856853,\r\n \"_self\": \"dbs/0EAyAA==/colls/0EAyALRUzEc=/\",\r\n \"_etag\": \"\\\"0000e605-0000-0100-0000-5e8641550000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f98dc261-621b-4af6-988e-382c955d6e13" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "66ff718b-62ab-48d9-be49-a0388dc87040" + ], + "x-ms-correlation-request-id": [ + "66ff718b-62ab-48d9-be49-a0388dc87040" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194759Z:66ff718b-62ab-48d9-be49-a0388dc87040" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:47:59 GMT" + ], + "Content-Length": [ + "400" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings\",\r\n \"name\": \"AYUK\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 800,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "28c2f2f6-7d47-4524-93d4-805f2b6e2f8c" + ], + "x-ms-correlation-request-id": [ + "28c2f2f6-7d47-4524-93d4-805f2b6e2f8c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194831Z:28c2f2f6-7d47-4524-93d4-805f2b6e2f8c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:48:30 GMT" + ], + "Content-Length": [ + "400" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings\",\r\n \"name\": \"AYUK\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "025ddd91-d9f3-40c9-9a1c-6e51e2bf9ed7" + ], + "x-ms-correlation-request-id": [ + "025ddd91-d9f3-40c9-9a1c-6e51e2bf9ed7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194903Z:025ddd91-d9f3-40c9-9a1c-6e51e2bf9ed7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:03 GMT" + ], + "Content-Length": [ + "400" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings\",\r\n \"name\": \"AYUK\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "25f297cf-f800-4438-8b2f-aafc1bb5cd48" + ], + "x-ms-correlation-request-id": [ + "25f297cf-f800-4438-8b2f-aafc1bb5cd48" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194934Z:25f297cf-f800-4438-8b2f-aafc1bb5cd48" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:33 GMT" + ], + "Content-Length": [ + "400" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings\",\r\n \"name\": \"AYUK\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "efd7a0c7-e151-4455-beab-a6f705733f29" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default/operationResults/55da82aa-2303-46fd-a7f2-9b15a3b9ffe4?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/55da82aa-2303-46fd-a7f2-9b15a3b9ffe4?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "55da82aa-2303-46fd-a7f2-9b15a3b9ffe4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "69ebe638-b35d-43cc-8855-88db53110569" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194800Z:69ebe638-b35d-43cc-8855-88db53110569" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:48:00 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "36cc2126-46ca-4ca1-98d2-810ef9805ff9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default/operationResults/5af8722a-5fa0-47b7-9c31-0bdfc894bd8f?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5af8722a-5fa0-47b7-9c31-0bdfc894bd8f?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "5af8722a-5fa0-47b7-9c31-0bdfc894bd8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "fcead777-8bad-45d2-9366-179fef6ef817" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194832Z:fcead777-8bad-45d2-9366-179fef6ef817" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:48:31 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "80a3550b-a72a-4502-9f87-68b468bff8c7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default/operationResults/a13fa717-99a0-4b3c-b06b-1de8440a1513?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a13fa717-99a0-4b3c-b06b-1de8440a1513?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "a13fa717-99a0-4b3c-b06b-1de8440a1513" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "69b2ed93-c827-4033-a511-2cc0294a3af4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194903Z:69b2ed93-c827-4033-a511-2cc0294a3af4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/55da82aa-2303-46fd-a7f2-9b15a3b9ffe4?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTVkYTgyYWEtMjMwMy00NmZkLWE3ZjItOWIxNWEzYjlmZmU0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "0e190a4d-5dce-4eec-a40b-4643c35569a2" + ], + "x-ms-correlation-request-id": [ + "0e190a4d-5dce-4eec-a40b-4643c35569a2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194830Z:0e190a4d-5dce-4eec-a40b-4643c35569a2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:48:29 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/55da82aa-2303-46fd-a7f2-9b15a3b9ffe4?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5af8722a-5fa0-47b7-9c31-0bdfc894bd8f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWFmODcyMmEtNWZhMC00N2I3LTljMzEtMGJkZmM4OTRiZDhmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "6c9973f0-85e9-42b2-ad9d-21910233cb1d" + ], + "x-ms-correlation-request-id": [ + "6c9973f0-85e9-42b2-ad9d-21910233cb1d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194902Z:6c9973f0-85e9-42b2-ad9d-21910233cb1d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:02 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5af8722a-5fa0-47b7-9c31-0bdfc894bd8f?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a13fa717-99a0-4b3c-b06b-1de8440a1513?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTEzZmE3MTctOTlhMC00YjNjLWIwNmItMWRlODQ0MGExNTEzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "42a2d0ef-cb1b-4f3a-8819-64c2175850dd" + ], + "x-ms-correlation-request-id": [ + "42a2d0ef-cb1b-4f3a-8819-64c2175850dd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194933Z:42a2d0ef-cb1b-4f3a-8819-64c2175850dd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:33 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a13fa717-99a0-4b3c-b06b-1de8440a1513?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7c5a75e3-c336-474c-b1fe-894dc029ac31" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/operationResults/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "60ebc2b1-5e76-426a-97d9-d54e526bb822" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ec7b2a9c-a407-4e9c-b28b-22ebc3426722" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194934Z:ec7b2a9c-a407-4e9c-b28b-22ebc3426722" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:49:34 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNjBlYmMyYjEtNWU3Ni00MjZhLTk3ZDktZDU0ZTUyNmJiODIyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "b862006b-5f9c-4b46-ad2c-2cf37b2128b5" + ], + "x-ms-correlation-request-id": [ + "b862006b-5f9c-4b46-ad2c-2cf37b2128b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195004Z:b862006b-5f9c-4b46-ad2c-2cf37b2128b5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:04 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/operationResults/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9ncmFwaHMvZ3JhcGhOYW1lL29wZXJhdGlvblJlc3VsdHMvNjBlYmMyYjEtNWU3Ni00MjZhLTk3ZDktZDU0ZTUyNmJiODIyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "2f0bf6d1-0908-48f6-add9-82627b7d6cbd" + ], + "x-ms-correlation-request-id": [ + "2f0bf6d1-0908-48f6-add9-82627b7d6cbd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195005Z:2f0bf6d1-0908-48f6-add9-82627b7d6cbd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:04 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/graphs/graphName/operationResults/60ebc2b1-5e76-426a-97d9-d54e526bb822?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e073a4a-c629-4eda-82fc-d81722db453a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/operationResults/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "e267768f-a414-4ce9-ac09-02c6a4afaeba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7eb63394-2b33-4081-aeb6-2fc5a6f58a81" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195005Z:7eb63394-2b33-4081-aeb6-2fc5a6f58a81" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:05 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTI2Nzc2OGYtYTQxNC00Y2U5LWFjMDktMDJjNmE0YWZhZWJhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "8091bba5-b11c-4d19-92ed-54c73af80e7d" + ], + "x-ms-correlation-request-id": [ + "8091bba5-b11c-4d19-92ed-54c73af80e7d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195036Z:8091bba5-b11c-4d19-92ed-54c73af80e7d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:35 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/operationResults/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMy9vcGVyYXRpb25SZXN1bHRzL2UyNjc3NjhmLWE0MTQtNGNlOS1hYzA5LTAyYzZhNGFmYWViYT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "19951698-b192-4367-bfd9-c3f72bb44b65" + ], + "x-ms-correlation-request-id": [ + "19951698-b192-4367-bfd9-c3f72bb44b65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T195036Z:19951698-b192-4367-bfd9-c3f72bb44b65" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:50:36 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName3/operationResults/e267768f-a414-4ce9-ac09-02c6a4afaeba?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "12053b8f-cab5-4f5c-9c1a-870580142abd" + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoThroughputCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoThroughputCmdlets.json new file mode 100644 index 000000000000..3ea9a851da07 --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoThroughputCmdlets.json @@ -0,0 +1,2168 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\"\r\n },\r\n \"options\": {\r\n \"Throughput\": \"1200\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6592c92d-8c53-4c29-b0f9-b90302522e69" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "131" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/operationResults/fbc6c749-0c85-4008-ab20-735605bdbe4d?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fbc6c749-0c85-4008-ab20-735605bdbe4d?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "fbc6c749-0c85-4008-ab20-735605bdbe4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b9341792-7da5-472b-86ee-1cc86986baaa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193604Z:b9341792-7da5-472b-86ee-1cc86986baaa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:36:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fbc6c749-0c85-4008-ab20-735605bdbe4d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZmJjNmM3NDktMGM4NS00MDA4LWFiMjAtNzM1NjA1YmRiZTRkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "e15386b9-68b8-4e1d-9f4e-6ed46d77822f" + ], + "x-ms-correlation-request-id": [ + "e15386b9-68b8-4e1d-9f4e-6ed46d77822f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193634Z:e15386b9-68b8-4e1d-9f4e-6ed46d77822f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:36:34 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fbc6c749-0c85-4008-ab20-735605bdbe4d?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "86b4c5f3-968b-438b-9d2e-b8d7f9226bf4" + ], + "x-ms-correlation-request-id": [ + "86b4c5f3-968b-438b-9d2e-b8d7f9226bf4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193635Z:86b4c5f3-968b-438b-9d2e-b8d7f9226bf4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:36:35 GMT" + ], + "Content-Length": [ + "390" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\",\r\n \"_rid\": \"TXIXAA==\",\r\n \"_etag\": \"\\\"00001700-0000-0100-0000-5e863eab0000\\\"\",\r\n \"_ts\": 1585856171\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ec1c9d4a-4e9f-4014-b74c-9be02ba3df5e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "5fb047e2-2bd6-4dc2-9909-5469b38d5add" + ], + "x-ms-correlation-request-id": [ + "5fb047e2-2bd6-4dc2-9909-5469b38d5add" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193635Z:5fb047e2-2bd6-4dc2-9909-5469b38d5add" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:36:35 GMT" + ], + "Content-Length": [ + "376" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"DhJx\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1200,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "a5bae304-3c08-4d8f-afe7-2a2d0d9805a8" + ], + "x-ms-correlation-request-id": [ + "a5bae304-3c08-4d8f-afe7-2a2d0d9805a8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193706Z:a5bae304-3c08-4d8f-afe7-2a2d0d9805a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:06 GMT" + ], + "Content-Length": [ + "376" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"DhJx\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "ab90803b-ad94-401c-a6f1-b4a91defd0b9" + ], + "x-ms-correlation-request-id": [ + "ab90803b-ad94-401c-a6f1-b4a91defd0b9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193738Z:ab90803b-ad94-401c-a6f1-b4a91defd0b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:38 GMT" + ], + "Content-Length": [ + "376" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"DhJx\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "8d8874ba-9f8b-4867-9fbc-24abb7ce83d2" + ], + "x-ms-correlation-request-id": [ + "8d8874ba-9f8b-4867-9fbc-24abb7ce83d2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193809Z:8d8874ba-9f8b-4867-9fbc-24abb7ce83d2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:09 GMT" + ], + "Content-Length": [ + "375" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"DhJx\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "03379487-e7ea-4b05-9c11-0790ff6e803c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default/operationResults/b82c5129-86d4-4c1b-abf2-bfa4659d382f?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b82c5129-86d4-4c1b-abf2-bfa4659d382f?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "b82c5129-86d4-4c1b-abf2-bfa4659d382f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "37475c3c-e523-43e8-9077-6b6687f8c11c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193636Z:37475c3c-e523-43e8-9077-6b6687f8c11c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:36:36 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "16d62a26-d23d-4f32-90d0-c7eddb2fb1ec" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default/operationResults/7c353993-6b29-46d2-9fb9-a62107d3b2b6?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c353993-6b29-46d2-9fb9-a62107d3b2b6?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "7c353993-6b29-46d2-9fb9-a62107d3b2b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "e7845710-cc30-4d15-b44c-0a2ba7e71563" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193707Z:e7845710-cc30-4d15-b44c-0a2ba7e71563" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:07 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bcc009ad-043b-4d0a-abb2-a579dcae4f87" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default/operationResults/e119c04e-fe8a-4752-a284-1075cbc4c1d8?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e119c04e-fe8a-4752-a284-1075cbc4c1d8?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "e119c04e-fe8a-4752-a284-1075cbc4c1d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "058965ea-9387-4c0b-8cf3-a55658acdd62" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193739Z:058965ea-9387-4c0b-8cf3-a55658acdd62" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:38 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b82c5129-86d4-4c1b-abf2-bfa4659d382f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYjgyYzUxMjktODZkNC00YzFiLWFiZjItYmZhNDY1OWQzODJmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "5834dbf9-6d26-404b-8ba9-8df038936285" + ], + "x-ms-correlation-request-id": [ + "5834dbf9-6d26-404b-8ba9-8df038936285" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193706Z:5834dbf9-6d26-404b-8ba9-8df038936285" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:06 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b82c5129-86d4-4c1b-abf2-bfa4659d382f?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4107f312-39d9-4245-bbdd-a60ecf7bbeab" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "e13fc9b3-8e6b-4e18-b1d1-c0996411c38f" + ], + "x-ms-correlation-request-id": [ + "e13fc9b3-8e6b-4e18-b1d1-c0996411c38f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193706Z:e13fc9b3-8e6b-4e18-b1d1-c0996411c38f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:06 GMT" + ], + "Content-Length": [ + "1716" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001\",\r\n \"name\": \"db001\",\r\n \"location\": \"East US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db001.documents.azure.com:443/\",\r\n \"ipRangeFilter\": \"\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db001-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db001-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db001-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db001-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db001-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db001-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db001-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": []\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c353993-6b29-46d2-9fb9-a62107d3b2b6?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvN2MzNTM5OTMtNmIyOS00NmQyLTlmYjktYTYyMTA3ZDNiMmI2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "207751e2-0dfe-4395-892b-9fc9e7b9577b" + ], + "x-ms-correlation-request-id": [ + "207751e2-0dfe-4395-892b-9fc9e7b9577b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193738Z:207751e2-0dfe-4395-892b-9fc9e7b9577b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:37:37 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c353993-6b29-46d2-9fb9-a62107d3b2b6?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e119c04e-fe8a-4752-a284-1075cbc4c1d8?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTExOWMwNGUtZmU4YS00NzUyLWEyODQtMTA3NWNiYzRjMWQ4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "29e18d33-5c42-44d2-b2b1-706359337274" + ], + "x-ms-correlation-request-id": [ + "29e18d33-5c42-44d2-b2b1-706359337274" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193809Z:29e18d33-5c42-44d2-b2b1-706359337274" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:08 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e119c04e-fe8a-4752-a284-1075cbc4c1d8?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName\",\r\n \"shardKey\": {\r\n \"shardKeyPath\": \"Hash\"\r\n }\r\n },\r\n \"options\": {\r\n \"Throughput\": \"800\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "73133552-fc1e-4a72-b744-5b7415210809" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "200" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/operationResults/e9ea2707-f434-491e-94da-84ced13366fa?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e9ea2707-f434-491e-94da-84ced13366fa?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "e9ea2707-f434-491e-94da-84ced13366fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "9e426333-d6c8-4722-90ed-7e97198f1d94" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193810Z:9e426333-d6c8-4722-90ed-7e97198f1d94" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:09 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e9ea2707-f434-491e-94da-84ced13366fa?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTllYTI3MDctZjQzNC00OTFlLTk0ZGEtODRjZWQxMzM2NmZhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "da1303a1-6a19-45b9-ba6b-abf3ad3ac8c1" + ], + "x-ms-correlation-request-id": [ + "da1303a1-6a19-45b9-ba6b-abf3ad3ac8c1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193840Z:da1303a1-6a19-45b9-ba6b-abf3ad3ac8c1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:39 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e9ea2707-f434-491e-94da-84ced13366fa?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "0a9b46dd-0820-4956-8eba-d8958968ed9c" + ], + "x-ms-correlation-request-id": [ + "0a9b46dd-0820-4956-8eba-d8958968ed9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193841Z:0a9b46dd-0820-4956-8eba-d8958968ed9c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:40 GMT" + ], + "Content-Length": [ + "589" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collectionName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName\",\r\n \"_rid\": \"TXIXANU7fXM=\",\r\n \"_etag\": \"\\\"00002100-0000-0100-0000-5e863f2e0000\\\"\",\r\n \"_ts\": 1585856302,\r\n \"shardKey\": {\r\n \"shardKeyPath\": \"Hash\"\r\n },\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"_id\"\r\n ]\r\n },\r\n \"options\": {}\r\n },\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"DocumentDBDefaultIndex\"\r\n ]\r\n },\r\n \"options\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e2182fe-00d7-4941-bc20-9e24e62a374e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "ec7549b5-7ec0-49a5-b0fb-61172fbe6f8f" + ], + "x-ms-correlation-request-id": [ + "ec7549b5-7ec0-49a5-b0fb-61172fbe6f8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193841Z:ec7549b5-7ec0-49a5-b0fb-61172fbe6f8f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:40 GMT" + ], + "Content-Length": [ + "414" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings\",\r\n \"name\": \"yQA0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 800,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "5c915fd7-4be9-4a4a-8040-d9e7d8e58132" + ], + "x-ms-correlation-request-id": [ + "5c915fd7-4be9-4a4a-8040-d9e7d8e58132" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193912Z:5c915fd7-4be9-4a4a-8040-d9e7d8e58132" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:12 GMT" + ], + "Content-Length": [ + "414" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings\",\r\n \"name\": \"yQA0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "c499d055-aa5c-4d76-966a-84c44b0a020c" + ], + "x-ms-correlation-request-id": [ + "c499d055-aa5c-4d76-966a-84c44b0a020c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193944Z:c499d055-aa5c-4d76-966a-84c44b0a020c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:44 GMT" + ], + "Content-Length": [ + "414" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings\",\r\n \"name\": \"yQA0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "e867dd4c-cebb-4e8a-a56e-3f4828eddf13" + ], + "x-ms-correlation-request-id": [ + "e867dd4c-cebb-4e8a-a56e-3f4828eddf13" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194015Z:e867dd4c-cebb-4e8a-a56e-3f4828eddf13" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:14 GMT" + ], + "Content-Length": [ + "414" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings\",\r\n \"name\": \"yQA0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2be1ded8-ab3c-48e0-aa1c-8eb04d28ab4e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default/operationResults/4e62702f-bac4-4790-8931-96114b720bce?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4e62702f-bac4-4790-8931-96114b720bce?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "4e62702f-bac4-4790-8931-96114b720bce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "80b535e5-13bf-4695-b909-345187ab57a4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193842Z:80b535e5-13bf-4695-b909-345187ab57a4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:38:41 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b723c01e-a9d9-4de6-b2b2-e819d3f85778" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default/operationResults/39ffda1f-b273-4b80-ab52-67e196267737?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/39ffda1f-b273-4b80-ab52-67e196267737?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "39ffda1f-b273-4b80-ab52-67e196267737" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "1a765925-0e06-416a-9525-8f025e6d66fd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193913Z:1a765925-0e06-416a-9525-8f025e6d66fd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:13 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f3ffa34d-0b26-4e12-8388-6e37ef4cc08b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default/operationResults/27a0b6c5-9504-4cc7-bf01-e782bd20c6ae?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/27a0b6c5-9504-4cc7-bf01-e782bd20c6ae?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "27a0b6c5-9504-4cc7-bf01-e782bd20c6ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "52ab59d6-2f32-4ab6-a449-0caa5ba017e7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193945Z:52ab59d6-2f32-4ab6-a449-0caa5ba017e7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:44 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4e62702f-bac4-4790-8931-96114b720bce?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGU2MjcwMmYtYmFjNC00NzkwLTg5MzEtOTYxMTRiNzIwYmNlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "c4dfc272-11b7-4a58-a373-92bd2a09df7b" + ], + "x-ms-correlation-request-id": [ + "c4dfc272-11b7-4a58-a373-92bd2a09df7b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193912Z:c4dfc272-11b7-4a58-a373-92bd2a09df7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:12 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4e62702f-bac4-4790-8931-96114b720bce?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/39ffda1f-b273-4b80-ab52-67e196267737?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzlmZmRhMWYtYjI3My00YjgwLWFiNTItNjdlMTk2MjY3NzM3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "bc357e2d-35ef-4b12-9968-8b4d39d2481b" + ], + "x-ms-correlation-request-id": [ + "bc357e2d-35ef-4b12-9968-8b4d39d2481b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T193944Z:bc357e2d-35ef-4b12-9968-8b4d39d2481b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:39:43 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/39ffda1f-b273-4b80-ab52-67e196267737?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/27a0b6c5-9504-4cc7-bf01-e782bd20c6ae?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMjdhMGI2YzUtOTUwNC00Y2M3LWJmMDEtZTc4MmJkMjBjNmFlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "9b7ab18c-d3ba-4a39-90c9-a44eac8d0cee" + ], + "x-ms-correlation-request-id": [ + "9b7ab18c-d3ba-4a39-90c9-a44eac8d0cee" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194015Z:9b7ab18c-d3ba-4a39-90c9-a44eac8d0cee" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:14 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/27a0b6c5-9504-4cc7-bf01-e782bd20c6ae?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cc9d1e72-711a-4f73-8321-9b93def1894d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/operationResults/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "048d96e3-5dde-45d7-9688-de3103ea0046" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "2d96b61a-d933-45e0-ad0c-a428c0b94e08" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194016Z:2d96b61a-d933-45e0-ad0c-a428c0b94e08" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:15 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDQ4ZDk2ZTMtNWRkZS00NWQ3LTk2ODgtZGUzMTAzZWEwMDQ2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "1b97a614-4505-4d37-b102-2bc352d23d3f" + ], + "x-ms-correlation-request-id": [ + "1b97a614-4505-4d37-b102-2bc352d23d3f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194046Z:1b97a614-4505-4d37-b102-2bc352d23d3f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:46 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/operationResults/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lL29wZXJhdGlvblJlc3VsdHMvMDQ4ZDk2ZTMtNWRkZS00NWQ3LTk2ODgtZGUzMTAzZWEwMDQ2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "12a34427-18b0-4665-988d-e5414352b433" + ], + "x-ms-correlation-request-id": [ + "12a34427-18b0-4665-988d-e5414352b433" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194046Z:12a34427-18b0-4665-988d-e5414352b433" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:46 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/collections/collectionName/operationResults/048d96e3-5dde-45d7-9688-de3103ea0046?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "370b36b6-d8f3-4a18-9bc2-8c169df76e78" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/operationResults/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "9d66858e-acd4-4cd5-99e1-6f0e0b7512c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "afa4de6c-79cd-431f-88e8-07df191aaf45" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194047Z:afa4de6c-79cd-431f-88e8-07df191aaf45" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:40:46 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOWQ2Njg1OGUtYWNkNC00Y2Q1LTk5ZTEtNmYwZTBiNzUxMmMxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "5bbc41fa-9722-437c-867e-45682fb970f4" + ], + "x-ms-correlation-request-id": [ + "5bbc41fa-9722-437c-867e-45682fb970f4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194117Z:5bbc41fa-9722-437c-867e-45682fb970f4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:41:16 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/operationResults/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUzL29wZXJhdGlvblJlc3VsdHMvOWQ2Njg1OGUtYWNkNC00Y2Q1LTk5ZTEtNmYwZTBiNzUxMmMxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "57ce45c4-434c-4241-a26a-7bf0955294d2" + ], + "x-ms-correlation-request-id": [ + "57ce45c4-434c-4241-a26a-7bf0955294d2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T194117Z:57ce45c4-434c-4241-a26a-7bf0955294d2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 19:41:16 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName3/operationResults/9d66858e-acd4-4cd5-99e1-6f0e0b7512c1?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "12053b8f-cab5-4f5c-9c1a-870580142abd" + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlThroughputCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlThroughputCmdlets.json new file mode 100644 index 000000000000..26ee5364e28f --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlThroughputCmdlets.json @@ -0,0 +1,2168 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\"\r\n },\r\n \"options\": {\r\n \"Throughput\": \"1200\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "35c87f97-c541-448f-b197-cf42f9ee535c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "131" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/operationResults/82638618-2c99-4da9-875b-6bb91b4908fd?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/82638618-2c99-4da9-875b-6bb91b4908fd?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "82638618-2c99-4da9-875b-6bb91b4908fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "685008bc-86e2-4ce7-8f2b-a7abf0b48292" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235544Z:685008bc-86e2-4ce7-8f2b-a7abf0b48292" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:55:44 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/82638618-2c99-4da9-875b-6bb91b4908fd?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvODI2Mzg2MTgtMmM5OS00ZGE5LTg3NWItNmJiOTFiNDkwOGZkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "993acc3d-3eee-471c-b521-00bd70ca38a8" + ], + "x-ms-correlation-request-id": [ + "993acc3d-3eee-471c-b521-00bd70ca38a8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235615Z:993acc3d-3eee-471c-b521-00bd70ca38a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:15 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/82638618-2c99-4da9-875b-6bb91b4908fd?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "caf4bffb-c71b-4e72-a12a-e83e3d4c2302" + ], + "x-ms-correlation-request-id": [ + "caf4bffb-c71b-4e72-a12a-e83e3d4c2302" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235615Z:caf4bffb-c71b-4e72-a12a-e83e3d4c2302" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:15 GMT" + ], + "Content-Length": [ + "446" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName3\",\r\n \"_rid\": \"yj9cAA==\",\r\n \"_self\": \"dbs/yj9cAA==/\",\r\n \"_etag\": \"\\\"00002300-0000-0700-0000-5e8515090000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1585779977\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "330c6193-9c0b-485e-8a9f-7d760119ecc4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "1b04ebe2-1ffb-40bc-a912-a9d3831fac76" + ], + "x-ms-correlation-request-id": [ + "1b04ebe2-1ffb-40bc-a912-a9d3831fac76" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235616Z:1b04ebe2-1ffb-40bc-a912-a9d3831fac76" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:16 GMT" + ], + "Content-Length": [ + "372" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"npDk\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1200,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "feecb112-2eba-4924-b34c-2dbd632eaacf" + ], + "x-ms-correlation-request-id": [ + "feecb112-2eba-4924-b34c-2dbd632eaacf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235647Z:feecb112-2eba-4924-b34c-2dbd632eaacf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:47 GMT" + ], + "Content-Length": [ + "372" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"npDk\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "10195e5f-67e0-4b52-b956-1344418ba449" + ], + "x-ms-correlation-request-id": [ + "10195e5f-67e0-4b52-b956-1344418ba449" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235719Z:10195e5f-67e0-4b52-b956-1344418ba449" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:19 GMT" + ], + "Content-Length": [ + "372" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"npDk\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "70279cf1-b7c4-48fc-b702-1ba2a79643a7" + ], + "x-ms-correlation-request-id": [ + "70279cf1-b7c4-48fc-b702-1ba2a79643a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235751Z:70279cf1-b7c4-48fc-b702-1ba2a79643a7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:51 GMT" + ], + "Content-Length": [ + "371" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"npDk\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "501bf06d-5674-4d8e-a544-b39d855572de" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default/operationResults/984c2ca5-40b0-4227-bbf4-396cea96fd97?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/984c2ca5-40b0-4227-bbf4-396cea96fd97?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "984c2ca5-40b0-4227-bbf4-396cea96fd97" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "45cd77f7-c434-4612-bdbf-d0aca72080d4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235617Z:45cd77f7-c434-4612-bdbf-d0aca72080d4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:17 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "22cbd649-cb09-4669-a761-dbc1406840bb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default/operationResults/0718051e-4f75-4282-9a1f-c9f031cc263c?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0718051e-4f75-4282-9a1f-c9f031cc263c?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "0718051e-4f75-4282-9a1f-c9f031cc263c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "189d035c-7370-41aa-85c0-b304b748ebab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235649Z:189d035c-7370-41aa-85c0-b304b748ebab" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:48 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9a6e5cf6-8076-44cb-91a2-0c444c0d140a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default/operationResults/193fad92-348a-4e2c-8035-78c26aa8fd57?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/193fad92-348a-4e2c-8035-78c26aa8fd57?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "193fad92-348a-4e2c-8035-78c26aa8fd57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "f88111ed-8c5a-4435-b4c5-42500b4b3c5a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235720Z:f88111ed-8c5a-4435-b4c5-42500b4b3c5a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:19 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/984c2ca5-40b0-4227-bbf4-396cea96fd97?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTg0YzJjYTUtNDBiMC00MjI3LWJiZjQtMzk2Y2VhOTZmZDk3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "bdd02c57-8e72-4a0a-b223-3093e9ae6e94" + ], + "x-ms-correlation-request-id": [ + "bdd02c57-8e72-4a0a-b223-3093e9ae6e94" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235647Z:bdd02c57-8e72-4a0a-b223-3093e9ae6e94" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:56:46 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/984c2ca5-40b0-4227-bbf4-396cea96fd97?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0718051e-4f75-4282-9a1f-c9f031cc263c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDcxODA1MWUtNGY3NS00MjgyLTlhMWYtYzlmMDMxY2MyNjNjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "8fc06660-b691-4273-bb11-0ca9bd80ad0a" + ], + "x-ms-correlation-request-id": [ + "8fc06660-b691-4273-bb11-0ca9bd80ad0a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235719Z:8fc06660-b691-4273-bb11-0ca9bd80ad0a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:18 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0718051e-4f75-4282-9a1f-c9f031cc263c?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "36f1780a-7ee2-4c34-9fbe-5aa79bfbcbae" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "b4d03380-dcc1-4242-992b-5f946f69aeda" + ], + "x-ms-correlation-request-id": [ + "b4d03380-dcc1-4242-992b-5f946f69aeda" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235719Z:b4d03380-dcc1-4242-992b-5f946f69aeda" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:19 GMT" + ], + "Content-Length": [ + "1859" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812\",\r\n \"name\": \"cosmosdb9921232812\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmosdb9921232812.documents.azure.com:443/\",\r\n \"ipRangeFilter\": \"\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"apiProperties\": null,\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmosdb9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmosdb9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmosdb9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmosdb9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": []\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/193fad92-348a-4e2c-8035-78c26aa8fd57?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTkzZmFkOTItMzQ4YS00ZTJjLTgwMzUtNzhjMjZhYThmZDU3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "295e5dbe-dec5-4e34-9c22-4b623c882bc3" + ], + "x-ms-correlation-request-id": [ + "295e5dbe-dec5-4e34-9c22-4b623c882bc3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235751Z:295e5dbe-dec5-4e34-9c22-4b623c882bc3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:51 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/193fad92-348a-4e2c-8035-78c26aa8fd57?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo/bar\"\r\n ],\r\n \"kind\": \"Hash\"\r\n }\r\n },\r\n \"options\": {\r\n \"Throughput\": \"800\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cb45ae52-86e7-477b-b139-a3e086fcaa20" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "249" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/operationResults/a47aa1b8-e356-42ce-8ec9-5925c65b4d1d?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a47aa1b8-e356-42ce-8ec9-5925c65b4d1d?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "a47aa1b8-e356-42ce-8ec9-5925c65b4d1d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "39308d22-a99d-46d5-b1fd-06f4fdcc5967" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235752Z:39308d22-a99d-46d5-b1fd-06f4fdcc5967" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:57:52 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a47aa1b8-e356-42ce-8ec9-5925c65b4d1d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTQ3YWExYjgtZTM1Ni00MmNlLThlYzktNTkyNWM2NWI0ZDFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "5ee5ddbc-8a23-43c7-b59a-81faa2c0a8fd" + ], + "x-ms-correlation-request-id": [ + "5ee5ddbc-8a23-43c7-b59a-81faa2c0a8fd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235822Z:5ee5ddbc-8a23-43c7-b59a-81faa2c0a8fd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:22 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a47aa1b8-e356-42ce-8ec9-5925c65b4d1d?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "b980dca2-2ad1-4586-b092-3604484019ca" + ], + "x-ms-correlation-request-id": [ + "b980dca2-2ad1-4586-b092-3604484019ca" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235823Z:b980dca2-2ad1-4586-b092-3604484019ca" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:22 GMT" + ], + "Content-Length": [ + "1043" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo/bar\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"yj9cAMH2MFg=\",\r\n \"_ts\": 1585785476,\r\n \"_self\": \"dbs/yj9cAA==/colls/yj9cAMH2MFg=/\",\r\n \"_etag\": \"\\\"00003a00-0000-0700-0000-5e852a840000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "19d5742f-5f10-4007-a81f-c43c328ea4dd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "70460c88-5f7e-42c9-9cd7-8f53b151ce7f" + ], + "x-ms-correlation-request-id": [ + "70460c88-5f7e-42c9-9cd7-8f53b151ce7f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235823Z:70460c88-5f7e-42c9-9cd7-8f53b151ce7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:23 GMT" + ], + "Content-Length": [ + "407" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings\",\r\n \"name\": \"eVaR\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 800,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "ba8764e3-995c-422e-8ae6-443af023870d" + ], + "x-ms-correlation-request-id": [ + "ba8764e3-995c-422e-8ae6-443af023870d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235855Z:ba8764e3-995c-422e-8ae6-443af023870d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:54 GMT" + ], + "Content-Length": [ + "407" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings\",\r\n \"name\": \"eVaR\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "b7f83ec8-50c1-45ac-b7a5-e2bcad64d3f9" + ], + "x-ms-correlation-request-id": [ + "b7f83ec8-50c1-45ac-b7a5-e2bcad64d3f9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235927Z:b7f83ec8-50c1-45ac-b7a5-e2bcad64d3f9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:27 GMT" + ], + "Content-Length": [ + "407" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings\",\r\n \"name\": \"eVaR\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "fecf77cc-256f-4f48-ad53-3bcad694647a" + ], + "x-ms-correlation-request-id": [ + "fecf77cc-256f-4f48-ad53-3bcad694647a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235959Z:fecf77cc-256f-4f48-ad53-3bcad694647a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:59 GMT" + ], + "Content-Length": [ + "407" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings\",\r\n \"name\": \"eVaR\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c4276694-db0e-444a-ac39-46a0f1af70c2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default/operationResults/1271216c-71fb-4615-850b-1c7a9a48e716?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1271216c-71fb-4615-850b-1c7a9a48e716?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "1271216c-71fb-4615-850b-1c7a9a48e716" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "199963fd-cb28-4cff-adf7-ce56e69aca3f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235824Z:199963fd-cb28-4cff-adf7-ce56e69aca3f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:23 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 600\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd6eca14-044e-4615-accd-be0a3fcfeff3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default/operationResults/4c99d626-2346-4b7c-9cd5-015cb095500d?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c99d626-2346-4b7c-9cd5-015cb095500d?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "4c99d626-2346-4b7c-9cd5-015cb095500d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "1dd48b76-651c-4006-92d6-766939093698" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235856Z:1dd48b76-651c-4006-92d6-766939093698" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:55 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 500\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e215d78-8ce3-469c-beed-2a40ed96716e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default/operationResults/59ccd947-59d4-4e54-9e13-a0d6ccfe7f96?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/59ccd947-59d4-4e54-9e13-a0d6ccfe7f96?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "59ccd947-59d4-4e54-9e13-a0d6ccfe7f96" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "1ab45ec7-606c-4a64-886b-57bc092c7b4c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235928Z:1ab45ec7-606c-4a64-886b-57bc092c7b4c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:28 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1271216c-71fb-4615-850b-1c7a9a48e716?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTI3MTIxNmMtNzFmYi00NjE1LTg1MGItMWM3YTlhNDhlNzE2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "bfa56d54-7edc-422a-a451-a75b5428a9be" + ], + "x-ms-correlation-request-id": [ + "bfa56d54-7edc-422a-a451-a75b5428a9be" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235854Z:bfa56d54-7edc-422a-a451-a75b5428a9be" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:58:54 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1271216c-71fb-4615-850b-1c7a9a48e716?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c99d626-2346-4b7c-9cd5-015cb095500d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGM5OWQ2MjYtMjM0Ni00YjdjLTljZDUtMDE1Y2IwOTU1MDBkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "c3eb47eb-f13d-4e08-9a1d-109c959299bf" + ], + "x-ms-correlation-request-id": [ + "c3eb47eb-f13d-4e08-9a1d-109c959299bf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235926Z:c3eb47eb-f13d-4e08-9a1d-109c959299bf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:26 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c99d626-2346-4b7c-9cd5-015cb095500d?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/59ccd947-59d4-4e54-9e13-a0d6ccfe7f96?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTljY2Q5NDctNTlkNC00ZTU0LTllMTMtYTBkNmNjZmU3Zjk2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "3ed2fd77-4602-4cad-b7d0-ecaf0e669e42" + ], + "x-ms-correlation-request-id": [ + "3ed2fd77-4602-4cad-b7d0-ecaf0e669e42" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235958Z:3ed2fd77-4602-4cad-b7d0-ecaf0e669e42" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:58 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/59ccd947-59d4-4e54-9e13-a0d6ccfe7f96?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "118a8712-8de8-45e1-a0ac-13cd036361c7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/operationResults/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "2e8d61f1-ab11-49b5-8938-f44873e5fd93" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "fcbf4104-5821-4038-803c-e04debbd75b8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200401T235959Z:fcbf4104-5821-4038-803c-e04debbd75b8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 Apr 2020 23:59:59 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmU4ZDYxZjEtYWIxMS00OWI1LTg5MzgtZjQ0ODczZTVmZDkzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "02ad3b65-f5ea-470b-a2ca-4f379ffadaa2" + ], + "x-ms-correlation-request-id": [ + "02ad3b65-f5ea-470b-a2ca-4f379ffadaa2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T000030Z:02ad3b65-f5ea-470b-a2ca-4f379ffadaa2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 00:00:29 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/operationResults/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL2NvbnRhaW5lcnMvY29udGFpbmVyTmFtZS9vcGVyYXRpb25SZXN1bHRzLzJlOGQ2MWYxLWFiMTEtNDliNS04OTM4LWY0NDg3M2U1ZmQ5Mz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "55110ca1-0f70-481f-b014-a09a3307418a" + ], + "x-ms-correlation-request-id": [ + "55110ca1-0f70-481f-b014-a09a3307418a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T000030Z:55110ca1-0f70-481f-b014-a09a3307418a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 00:00:29 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/containers/containerName/operationResults/2e8d61f1-ab11-49b5-8938-f44873e5fd93?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5f504de1-d332-442f-a8f4-e523fc3745d9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/operationResults/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "1b16ccf6-4f51-4eed-8e4b-2ff323a0552f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7c47550e-43ea-474b-9ebb-d4f601c1bde3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T000031Z:7c47550e-43ea-474b-9ebb-d4f601c1bde3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 00:00:30 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMWIxNmNjZjYtNGY1MS00ZWVkLThlNGItMmZmMzIzYTA1NTJmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "bf27a655-958a-4400-888f-091b7ac7f351" + ], + "x-ms-correlation-request-id": [ + "bf27a655-958a-4400-888f-091b7ac7f351" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T000101Z:bf27a655-958a-4400-888f-091b7ac7f351" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 00:01:00 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/operationResults/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUzL29wZXJhdGlvblJlc3VsdHMvMWIxNmNjZjYtNGY1MS00ZWVkLThlNGItMmZmMzIzYTA1NTJmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "81546e8d-3171-4751-816c-536de6ef9822" + ], + "x-ms-correlation-request-id": [ + "81546e8d-3171-4751-816c-536de6ef9822" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T000101Z:81546e8d-3171-4751-816c-536de6ef9822" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 00:01:00 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName3/operationResults/1b16ccf6-4f51-4eed-8e4b-2ff323a0552f?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "12053b8f-cab5-4f5c-9c1a-870580142abd" + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableThroughputCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableThroughputCmdlets.json new file mode 100644 index 000000000000..f241767482f5 --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableThroughputCmdlets.json @@ -0,0 +1,1121 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName3\"\r\n },\r\n \"options\": {\r\n \"Throughput\": \"1200\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "32809554-e921-41d6-81c5-1864c00570f1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "134" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/operationResults/91937a0c-9f7e-46bb-a2a4-7006a3c22535?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/91937a0c-9f7e-46bb-a2a4-7006a3c22535?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "91937a0c-9f7e-46bb-a2a4-7006a3c22535" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "24340fe4-7cc4-41f0-84f6-57097e5d3c59" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201225Z:24340fe4-7cc4-41f0-84f6-57097e5d3c59" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:12:24 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/91937a0c-9f7e-46bb-a2a4-7006a3c22535?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTE5MzdhMGMtOWY3ZS00NmJiLWEyYTQtNzAwNmEzYzIyNTM1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-request-id": [ + "dfa27733-f5e9-4b7f-8cef-7341e9698cde" + ], + "x-ms-correlation-request-id": [ + "dfa27733-f5e9-4b7f-8cef-7341e9698cde" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201255Z:dfa27733-f5e9-4b7f-8cef-7341e9698cde" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:12:54 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/91937a0c-9f7e-46bb-a2a4-7006a3c22535?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-request-id": [ + "787510ba-8a66-4cb8-bc61-e4f1a7de9abe" + ], + "x-ms-correlation-request-id": [ + "787510ba-8a66-4cb8-bc61-e4f1a7de9abe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201255Z:787510ba-8a66-4cb8-bc61-e4f1a7de9abe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:12:54 GMT" + ], + "Content-Length": [ + "384" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName3\",\r\n \"_rid\": \"bilIANXXTtY=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-085b-5207240101d6\\\"\",\r\n \"_ts\": 1585769136\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "000264c3-c772-4d48-bf3f-e28e09d2459b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-request-id": [ + "4b372869-549c-47e4-8dce-8396587e2848" + ], + "x-ms-correlation-request-id": [ + "4b372869-549c-47e4-8dce-8396587e2848" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201256Z:4b372869-549c-47e4-8dce-8396587e2848" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:12:55 GMT" + ], + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"Cz7p\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1200,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-request-id": [ + "1327db8f-2fe9-4c18-9c69-9dd6028b9281" + ], + "x-ms-correlation-request-id": [ + "1327db8f-2fe9-4c18-9c69-9dd6028b9281" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201327Z:1327db8f-2fe9-4c18-9c69-9dd6028b9281" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:27 GMT" + ], + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"Cz7p\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-request-id": [ + "340d0f36-d77d-4684-b7b5-a11e688b1970" + ], + "x-ms-correlation-request-id": [ + "340d0f36-d77d-4684-b7b5-a11e688b1970" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201358Z:340d0f36-d77d-4684-b7b5-a11e688b1970" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:58 GMT" + ], + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"Cz7p\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-request-id": [ + "e205fb2f-19cd-4f31-b7b6-459ee5a5f6e3" + ], + "x-ms-correlation-request-id": [ + "e205fb2f-19cd-4f31-b7b6-459ee5a5f6e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201429Z:e205fb2f-19cd-4f31-b7b6-459ee5a5f6e3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:14:29 GMT" + ], + "Content-Length": [ + "359" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"Cz7p\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1100\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0d37a15b-1a51-4ee5-af9f-e83f97612f3f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default/operationResults/abb7ff84-766d-487c-baf2-d726d6ed45ed?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/abb7ff84-766d-487c-baf2-d726d6ed45ed?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "abb7ff84-766d-487c-baf2-d726d6ed45ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "79545835-bece-40b1-8ba5-e5cee9e4d35b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201256Z:79545835-bece-40b1-8ba5-e5cee9e4d35b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:12:55 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 1000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "09547146-4322-4fc1-a49c-363c364b0017" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default/operationResults/81124129-19d5-458c-8dc1-50676dfcf5be?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/81124129-19d5-458c-8dc1-50676dfcf5be?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "81124129-19d5-458c-8dc1-50676dfcf5be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "de167ab3-6306-4577-8aac-52da3dbf992f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201327Z:de167ab3-6306-4577-8aac-52da3dbf992f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:27 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 900\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "338b9a0f-e4be-4686-96b6-88b6ccbbd38f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "79" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default/operationResults/f6e51d7f-8a1f-4cb2-a684-94e365297310?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/f6e51d7f-8a1f-4cb2-a684-94e365297310?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "f6e51d7f-8a1f-4cb2-a684-94e365297310" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "6c81086e-4c19-401e-b9b0-65150dc484ce" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201358Z:6c81086e-4c19-401e-b9b0-65150dc484ce" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:58 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/throughputSettings/default?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/abb7ff84-766d-487c-baf2-d726d6ed45ed?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWJiN2ZmODQtNzY2ZC00ODdjLWJhZjItZDcyNmQ2ZWQ0NWVkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-request-id": [ + "306c12b0-80c1-4177-b0e0-c5957185718e" + ], + "x-ms-correlation-request-id": [ + "306c12b0-80c1-4177-b0e0-c5957185718e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201326Z:306c12b0-80c1-4177-b0e0-c5957185718e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:26 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/abb7ff84-766d-487c-baf2-d726d6ed45ed?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8880a6a5-191d-47c2-b03d-6eda01d86262" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-request-id": [ + "786b8758-d1fe-43a0-9594-e823527a261a" + ], + "x-ms-correlation-request-id": [ + "786b8758-d1fe-43a0-9594-e823527a261a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201327Z:786b8758-d1fe-43a0-9594-e823527a261a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:27 GMT" + ], + "Content-Length": [ + "1827" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527\",\r\n \"name\": \"db2527\",\r\n \"location\": \"East US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db2527.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://db2527.table.cosmos.azure.com:443/\",\r\n \"ipRangeFilter\": \"\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"apiProperties\": null,\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db2527-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db2527-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db2527-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db2527-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db2527-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://db2527-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db2527-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/81124129-19d5-458c-8dc1-50676dfcf5be?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvODExMjQxMjktMTlkNS00NThjLThkYzEtNTA2NzZkZmNmNWJlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-request-id": [ + "9e7ad53f-706c-42a8-8920-49527a809e0c" + ], + "x-ms-correlation-request-id": [ + "9e7ad53f-706c-42a8-8920-49527a809e0c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201357Z:9e7ad53f-706c-42a8-8920-49527a809e0c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:13:57 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/81124129-19d5-458c-8dc1-50676dfcf5be?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/f6e51d7f-8a1f-4cb2-a684-94e365297310?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZjZlNTFkN2YtOGExZi00Y2IyLWE2ODQtOTRlMzY1Mjk3MzEwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-request-id": [ + "6d9247a2-23d9-4c3a-a947-e2966c1f3356" + ], + "x-ms-correlation-request-id": [ + "6d9247a2-23d9-4c3a-a947-e2966c1f3356" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201429Z:6d9247a2-23d9-4c3a-a947-e2966c1f3356" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:14:28 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/f6e51d7f-8a1f-4cb2-a684-94e365297310?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7b063de2-fe55-411d-b724-d1c67a59be59" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/operationResults/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "56168366-2e5a-4279-abd4-3566a603758e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "90666150-c58e-40eb-ac5d-cf1892b98676" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201429Z:90666150-c58e-40eb-ac5d-cf1892b98676" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:14:29 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTYxNjgzNjYtMmU1YS00Mjc5LWFiZDQtMzU2NmE2MDM3NThlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-request-id": [ + "7aa262b8-a537-4aa9-b3d6-ab83993aac0b" + ], + "x-ms-correlation-request-id": [ + "7aa262b8-a537-4aa9-b3d6-ab83993aac0b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201459Z:7aa262b8-a537-4aa9-b3d6-ab83993aac0b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:14:59 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/operationResults/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUzL29wZXJhdGlvblJlc3VsdHMvNTYxNjgzNjYtMmU1YS00Mjc5LWFiZDQtMzU2NmE2MDM3NThlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27817.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.10.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "9a04e672-ea25-4c37-affd-1aafffa9bb72" + ], + "x-ms-correlation-request-id": [ + "9a04e672-ea25-4c37-affd-1aafffa9bb72" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200402T201500Z:9a04e672-ea25-4c37-affd-1aafffa9bb72" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 Apr 2020 20:14:59 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName3/operationResults/56168366-2e5a-4279-abd4-3566a603758e?api-version=2019-08-01" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "12053b8f-cab5-4f5c-9c1a-870580142abd" + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 index 432c12ad3209..b3116b19f5f6 100644 --- a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 +++ b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 @@ -128,7 +128,12 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer', 'Remove-AzCosmosDBMongoDBCollection', 'Remove-AzCosmosDBMongoDBDatabase', 'Set-AzCosmosDBMongoDBCollection', 'Set-AzCosmosDBMongoDBDatabase', - 'New-AzCosmosDBMongoDBIndex' + 'New-AzCosmosDBMongoDBIndex', + "Update-AzCosmosDBSqlContainerThroughput", "Update-AzCosmosDBSqlDatabaseThroughput", + "Update-AzCosmosDBMongoDBCollectionThroughput", "Update-AzCosmosDBMongoDBDatabaseThroughput", + "Update-AzCosmosDBGremlinGraphThroughput", "Update-AzCosmosDBGremlinDatabaseThroughput", + "Update-AzCosmosDBCassandraTableThroughput", "Update-AzCosmosDBCassandraKeyspaceThroughput", + "Update-AzCosmosDBTableThroughput" # Variables to export from this module # VariablesToExport = @() diff --git a/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraKeyspaceThroughput.cs b/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraKeyspaceThroughput.cs new file mode 100644 index 000000000000..e6f391249790 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraKeyspaceThroughput.cs @@ -0,0 +1,87 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Commands.CosmosDB.Helpers; +using Microsoft.Azure.Management.CosmosDB; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraKeyspaceThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBCassandraKeyspaceThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.KeyspaceNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.CassandraKeyspaceThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)] + [ValidateNotNull] + public PSDatabaseAccount ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.CassandraKeyspaceObjectHelpMessage)] + [ValidateNotNull] + public PSCassandraKeyspaceGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + AccountName = resourceIdentifier.ResourceName; + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Cassandra Keyspace")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.UpdateCassandraKeyspaceThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraTableThroughput.cs b/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraTableThroughput.cs new file mode 100644 index 000000000000..856afe777793 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Cassandra/UpdateAzCosmosDBCassandraTableThroughput.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.CosmosDB.Helpers; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Management.CosmosDB.Models; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraTableThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBCassandraTableThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.KeyspaceNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string KeyspaceName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.CassandraTableNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.CassandraTableThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.CassandraKeyspaceObjectHelpMessage)] + [ValidateNotNull] + public PSCassandraKeyspaceGetResults ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.CassandraTableObjectHelpMessage)] + [ValidateNotNull] + public PSCassandraTableGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + KeyspaceName = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + KeyspaceName = ResourceIdentifierExtensions.GetCassandraKeyspaceName(resourceIdentifier); + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Cassandra Table")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.UpdateCassandraTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/ChangeLog.md b/src/CosmosDB/CosmosDB/ChangeLog.md index c85a358fe9da..074e87c991a4 100644 --- a/src/CosmosDB/CosmosDB/ChangeLog.md +++ b/src/CosmosDB/CosmosDB/ChangeLog.md @@ -19,6 +19,12 @@ --> ## Upcoming Release +* Introduces cmdlets to update throughput for Sql Database and Container, Cassandra Keyspace and Table, MongoDB Database and Collection, Gremlin Database and Graph and Table. + - Update-AzCosmosDBSqlContainerThroughput, Update-AzCosmosDBSqlDatabaseThroughput, + Update-AzCosmosDBMongoDBCollectionThroughput, Update-AzCosmosDBMongoDBDatabaseThroughput, + Update-AzCosmosDBGremlinGraphThroughput, Update-AzCosmosDBGremlinDatabaseThroughput, + Update-AzCosmosDBCassandraTableThroughput, Update-AzCosmosDBCassandraKeyspaceThroughput, + Update-AzCosmosDBTableThroughput ## Version 0.1.3 * Allowing Account Creation for API Types: Gremlin, Cassandra and Table. diff --git a/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinDatabaseThroughput.cs b/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinDatabaseThroughput.cs new file mode 100644 index 000000000000..ae7bb20ff534 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinDatabaseThroughput.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Commands.CosmosDB.Helpers; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinDatabaseThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBGremlinDatabaseThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.GremlinDatabaseThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)] + [ValidateNotNull] + public PSDatabaseAccount ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.GremlinDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSGremlinDatabaseGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + AccountName = resourceIdentifier.ResourceName; + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Gremlin Database")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.UpdateGremlinDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinGraphThroughput.cs b/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinGraphThroughput.cs new file mode 100644 index 000000000000..a3ba6ce8855b --- /dev/null +++ b/src/CosmosDB/CosmosDB/Gremlin/UpdateAzCosmosDBGremlinGraphThroughput.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.CosmosDB.Helpers; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Management.CosmosDB.Models; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinGraphThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBGremlinGraphThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string DatabaseName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.GraphNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.GremlinGraphThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.GremlinDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSGremlinDatabaseGetResults ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.GremlinGraphObjectHelpMessage)] + [ValidateNotNull] + public PSGremlinGraphGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + DatabaseName = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + DatabaseName = ResourceIdentifierExtensions.GetGremlinDatabaseName(resourceIdentifier); + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Gremlin Graph")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.UpdateGremlinGraphThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Helpers/Constants.cs b/src/CosmosDB/CosmosDB/Helpers/Constants.cs index b86f153fa2b3..5fa060708258 100644 --- a/src/CosmosDB/CosmosDB/Helpers/Constants.cs +++ b/src/CosmosDB/CosmosDB/Helpers/Constants.cs @@ -104,7 +104,7 @@ internal static class Constants //MongoDB cmdlets help messages public const string CollectionNameHelpMessage = "Collection name."; public const string MongoDatabaseObjectHelpMessage = "Mongo Database object."; - public const string MongoCollectionObjectHelpMessage = "Sql Container object."; + public const string MongoCollectionObjectHelpMessage = "Mongo Collection object."; public const string MongoCollectionDetailedParamHelpMessage = "If provided then, the cmdlet returns the collection with the corresponding throughput value."; public const string MongoDatabaseDetailedParamHelpMessage = "If provided then, the cmdlet returns the database with the corresponding throughput value."; public const string MongoShardKeyHelpMessage = "Sharding key path."; diff --git a/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs b/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs index a1abd1c57745..7a57ad86bde4 100644 --- a/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs +++ b/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs @@ -91,6 +91,11 @@ public static string GetCassandraKeyspaceName(this ResourceIdentifier resourceId return GetChildResourceName(resourceId, CassandraKeyspaces); } + public static string GetTableName(this ResourceIdentifier resourceId) + { + return GetChildResourceName(resourceId, Tables); + } + private static string GetChildResourceName(this ResourceIdentifier resourceId, string resourceType) { var parentResource = resourceId.ParentResource.Split(new[] { '/' }); diff --git a/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBCollectionThroughput.cs b/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBCollectionThroughput.cs new file mode 100644 index 000000000000..436ad1f473ad --- /dev/null +++ b/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBCollectionThroughput.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.CosmosDB.Helpers; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Management.CosmosDB.Models; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBCollectionThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBMongoDBCollectionThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string DatabaseName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.CollectionNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.SqlContainerThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.MongoDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSMongoDBDatabaseGetResults ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.MongoCollectionObjectHelpMessage)] + [ValidateNotNull] + public PSMongoDBCollectionGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + DatabaseName = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + DatabaseName = ResourceIdentifierExtensions.GetMongoDBDatabaseName(resourceIdentifier); + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB MongoDB Collection")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.UpdateMongoDBCollectionThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBDatabaseThroughput.cs b/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBDatabaseThroughput.cs new file mode 100644 index 000000000000..e07a5e4cef38 --- /dev/null +++ b/src/CosmosDB/CosmosDB/MongoDB/UpdateAzCosmosDBMongoDBDatabaseThroughput.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Commands.CosmosDB.Helpers; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBDatabaseThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBMongoDBDatabaseThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.MongoDatabaseThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)] + [ValidateNotNull] + public PSDatabaseAccount ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.MongoDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSMongoDBDatabaseGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + AccountName = resourceIdentifier.ResourceName; + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB MongoDB Database")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.UpdateMongoDBDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlContainerThroughput.cs b/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlContainerThroughput.cs new file mode 100644 index 000000000000..7f2d9e49f0cd --- /dev/null +++ b/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlContainerThroughput.cs @@ -0,0 +1,93 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.CosmosDB.Helpers; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Management.CosmosDB.Models; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlContainerThroughput" , DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBSqlContainerThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string DatabaseName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.ContainerNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.SqlContainerThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.SqlDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSSqlDatabaseGetResults ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.SqlContainerObjectHelpMessage)] + [ValidateNotNull] + public PSSqlContainerGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + DatabaseName = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + DatabaseName = ResourceIdentifierExtensions.GetSqlDatabaseName(resourceIdentifier); + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Sql Container")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.SqlResources.UpdateSqlContainerThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlDatabaseThroughput.cs b/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlDatabaseThroughput.cs new file mode 100644 index 000000000000..7ec4ebf01d2a --- /dev/null +++ b/src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlDatabaseThroughput.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Commands.CosmosDB.Helpers; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlDatabaseThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBSqlDatabaseThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.DatabaseNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.SqlDatabaseThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)] + [ValidateNotNull] + public PSDatabaseAccount ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.SqlDatabaseObjectHelpMessage)] + [ValidateNotNull] + public PSSqlDatabaseGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + AccountName = resourceIdentifier.ResourceName; + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Sql Database")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.SqlResources.UpdateSqlDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Table/UpdateAzCosmosDBTableThroughput.cs b/src/CosmosDB/CosmosDB/Table/UpdateAzCosmosDBTableThroughput.cs new file mode 100644 index 000000000000..bd466d96dc30 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Table/UpdateAzCosmosDBTableThroughput.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.CosmosDB.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Commands.CosmosDB.Helpers; + +namespace Microsoft.Azure.Commands.CosmosDB +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBTableThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))] + public class UpdateAzCosmosDBTableThroughput : AzureCosmosDBCmdletBase + { + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string AccountName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.TableNameHelpMessage)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = true, HelpMessage = Constants.TableThroughputHelpMessage)] + [ValidateNotNull] + public int Throughput { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)] + [ValidateNotNull] + public PSDatabaseAccount ParentObject { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.TableObjectHelpMessage)] + [ValidateNotNull] + public PSTableGetResults InputObject { get; set; } + + public override void ExecuteCmdlet() + { + if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(ParentObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + AccountName = resourceIdentifier.ResourceName; + } + else if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal)) + { + ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id); + ResourceGroupName = resourceIdentifier.ResourceGroupName; + Name = resourceIdentifier.ResourceName; + AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); + } + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters + { + Resource = new ThroughputSettingsResource + { + Throughput = Throughput + } + }; + + if (ShouldProcess(Name, "Updating the throughput value of a CosmosDB Table")) + { + ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.TableResources.UpdateTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, throughputSettingsUpdateParameters).GetAwaiter().GetResult().Body; + WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults)); + } + + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md index c27ab55b1665..28efb5a8222c 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md @@ -1,7 +1,7 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version:https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlincompositepath +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlincompositepath schema: 2.0.0 --- @@ -30,13 +30,14 @@ Path Order ---- ----- /abc Ascending ``` + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -52,7 +53,7 @@ Gets or sets sort order for composite paths. Possible values include: 'Ascending', 'Descending' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -68,7 +69,7 @@ The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md index fd8e74ebc969..684aadab6825 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md @@ -30,13 +30,14 @@ Mode ConflictResolutionPath ConflictResolutionProcedure ---- ---------------------- --------------------------- LastWriterWins /myPath ``` + ## PARAMETERS ### -ConflictResolutionProcedure To be provided when the type is custom. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -51,7 +52,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -66,7 +67,7 @@ Accept wildcard characters: False To be provided when the type is LastWriterWins. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -81,7 +82,7 @@ Accept wildcard characters: False Can have the values: LastWriterWins, Custom, Manual. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md index e27fcf00d328..ce1d87378a03 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md @@ -30,13 +30,14 @@ Path Indexes ---- ------- /* {Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes} ``` + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -51,7 +52,7 @@ Accept wildcard characters: False List of indexes for this path ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes[] +Type: PSIndexes[] Parameter Sets: (All) Aliases: @@ -67,7 +68,7 @@ The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md index 422199e64ddd..2f98da5f8db0 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md @@ -1,7 +1,7 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version:https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinincludedpathindex +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinincludedpathindex schema: 2.0.0 --- @@ -30,6 +30,7 @@ DataType Precision Kind -------- --------- ---- String -1 Hash ``` + ## PARAMETERS ### -DataType @@ -37,7 +38,7 @@ Datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -52,7 +53,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -68,7 +69,7 @@ Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -84,7 +85,7 @@ The precision of the index. -1 is maximum precision. ```yaml -Type: System.Nullable`1[System.Int32] +Type: Int32 Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md index 551940ac67bf..f59ae4b99c8b 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md @@ -52,7 +52,7 @@ SpatialIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec} Bool to indicate if the indexing policy is automatic ```yaml -Type: System.Nullable`1[System.Boolean] +Type: Boolean Parameter Sets: (All) Aliases: @@ -67,7 +67,7 @@ Accept wildcard characters: False Array of array of objects of type Microsoft.Azure.Commands.CosmosDB.PSCompositePath ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath[][] +Type: PSCompositePath[][] Parameter Sets: (All) Aliases: @@ -82,7 +82,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -97,7 +97,7 @@ Accept wildcard characters: False Array of strings containing excludedPath(Specifies a path within a JSON document to be excluded in the Azure Cosmos DB service.) elements. ```yaml -Type: System.String[] +Type: String[] Parameter Sets: (All) Aliases: @@ -112,7 +112,7 @@ Accept wildcard characters: False Array of strings containing includedPath (Specifies a path within a JSON document to be included in the Azure Cosmos DB service.) elements. ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath[] +Type: PSIncludedPath[] Parameter Sets: (All) Aliases: @@ -128,7 +128,7 @@ Indicates the indexing mode. Possible values include: 'Consistent', 'Lazy', 'None' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -143,7 +143,7 @@ Accept wildcard characters: False Array of objects of type Microsoft.Azure.Commands.CosmosDB.PSSpatialSpec ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec[] +Type: PSSpatialSpec[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md index b3d39672f6d3..9d6caf52df80 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md @@ -36,7 +36,7 @@ Path Types The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -51,7 +51,7 @@ Accept wildcard characters: False Path in JSON document to index. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -67,7 +67,7 @@ Array of strings with acceptable values: Point, LineString, Polygon, MultiPolygo Represent's paths spatial type. ```yaml -Type: System.String[] +Type: String[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md index f543e4eb5f65..134b844c793d 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md @@ -35,7 +35,7 @@ UniqueKeys The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -50,7 +50,7 @@ Accept wildcard characters: False Array of string of path values ```yaml -Type: System.String[] +Type: String[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md index 5e14bf614e17..086547d92e8a 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md @@ -33,14 +33,13 @@ PS C:\> $uk = New-AzCosmosDBGremlinUniqueKey -Path "abc" {Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUniqueKey, Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUniqueKey} ``` - ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -55,7 +54,7 @@ Accept wildcard characters: False Array of objects of type PSUniqueKey. ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSUniqueKey[] +Type: PSUniqueKey[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md index 99cff6a97504..0c47ed715d39 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md @@ -30,13 +30,14 @@ Path Order ---- ----- /abc Ascending ``` + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -52,7 +53,7 @@ Gets or sets sort order for composite paths. Possible values include: 'Ascending', 'Descending' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -68,7 +69,7 @@ The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md index fc4618ba3d78..1cb15fab89c8 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md @@ -39,7 +39,7 @@ LastWriterWins /myPath To be provided when the type is custom. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -54,7 +54,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -69,7 +69,7 @@ Accept wildcard characters: False To be provided when the type is LastWriterWins. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -84,7 +84,7 @@ Accept wildcard characters: False Can have the values: LastWriterWins, Custom, Manual. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md index d954035c7ad7..fac5f6762fb5 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md @@ -33,13 +33,14 @@ Path Indexes ---- ------- /* {Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes,Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes} ``` + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -54,7 +55,7 @@ Accept wildcard characters: False List of indexes for this path ```yaml -Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes[] +Type: PSIndexes[] Parameter Sets: (All) Aliases: @@ -70,7 +71,7 @@ The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md index a7b6147186a6..05007ccb264d 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md @@ -28,8 +28,8 @@ PS C:\> New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind DataType Precision Kind -------- --------- ---- String -1 Hash - ``` + ## PARAMETERS ### -DataType @@ -37,7 +37,7 @@ Datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -52,7 +52,7 @@ Accept wildcard characters: False The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -68,7 +68,7 @@ Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial' ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -84,7 +84,7 @@ The precision of the index. -1 is maximum precision. ```yaml -Type: System.Nullable`1[System.Int32] +Type: Int32 Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md index 8e1ce2fcef17..186ca0b6c6a0 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md @@ -41,7 +41,6 @@ ExcludedPaths : {Microsoft.Azure.Commands.CosmosDB.Models.PSExcludedPath} CompositeIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath, Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath} SpatialIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec} - ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md index 17294197d230..be635fec994d 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md @@ -29,13 +29,14 @@ Path Types ---- ----- /abc {String} ``` + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -50,7 +51,7 @@ Accept wildcard characters: False Path in JSON document to index. ```yaml -Type: System.String +Type: String Parameter Sets: (All) Aliases: @@ -66,7 +67,7 @@ Array of strings with acceptable values: Point, LineString, Polygon, MultiPolygo Represent's paths spatial type. ```yaml -Type: System.String[] +Type: String[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md new file mode 100644 index 000000000000..5db7ffe4db56 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraKeyspaceThroughput.md @@ -0,0 +1,199 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbcassandrakeyspacethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBCassandraKeyspaceThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Cassandra Keyspace. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName -AccountName [-Name ] + -Throughput [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBCassandraKeyspaceThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBCassandraKeyspaceThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBCassandraKeyspaceThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myKeyspaceName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/cassandraKeyspace/{myKeyspaceName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +CosmosDB Account object + +```yaml +Type: PSCassandraKeyspaceGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Cassandra Keyspace Name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +CosmosDB Account object + +```yaml +Type: PSDatabaseAccount +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Cassandra Keyspace (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md new file mode 100644 index 000000000000..d600e1b907db --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBCassandraTableThroughput.md @@ -0,0 +1,215 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbcassandratablethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBCassandraTableThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Cassandra Table. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBCassandraTableThroughput -ResourceGroupName -AccountName + -KeyspaceName [-Name ] -Throughput [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBCassandraTableThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBCassandraTableThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBCassandraTableThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -KeyspaceName {myKeyspacename} -Name {myTableName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/cassandraKeyspace/{myKeyspaceName}/tables/{myTableName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Cassandra Keyspace object. + +```yaml +Type: PSCassandraTableGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -KeyspaceName +Cassandra Keyspace Name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Cassandra Table Name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +Cassandra Keyspace object. + +```yaml +Type: PSCassandraKeyspaceGetResults +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Cassandra Keyspace (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraKeyspaceGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md new file mode 100644 index 000000000000..03c19674a9a0 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinDatabaseThroughput.md @@ -0,0 +1,199 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbgremlindatabasethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBGremlinDatabaseThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Gremlin Database. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName -AccountName [-Name ] + -Throughput [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBGremlinDatabaseThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBGremlinDatabaseThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBGremlinDatabaseThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/gremlinDatabases/{myDatabaseName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +CosmosDB Account object + +```yaml +Type: PSGremlinDatabaseGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Database name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +CosmosDB Account object + +```yaml +Type: PSDatabaseAccount +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Gremlin Database (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md new file mode 100644 index 000000000000..5f78737ce313 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBGremlinGraphThroughput.md @@ -0,0 +1,215 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbgremlingraphthroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBGremlinGraphThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Gremlin Graph. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBGremlinGraphThroughput -ResourceGroupName -AccountName + -DatabaseName [-Name ] -Throughput [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBGremlinGraphThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBGremlinGraphThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBGremlinGraphThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {mydatabaseName} -Name {myGraphName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/gremlinDatabase/{mydatabaseName}/graphs/{myGraphName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Gremlin Database object. + +```yaml +Type: PSGremlinGraphGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Gremlin Graph Name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +Gremlin Database object. + +```yaml +Type: PSGremlinDatabaseGetResults +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Gremlin Graph (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md new file mode 100644 index 000000000000..2564689c70e3 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBCollectionThroughput.md @@ -0,0 +1,217 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbmongodbcollectionthroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBMongoDBCollectionThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB MongoDB Collection. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName -AccountName + -DatabaseName [-Name ] -Throughput [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBMongoDBCollectionThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBMongoDBCollectionThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBMongoDBCollectionThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {mydatabaseName} -Name {myCollectionName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/mongodbDatabase/{mydatabaseName}/collections/{myCollectionName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Mongo Database object. + +```yaml +Type: PSMongoDBCollectionGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Collection name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +Mongo Database object. + +```yaml +Type: PSMongoDBDatabaseGetResults +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of SQL container (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md new file mode 100644 index 000000000000..475b4ac0b090 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBMongoDBDatabaseThroughput.md @@ -0,0 +1,199 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbmongodbdatabasethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBMongoDBDatabaseThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB MongoDB Database. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName -AccountName [-Name ] + -Throughput [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBMongoDBDatabaseThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBMongoDBDatabaseThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBMongoDBThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/mongodbDatabases/{myDatabaseName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +CosmosDB Account object + +```yaml +Type: PSMongoDBDatabaseGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Database name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +CosmosDB Account object + +```yaml +Type: PSDatabaseAccount +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Mongo database (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md new file mode 100644 index 000000000000..e3ca77038851 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlContainerThroughput.md @@ -0,0 +1,215 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbsqlcontainerthroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBSqlContainerThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Sql Container. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBSqlContainerThroughput -ResourceGroupName -AccountName + -DatabaseName [-Name ] -Throughput [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBSqlContainerThroughput [-Name ] -Throughput + -ParentObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBSqlContainerThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBSqlContainerThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -DatabaseName {myDatabaseName} -Name {myContainerName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/sqlDatabases/{myDatabaseName}/conatiners/{myContainerName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Sql Database object. + +```yaml +Type: PSSqlContainerGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Container name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +Sql Database object. + +```yaml +Type: PSSqlDatabaseGetResults +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of SQL container (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSSqlDatabaseGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md new file mode 100644 index 000000000000..32a6e5a25b48 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBSqlDatabaseThroughput.md @@ -0,0 +1,198 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbsqldatabasethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBSqlDatabaseThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Sql Database. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBSqlDatabaseThroughput -ResourceGroupName -AccountName [-Name ] + -Throughput [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBSqlDatabaseThroughput [-Name ] -Throughput -ParentObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBSqlDatabaseThroughput [-Name ] -Throughput + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBSqlDatabseThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myDatabaseName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/sqlDatabases/{myDatabaseName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +CosmosDB Account object + +```yaml +Type: PSSqlDatabaseGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Database name. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +CosmosDB Account object + +```yaml +Type: PSDatabaseAccount +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of SQL database (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md new file mode 100644 index 000000000000..8e8698163af4 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBTableThroughput.md @@ -0,0 +1,197 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbtablethroughput +schema: 2.0.0 +--- + +# Update-AzCosmosDBTableThroughput + +## SYNOPSIS +Updates the throughput value of a CosmosDB Table. + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Update-AzCosmosDBTableThroughput -ResourceGroupName -AccountName [-Name ] + -Throughput [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Update-AzCosmosDBTableThroughput [-Name ] -Throughput -ParentObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Update-AzCosmosDBTableThroughput [-Name ] -Throughput -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Update-AzCosmosDBTableThroughput -AccountName {myAccountName} -ResourceGroupName {myResourceGroupName} -Name {myTableName} -Throughput {updatedThroughputValue} +Name : mxGp +Id : /subscriptions/{mySubscriptionId}/resourceGroups/{myResourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{myAccountName}/table/{myTableName}/throughputSettings/default +Throughput : {updatedThroughputValue} +MinimumThroughput : 400 +OfferReplacePending : +``` + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +CosmosDB Account object + +```yaml +Type: PSTableGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the Table. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ParentObject +CosmosDB Account object + +```yaml +Type: PSDatabaseAccount +Parameter Sets: ByParentObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Name of resource group. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Table (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults + +## NOTES + +## RELATED LINKS