diff --git a/ChangeLog.md b/ChangeLog.md
index 6e366bb87ee7..79387caf6976 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,4 +1,11 @@
## 3.4.0 - February 2020
+
+#### Az.CosmosDB
+* Added cmdlets for Gremlin, MongoDB, Cassandra and Table APIs.
+* Updated .NET SDK Version to 1.0.1
+* Added parameters ConflictResolutionPolicyMode, ConflictResolutionPolicyPath and ConflictResolutionPolicyPath in Set-AzCosmosDBSqlContainer.
+* Added new cmdlets for Sql API : New-CosmosDBSqlSpatialSpec, New-CosmosDBSqlCompositePath, New-CosmosDBSqlIncludedPathIndex, New-CosmosDBSqlIncludedPath
+
### Highlights since the last major release
* Az.CosmosDB initial version 0.1.0 released
* Az.Network ConnectionMonitor V2 support added
diff --git a/src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj b/src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj
index 8c87eb69b7f1..5785241f2833 100644
--- a/src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj
+++ b/src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj
@@ -4,6 +4,6 @@
-
+
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs
new file mode 100644
index 000000000000..6ac530149442
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs
@@ -0,0 +1,44 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest
+{
+ public class CassandraOperationsTests
+ {
+ private ServiceManagement.Common.Models.XunitTracingInterceptor _logger;
+
+ public CassandraOperationsTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new ServiceManagement.Common.Models.XunitTracingInterceptor(output);
+ ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(_logger);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCassandraOperationsCmdlets()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-CassandraOperationsCmdlets");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCassandraOperationsCmdletsUsingInputObject()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-CassandraOperationsCmdletsUsingInputObject");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1
new file mode 100644
index 000000000000..a76991b527d8
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1
@@ -0,0 +1,114 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+<#
+.SYNOPSIS
+Gets and removes custom domain with running endpoint.
+#>
+
+function Test-CassandraOperationsCmdlets
+{
+ $AccountName = "db2725"
+ $rgName = "CosmosDBResourceGroup2510"
+ $KeyspaceName = "db"
+ $TableName = "table"
+
+ $NewKeyspace = Set-AzCosmosDBCassandraKeyspace -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName
+ Assert-AreEqual $NewKeyspace.Name $KeyspaceName
+
+ $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"
+
+ $NewTable = Set-AzCosmosDBCassandraTable -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName -Schema $schema
+ Assert-AreEqual $NewTable.Name $TableName
+
+ $Keyspace = Get-AzCosmosDBCassandraKeyspace -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName
+ Assert-AreEqual $NewKeyspace.Id $Keyspace.Id
+ Assert-AreEqual $NewKeyspace.Name $Keyspace.Name
+ Assert-AreEqual $NewKeyspace.Resource.Id $Keyspace.Resource.Id
+ Assert-AreEqual $NewKeyspace.Resource._rid $Keyspace.Resource._rid
+ Assert-AreEqual $NewKeyspace.Resource._ts $Keyspace.Resource._ts
+ Assert-AreEqual $NewKeyspace.Resource._etag $Keyspace.Resource._etag
+
+ $Table = Get-AzCosmosDBCassandraTable -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName
+ Assert-AreEqual $NewTable.Id $Table.Id
+ Assert-AreEqual $NewTable.Name $Table.Name
+ Assert-AreEqual $NewTable.Resource.Id $Table.Resource.Id
+ Assert-AreEqual $NewTable.Resource._rid $Table.Resource._rid
+ Assert-AreEqual $NewTable.Resource._ts $Table.Resource._ts
+ Assert-AreEqual $NewTable.Resource._etag $Table.Resource._etag
+
+ $ListTables = Get-AzCosmosDBCassandraTable -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName
+ Assert-NotNull($ListTables)
+
+ $ListKeyspaces = Get-AzCosmosDBCassandraKeyspace -AccountName $AccountName -ResourceGroupName $rgName
+ Assert-NotNull($ListKeyspaces)
+
+ $IsTableRemoved = Remove-AzCosmosDBCassandraTable -AccountName $AccountName -ResourceGroupName $rgName -KeyspaceName $KeyspaceName -Name $TableName -PassThru
+ Assert-AreEqual $IsTableRemoved true
+
+ $IsKeyspaceRemoved = Remove-AzCosmosDBCassandraKeyspace -AccountName $AccountName -ResourceGroupName $rgName -Name $KeyspaceName -PassThru
+ Assert-AreEqual $IsKeyspaceRemoved true
+}
+
+function Test-CassandraOperationsCmdletsUsingInputObject
+{
+ $AccountName = "db2725"
+ $rgName = "CosmosDBResourceGroup2510"
+ $KeyspaceName = "db2"
+ $TableName = "table"
+
+ $cosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName
+
+ $NewKeyspace = Set-AzCosmosDBCassandraKeyspace -InputObject $cosmosDBAccount -Name $KeyspaceName
+ Assert-AreEqual $NewKeyspace.Name $KeyspaceName
+
+ $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"
+
+ $NewTable = Set-AzCosmosDBCassandraTable -InputObject $NewKeyspace -Name $TableName -Schema $schema
+ Assert-AreEqual $NewTable.Name $TableName
+
+ $Keyspace = Get-AzCosmosDBCassandraKeyspace -InputObject $cosmosDBAccount -Name $KeyspaceName
+ Assert-AreEqual $NewKeyspace.Id $Keyspace.Id
+ Assert-AreEqual $NewKeyspace.Name $Keyspace.Name
+ Assert-AreEqual $NewKeyspace.Resource.Id $Keyspace.Resource.Id
+ Assert-AreEqual $NewKeyspace.Resource._rid $Keyspace.Resource._rid
+ Assert-AreEqual $NewKeyspace.Resource._ts $Keyspace.Resource._ts
+ Assert-AreEqual $NewKeyspace.Resource._etag $Keyspace.Resource._etag
+
+ $Table = Get-AzCosmosDBCassandraTable -InputObject $NewKeyspace -Name $TableName
+ Assert-AreEqual $NewTable.Id $Table.Id
+ Assert-AreEqual $NewTable.Name $Table.Name
+ Assert-AreEqual $NewTable.Resource.Id $Table.Resource.Id
+ Assert-AreEqual $NewTable.Resource._rid $Table.Resource._rid
+ Assert-AreEqual $NewTable.Resource._ts $Table.Resource._ts
+ Assert-AreEqual $NewTable.Resource._etag $Table.Resource._etag
+
+ $ListTables = Get-AzCosmosDBCassandraTable -InputObject $NewKeyspace
+ Assert-NotNull($ListTables)
+
+ $ListKeyspaces = Get-AzCosmosDBCassandraKeyspace -InputObject $cosmosDBAccount
+ Assert-NotNull($ListKeyspaces)
+
+ $IsTableRemoved = Remove-AzCosmosDBCassandraTable -InputObject $NewTable -PassThru
+ Assert-AreEqual $IsTableRemoved true
+
+ $IsKeyspaceRemoved = Remove-AzCosmosDBCassandraKeyspace -InputObject $NewKeyspace -PassThru
+ Assert-AreEqual $IsKeyspaceRemoved true
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs
new file mode 100644
index 000000000000..c7cde05ebfda
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs
@@ -0,0 +1,44 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest
+{
+ public class GremlinOperationsTests
+ {
+ private ServiceManagement.Common.Models.XunitTracingInterceptor _logger;
+
+ public GremlinOperationsTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new ServiceManagement.Common.Models.XunitTracingInterceptor(output);
+ ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(_logger);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGremlinOperationsCmdlets()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-GremlinOperationsCmdlets");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGremlinOperationsCmdletsUsingInputObject()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-GremlinOperationsCmdletsUsingInputObject");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1
new file mode 100644
index 000000000000..89ab94932a15
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1
@@ -0,0 +1,134 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+<#
+.SYNOPSIS
+Gets and removes custom domain with running endpoint.
+#>
+
+function Test-GremlinOperationsCmdlets
+{
+ $AccountName = "db1002"
+ $rgName = "CosmosDBResourceGroup2510"
+ $DatabaseName = "dbName"
+ $GraphName = "graph1"
+
+ $PartitionKeyPathValue = "/foo"
+ $PartitionKeyKindValue = "Hash"
+
+ $NewDatabase = Set-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Name $DatabaseName
+
+ #Indexing Policy Creation
+ $ipath1 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash
+ $ipath2 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash
+ $IncludedPath = New-AzCosmosDBGremlinIncludedPath -Path "/*" -Index $ipath1, $ipath2
+ $SpatialSpec = New-AzCosmosDBGremlinSpatialSpec -Path "/mySpatialPath/*" -Type "Point", "LineString", "Polygon", "MultiPolygon"
+ $cp1 = New-AzCosmosDBGremlinCompositePath -Path "/abc" -Order Ascending
+ $cp2 = New-AzCosmosDBGremlinCompositePath -Path "/aberc" -Order Descending
+ $CompositePaths = (($cp1, $cp2), ($cp2, $cp1))
+
+ $IndexingPolicy = New-AzCosmosDBGremlinIndexingPolicy -IncludedPath $IncludedPath -SpatialSpec $SpatialSpec -CompositePath $CompositePaths -ExcludedPath "/myPathToNotIndex/*" -Automatic 1 -IndexingMode Consistent
+
+ #UniqueKey Creation
+ $p1 = New-AzCosmosDBGremlinUniqueKey -Path "/myUniqueKey3"
+ $p2 = New-AzCosmosDBGremlinUniqueKey -Path "/myUniqueKey4"
+ $p3 = New-AzCosmosDBGremlinUniqueKey -Path "/myUniqueKey2"
+ $p4 = New-AzCosmosDBGremlinUniqueKey -Path "/myUniqueKey1"
+
+ $uk1 = New-AzCosmosDBGremlinUniqueKeyPolicy -UniqueKey $p1,$p2,$p3,$p4
+
+ $NewGraph = Set-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue -IndexingPolicy $IndexingPolicy -UniqueKeyPolicy $uk1
+ Assert-AreEqual $NewGraph.Name $GraphName
+ Assert-AreEqual $NewGraph.Resource.IndexingPolicy.Automatic $IndexingPolicy.Automatic
+ Assert-AreEqual $NewGraph.Resource.IndexingPolicy.IndexingMode $IndexingPolicy.IndexingMode
+ Assert-AreEqual $NewGraph.Resource.IndexingPolicy.IncludedPath.Path $IndexingPolicy.IncludedPath.Path
+ Assert-AreEqual $NewGraph.Resource.IndexingPolicy.CompositeIndexes.Count 2
+ Assert-AreEqual $NewGraph.Resource.IndexingPolicy.SpatialIndexes.Path $SpatialSpec.Path
+ Assert-AreEqual $NewGraph.Resource.UniqueKeyPolicy.UniqueKeys.Count 4
+
+ $Database = Get-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Id $Database.Id
+ Assert-AreEqual $NewDatabase.Name $Database.Name
+ Assert-AreEqual $NewDatabase.Resource.Id $Database.Resource.Id
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+
+ $Graph = Get-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName
+ Assert-AreEqual $NewGraph.Id $Graph.Id
+ Assert-AreEqual $NewGraph.Name $Graph.Name
+ Assert-AreEqual $NewGraph.GremlinGraphGetResultsId $Graph.GremlinGraphGetResultsId
+ Assert-AreEqual $NewGraph._rid $Graph._rid
+ Assert-AreEqual $NewGraph._ts $Graph._ts
+ Assert-AreEqual $NewGraph._etag $Graph._etag
+
+ $ListGraphs = Get-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName
+ Assert-NotNull($ListGraphs)
+
+ $ListDatabases = Get-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName
+ Assert-NotNull($ListDatabases)
+
+ $IsGraphRemoved = Remove-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName -PassThru
+ Assert-AreEqual $IsGraphRemoved true
+
+ $IsDatabaseRemoved = Remove-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -PassThru
+ Assert-AreEqual $IsDatabaseRemoved true
+}
+
+function Test-GremlinOperationsCmdletsUsingInputObject
+{
+ $AccountName = "db1002"
+ $rgName = "CosmosDBResourceGroup2510"
+ $DatabaseName = "dbName2"
+ $GraphName = "graph1"
+
+ $PartitionKeyPathValue = "/foo"
+ $PartitionKeyKindValue = "Hash"
+
+ $cosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName
+
+ $NewDatabase = Set-AzCosmosDBGremlinDatabase -InputObject $cosmosDBAccount -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Name $DatabaseName
+
+ $NewGraph = Set-AzCosmosDBGremlinGraph -InputObject $NewDatabase -Name $GraphName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue
+ Assert-AreEqual $NewGraph.Name $GraphName
+
+ $Database = Get-AzCosmosDBGremlinDatabase -InputObject $cosmosDBAccount -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Id $Database.Id
+ Assert-AreEqual $NewDatabase.Name $Database.Name
+ Assert-AreEqual $NewDatabase.Resource.Id $Database.Resource.Id
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+
+ $Graph = Get-AzCosmosDBGremlinGraph -InputObject $NewDatabase -Name $GraphName
+ Assert-AreEqual $NewGraph.Id $Graph.Id
+ Assert-AreEqual $NewGraph.Name $Graph.Name
+ Assert-AreEqual $NewGraph.Resource.Id $Graph.Resource.Id
+ Assert-AreEqual $NewGraph.Resource._rid $Graph.Resource._rid
+ Assert-AreEqual $NewGraph.Resource._ts $Graph.Resource._ts
+ Assert-AreEqual $NewGraph.Resource._etag $Graph.Resource._etag
+
+ $ListGraphs = Get-AzCosmosDBGremlinGraph -InputObject $NewDatabase
+ Assert-NotNull($ListGraphs)
+
+ $ListDatabases = Get-AzCosmosDBGremlinDatabase -InputObject $cosmosDBAccount
+ Assert-NotNull($ListDatabases)
+
+ $IsGraphRemoved = Remove-AzCosmosDBGremlinGraph -InputObject $NewGraph -PassThru
+ Assert-AreEqual $IsGraphRemoved true
+
+ $IsDatabaseRemoved = Remove-AzCosmosDBGremlinDatabase -InputObject $NewDatabase -PassThru
+ Assert-AreEqual $IsDatabaseRemoved true
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs
new file mode 100644
index 000000000000..021de3e69bd0
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs
@@ -0,0 +1,44 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest
+{
+ public class MongoOperationsTests
+ {
+ private ServiceManagement.Common.Models.XunitTracingInterceptor _logger;
+
+ public MongoOperationsTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new ServiceManagement.Common.Models.XunitTracingInterceptor(output);
+ ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(_logger);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestMongoOperationsCmdlets()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-MongoOperationsCmdlets");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestMongoOperationsCmdletsUsingInputObject()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-MongoOperationsCmdletsUsingInputObject");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1
new file mode 100644
index 000000000000..8caf6ff021a0
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1
@@ -0,0 +1,105 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+<#
+.SYNOPSIS
+Gets and removes custom domain with running endpoint.
+#>
+
+function Test-MongoOperationsCmdlets
+{
+ $AccountName = "db001"
+ $rgName = "CosmosDBResourceGroup3668"
+ $DatabaseName = "dbName"
+ $CollectionName = "collection1"
+
+ $NewDatabase = Set-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Name $DatabaseName
+
+ $Index = New-AzCosmosDBMongoDBIndex -Key "a"
+
+ $NewCollection = Set-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName -Index $Index
+ Assert-AreEqual $NewCollection.Name $CollectionName
+
+ $Database = Get-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Id $Database.Id
+ Assert-AreEqual $NewDatabase.Name $Database.Name
+ Assert-AreEqual $NewDatabase.Resource.Id $Database.Resource.Id
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+
+ $Collection = Get-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName
+ Assert-AreEqual $NewCollection.Id $Collection.Id
+ Assert-AreEqual $NewCollection.Name $Collection.Name
+ Assert-AreEqual $NewCollection.Resource.Id $Collection.Resource.Id
+ Assert-AreEqual $NewCollection.Resource._rid $Collection.Resource._rid
+ Assert-AreEqual $NewCollection.Resource._ts $Collection.Resource._ts
+ Assert-AreEqual $NewCollection.Resource._etag $Collection.Resource._etag
+
+ $ListCollections = Get-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName
+ Assert-NotNull($ListCollections)
+
+ $ListDatabases = Get-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName
+ Assert-NotNull($ListDatabases)
+
+ $IsCollectionRemoved = Remove-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName -PassThru
+ Assert-AreEqual $IsCollectionRemoved true
+
+ $IsDatabaseRemoved = Remove-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -PassThru
+ Assert-AreEqual $IsDatabaseRemoved true
+}
+
+function Test-MongoOperationsCmdletsUsingInputObject
+{
+ $AccountName = "db001"
+ $rgName = "CosmosDBResourceGroup3668"
+ $DatabaseName = "dbName2"
+ $CollectionName = "collection2"
+
+ $cosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName
+
+ $NewDatabase = Set-AzCosmosDBMongoDBDatabase -InputObject $cosmosDBAccount -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Name $DatabaseName
+
+ $NewCollection = Set-AzCosmosDBMongoDBCollection -InputObject $NewDatabase -Name $CollectionName
+ Assert-AreEqual $NewCollection.Name $CollectionName
+
+ $Database = Get-AzCosmosDBMongoDBDatabase -InputObject $cosmosDBAccount -Name $DatabaseName
+ Assert-AreEqual $NewDatabase.Id $Database.Id
+ Assert-AreEqual $NewDatabase.Name $Database.Name
+ Assert-AreEqual $NewDatabase.Resource.Id $Database.Resource.Id
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+
+ $Collection = Get-AzCosmosDBMongoDBCollection -InputObject $NewDatabase -Name $CollectionName
+ Assert-AreEqual $NewCollection.Id $Collection.Id
+ Assert-AreEqual $NewCollection.Name $Collection.Name
+ Assert-AreEqual $NewCollection.Resource.Id $Collection.Resource.Id
+ Assert-AreEqual $NewCollection.Resource._rid $Collection.Resource._rid
+ Assert-AreEqual $NewCollection.Resource._ts $Collection.Resource._ts
+ Assert-AreEqual $NewCollection.Resource._etag $Collection.Resource._etag
+
+ $ListCollections = Get-AzCosmosDBMongoDBCollection -InputObject $NewDatabase
+ Assert-NotNull($ListCollections)
+
+ $ListDatabases = Get-AzCosmosDBMongoDBDatabase -InputObject $cosmosDBAccount
+ Assert-NotNull($ListDatabases)
+
+ $IsCollectionRemoved = Remove-AzCosmosDBMongoDBCollection -InputObject $NewCollection -PassThru
+ Assert-AreEqual $IsCollectionRemoved true
+
+ $IsDatabaseRemoved = Remove-AzCosmosDBMongoDBDatabase -InputObject $NewDatabase -PassThru
+ Assert-AreEqual $IsDatabaseRemoved true
+}
\ 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 2c96dfe52c4f..4e98357549cf 100644
--- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1
@@ -39,8 +39,33 @@ function Test-SqlOperationsCmdlets
$NewDatabase = Set-AzCosmosDBSqlDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
Assert-AreEqual $NewDatabase.Name $DatabaseName
- $NewContainer = Set-AzCosmosDBSqlContainer -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue
+ #Indexing Policy Creation
+ $ipath1 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash
+ $ipath2 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash
+ $IncludedPath = New-AzCosmosDBSqlIncludedPath -Path "/*" -Index $ipath1, $ipath2
+ $SpatialSpec = New-AzCosmosDBSqlSpatialSpec -Path "/mySpatialPath/*" -Type "Point", "LineString", "Polygon", "MultiPolygon"
+ $cp1 = New-AzCosmosDBSqlCompositePath -Path "/abc" -Order Ascending
+ $cp2 = New-AzCosmosDBSqlCompositePath -Path "/aberc" -Order Descending
+ $CompositePaths = (($cp1, $cp2), ($cp2, $cp1))
+
+ $IndexingPolicy = New-AzCosmosDBSqlIndexingPolicy -IncludedPath $IncludedPath -SpatialSpec $SpatialSpec -CompositePath $CompositePaths -ExcludedPath "/myPathToNotIndex/*" -Automatic 1 -IndexingMode Consistent
+
+ #UniqueKey Creation
+ $p1 = New-AzCosmosDBSqlUniqueKey -Path "/myUniqueKey3"
+ $p2 = New-AzCosmosDBSqlUniqueKey -Path "/myUniqueKey4"
+ $p3 = New-AzCosmosDBSqlUniqueKey -Path "/myUniqueKey2"
+ $p4 = New-AzCosmosDBSqlUniqueKey -Path "/myUniqueKey1"
+
+ $uk1 = New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey $p1,$p2,$p3,$p4
+
+ $NewContainer = Set-AzCosmosDBSqlContainer -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue -Throughput 600 -IndexingPolicy $IndexingPolicy -UniqueKeyPolicy $uk1
Assert-AreEqual $NewContainer.Name $ContainerName
+ Assert-AreEqual $NewContainer.Resource.IndexingPolicy.Automatic $IndexingPolicy.Automatic
+ Assert-AreEqual $NewContainer.Resource.IndexingPolicy.IndexingMode $IndexingPolicy.IndexingMode
+ Assert-AreEqual $NewContainer.Resource.IndexingPolicy.IncludedPath.Path $IndexingPolicy.IncludedPath.Path
+ Assert-AreEqual $NewContainer.Resource.IndexingPolicy.CompositeIndexes.Count 2
+ Assert-AreEqual $NewContainer.Resource.IndexingPolicy.SpatialIndexes.Path $SpatialSpec.Path
+ Assert-AreEqual $NewContainer.Resource.UniqueKeyPolicy.UniqueKeys.Count 4
$NewStoredProcedure = Set-AzCosmosDBSqlStoredProcedure -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -ContainerName $ContainerName -Name $StoredProcedureName -Body $Body
Assert-AreEqual $NewStoredProcedure.Name $StoredProcedureName
@@ -54,49 +79,44 @@ function Test-SqlOperationsCmdlets
$Database = Get-AzCosmosDBSqlDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
Assert-AreEqual $NewDatabase.Id $Database.Id
Assert-AreEqual $NewDatabase.Name $Database.Name
- Assert-AreEqual $NewDatabase.SqlDatabaseGetResultsId $Database.SqlDatabaseGetResultsId
- Assert-AreEqual $NewDatabase._rid $Database._rid
- Assert-AreEqual $NewDatabase._ts $Database._ts
- Assert-AreEqual $NewDatabase._etag $Database._etag
- Assert-AreEqual $NewDatabase._colls $Database._colls
- Assert-AreEqual $NewDatabase._users $Database._users
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+ Assert-AreEqual $NewDatabase.Resource._colls $Database.Resource._colls
+ Assert-AreEqual $NewDatabase.Resource._users $Database.Resource._users
$Container = Get-AzCosmosDBSqlContainer -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName
Assert-AreEqual $NewContainer.Id $Container.Id
Assert-AreEqual $NewContainer.Name $Container.Name
- Assert-AreEqual $NewContainer.SqlContainerGetResultsId $Container.SqlContainerGetResultsId
- Assert-AreEqual $NewContainer._rid $Container._rid
- Assert-AreEqual $NewContainer._ts $Container._ts
- Assert-AreEqual $NewContainer._etag $Container._etag
+ Assert-AreEqual $NewContainer.Resource._rid $Container.Resource._rid
+ Assert-AreEqual $NewContainer.Resource._ts $Container.Resource._ts
+ Assert-AreEqual $NewContainer.Resource._etag $Container.Resource._etag
$StoredProcedure = Get-AzCosmosDBSqlStoredProcedure -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -ContainerName $ContainerName -Name $StoredProcedureName
Assert-AreEqual $NewStoredProcedure.Id $StoredProcedure.Id
Assert-AreEqual $NewStoredProcedure.Name $StoredProcedure.Name
- Assert-AreEqual $NewStoredProcedure.SqlStoredProcedureGetResultsId $StoredProcedure.SqlStoredProcedureGetResultsId
- Assert-AreEqual $NewStoredProcedure.Body $StoredProcedure.Body
- Assert-AreEqual $NewStoredProcedure._rid $StoredProcedure._rid
- Assert-AreEqual $NewStoredProcedure._ts $StoredProcedure._ts
- Assert-AreEqual $NewStoredProcedure._etag $StoredProcedure._etag
+ Assert-AreEqual $NewStoredProcedure.Resource.Body $StoredProcedure.Resource.Body
+ Assert-AreEqual $NewStoredProcedure.Resource._rid $StoredProcedure.Resource._rid
+ Assert-AreEqual $NewStoredProcedure.Resource._ts $StoredProcedure.Resource._ts
+ Assert-AreEqual $NewStoredProcedure.Resource._etag $StoredProcedure.Resource._etag
$UDF = Get-AzCosmosDBSqlUserDefinedFunction -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -ContainerName $ContainerName -Name $UDFName
Assert-AreEqual $NewUDF.Id $UDF.Id
Assert-AreEqual $NewUDF.Name $UDF.Name
- Assert-AreEqual $NewUDF.SqlUserDefinedFunctionGetResultsId $UDF.SqlUserDefinedFunctionGetResultsId
- Assert-AreEqual $NewUDF.Body $UDF.Body
- Assert-AreEqual $NewUDF._rid $UDF._rid
- Assert-AreEqual $NewUDF._ts $UDF._ts
- Assert-AreEqual $NewUDF._etag $UDF._etag
+ Assert-AreEqual $NewUDF.Resource.Body $UDF.Resource.Body
+ Assert-AreEqual $NewUDF.Resource._rid $UDF.Resource._rid
+ Assert-AreEqual $NewUDF.Resource._ts $UDF.Resource._ts
+ Assert-AreEqual $NewUDF.Resource._etag $UDF.Resource._etag
$Trigger = Get-AzCosmosDBSqlTrigger -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -ContainerName $ContainerName -Name $TriggerName
Assert-AreEqual $NewTrigger.Id $Trigger.Id
Assert-AreEqual $NewTrigger.Name $Trigger.Name
- Assert-AreEqual $NewTrigger.SqlTriggerGetResultsId $Trigger.SqlTriggerGetResultsId
- Assert-AreEqual $NewTrigger.Body $Trigger.Body
- Assert-AreEqual $NewTrigger.TriggerType $Trigger.TriggerType
- Assert-AreEqual $NewTrigger.TriggerOperation $Trigger.TriggerOperation
- Assert-AreEqual $NewTrigger._rid $Trigger._rid
- Assert-AreEqual $NewTrigger._ts $Trigger._ts
- Assert-AreEqual $NewTrigger._etag $Trigger._etag
+ Assert-AreEqual $NewTrigger.Resource.Body $Trigger.Resource.Body
+ Assert-AreEqual $NewTrigger.Resource.TriggerType $Trigger.Resource.TriggerType
+ Assert-AreEqual $NewTrigger.Resource.TriggerOperation $Trigger.Resource.TriggerOperation
+ Assert-AreEqual $NewTrigger.Resource._rid $Trigger.Resource._rid
+ Assert-AreEqual $NewTrigger.Resource._ts $Trigger.Resource._ts
+ Assert-AreEqual $NewTrigger.Resource._etag $Trigger.Resource._etag
$ListContainers = Get-AzCosmosDBSqlContainer -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName
Assert-NotNull($ListContainers)
@@ -168,49 +188,44 @@ function Test-SqlOperationsCmdletsUsingInputObject
$Database = Get-AzCosmosDBSqlDatabase -InputObject $cosmosDBAccount -Name $DatabaseName
Assert-AreEqual $NewDatabase.Id $Database.Id
Assert-AreEqual $NewDatabase.Name $Database.Name
- Assert-AreEqual $NewDatabase.SqlDatabaseGetResultsId $Database.SqlDatabaseGetResultsId
- Assert-AreEqual $NewDatabase._rid $Database._rid
- Assert-AreEqual $NewDatabase._ts $Database._ts
- Assert-AreEqual $NewDatabase._etag $Database._etag
- Assert-AreEqual $NewDatabase._colls $Database._colls
- Assert-AreEqual $NewDatabase._users $Database._users
+ Assert-AreEqual $NewDatabase.Resource._rid $Database.Resource._rid
+ Assert-AreEqual $NewDatabase.Resource._ts $Database.Resource._ts
+ Assert-AreEqual $NewDatabase.Resource._etag $Database.Resource._etag
+ Assert-AreEqual $NewDatabase.Resource._colls $Database.Resource._colls
+ Assert-AreEqual $NewDatabase.Resource._users $Database.Resource._users
$Container = Get-AzCosmosDBSqlContainer -InputObject $NewDatabase -Name $ContainerName
Assert-AreEqual $NewContainer.Id $Container.Id
Assert-AreEqual $NewContainer.Name $Container.Name
- Assert-AreEqual $NewContainer.SqlContainerGetResultsId $Container.SqlContainerGetResultsId
- Assert-AreEqual $NewContainer._rid $Container._rid
- Assert-AreEqual $NewContainer._ts $Container._ts
- Assert-AreEqual $NewContainer._etag $Container._etag
+ Assert-AreEqual $NewContainer.Resource._rid $Container.Resource._rid
+ Assert-AreEqual $NewContainer.Resource._ts $Container.Resource._ts
+ Assert-AreEqual $NewContainer.Resource._etag $Container.Resource._etag
$StoredProcedure = Get-AzCosmosDBSqlStoredProcedure -InputObject $NewContainer -Name $StoredProcedureName
Assert-AreEqual $NewStoredProcedure.Id $StoredProcedure.Id
Assert-AreEqual $NewStoredProcedure.Name $StoredProcedure.Name
- Assert-AreEqual $NewStoredProcedure.SqlStoredProcedureGetResultsId $StoredProcedure.SqlStoredProcedureGetResultsId
- Assert-AreEqual $NewStoredProcedure.Body $StoredProcedure.Body
- Assert-AreEqual $NewStoredProcedure._rid $StoredProcedure._rid
- Assert-AreEqual $NewStoredProcedure._ts $StoredProcedure._ts
- Assert-AreEqual $NewStoredProcedure._etag $StoredProcedure._etag
+ Assert-AreEqual $NewStoredProcedure.Resource.Body $StoredProcedure.Resource.Body
+ Assert-AreEqual $NewStoredProcedure.Resource._rid $StoredProcedure.Resource._rid
+ Assert-AreEqual $NewStoredProcedure.Resource._ts $StoredProcedure.Resource._ts
+ Assert-AreEqual $NewStoredProcedure.Resource._etag $StoredProcedure.Resource._etag
$UDF = Get-AzCosmosDBSqlUserDefinedFunction -InputObject $NewContainer -Name $UDFName
Assert-AreEqual $NewUDF.Id $UDF.Id
Assert-AreEqual $NewUDF.Name $UDF.Name
- Assert-AreEqual $NewUDF.SqlUserDefinedFunctionGetResultsId $UDF.SqlUserDefinedFunctionGetResultsId
- Assert-AreEqual $NewUDF.Body $UDF.Body
- Assert-AreEqual $NewUDF._rid $UDF._rid
- Assert-AreEqual $NewUDF._ts $UDF._ts
- Assert-AreEqual $NewUDF._etag $UDF._etag
+ Assert-AreEqual $NewUDF.Resource.Body $UDF.Resource.Body
+ Assert-AreEqual $NewUDF.Resource._rid $UDF.Resource._rid
+ Assert-AreEqual $NewUDF.Resource._ts $UDF.Resource._ts
+ Assert-AreEqual $NewUDF.Resource._etag $UDF.Resource._etag
$Trigger = Get-AzCosmosDBSqlTrigger -InputObject $NewContainer -Name $TriggerName
Assert-AreEqual $NewTrigger.Id $Trigger.Id
Assert-AreEqual $NewTrigger.Name $Trigger.Name
- Assert-AreEqual $NewTrigger.SqlTriggerGetResultsId $Trigger.SqlTriggerGetResultsId
- Assert-AreEqual $NewTrigger.Body $Trigger.Body
- Assert-AreEqual $NewTrigger.TriggerType $Trigger.TriggerType
- Assert-AreEqual $NewTrigger.TriggerOperation $Trigger.TriggerOperation
- Assert-AreEqual $NewTrigger._rid $Trigger._rid
- Assert-AreEqual $NewTrigger._ts $Trigger._ts
- Assert-AreEqual $NewTrigger._etag $Trigger._etag
+ Assert-AreEqual $NewTrigger.Resource.Body $Trigger.Resource.Body
+ Assert-AreEqual $NewTrigger.Resource.TriggerType $Trigger.Resource.TriggerType
+ Assert-AreEqual $NewTrigger.Resource.TriggerOperation $Trigger.Resource.TriggerOperation
+ Assert-AreEqual $NewTrigger.Resource._rid $Trigger.Resource._rid
+ Assert-AreEqual $NewTrigger.Resource._ts $Trigger.Resource._ts
+ Assert-AreEqual $NewTrigger.Resource._etag $Trigger.Resource._etag
$ListContainers = Get-AzCosmosDBSqlContainer -InputObject $NewDatabase
Assert-NotNull($ListContainers)
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs
new file mode 100644
index 000000000000..18eb20bb7417
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs
@@ -0,0 +1,44 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest
+{
+ public class TableOperationsTests
+ {
+ private ServiceManagement.Common.Models.XunitTracingInterceptor _logger;
+
+ public TableOperationsTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new ServiceManagement.Common.Models.XunitTracingInterceptor(output);
+ ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(_logger);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestTableOperationsCmdlets()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-TableOperationsCmdlets");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestTableOperationsCmdletsUsingInputObject()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-TableOperationsCmdletsUsingInputObject");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1
new file mode 100644
index 000000000000..57161abd318e
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1
@@ -0,0 +1,67 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+<#
+.SYNOPSIS
+Gets and removes custom domain with running endpoint.
+#>
+
+function Test-TableOperationsCmdlets
+{
+ $AccountName = "db2527"
+ $rgName = "CosmosDBResourceGroup2510"
+ $TableName = "table1"
+
+ $NewTable = Set-AzCosmosDBTable -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName
+ Assert-AreEqual $NewTable.Name $TableName
+
+ $Table = Get-AzCosmosDBTable -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName
+ Assert-AreEqual $NewTable.Id $Table.Id
+ Assert-AreEqual $NewTable.Name $Table.Name
+ Assert-AreEqual $NewTable.Resource.Id $Table.Resource.Id
+ Assert-AreEqual $NewTable.Resource._rid $Table.Resource._rid
+ Assert-AreEqual $NewTable.Resource._ts $Table.Resource._ts
+ Assert-AreEqual $NewTable.Resource._etag $Table.Resource._etag
+
+ $ListTables = Get-AzCosmosDBTable -AccountName $AccountName -ResourceGroupName $rgName
+ Assert-NotNull($ListTables)
+
+ $IsTableRemoved = Remove-AzCosmosDBTable -AccountName $AccountName -ResourceGroupName $rgName -Name $TableName -PassThru
+ Assert-AreEqual $IsTableRemoved true
+}
+
+function Test-TableOperationsCmdletsUsingInputObject
+{
+ $AccountName = "db2527"
+ $rgName = "CosmosDBResourceGroup2510"
+ $TableName = "tableName2"
+
+ $cosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $AccountName
+
+ $NewTable = Set-AzCosmosDBTable -InputObject $cosmosDBAccount -Name $TableName
+ Assert-AreEqual $NewTable.Name $TableName
+
+ $Table = Get-AzCosmosDBTable -InputObject $cosmosDBAccount -Name $TableName
+ Assert-AreEqual $NewTable.Id $Table.Id
+ Assert-AreEqual $NewTable.Name $Table.Name
+ Assert-AreEqual $NewTable.Resource.Id $Table.Resource.Id
+ Assert-AreEqual $NewTable.Resource._rid $Table.Resource._rid
+ Assert-AreEqual $NewTable.Resource._ts $Table.Resource._ts
+ Assert-AreEqual $NewTable.Resource._etag $Table.Resource._etag
+
+ $ListTables = Get-AzCosmosDBTable -InputObject $cosmosDBAccount
+ Assert-NotNull($ListTables)
+
+ $IsTableRemoved = Remove-AzCosmosDBTable -InputObject $Table -PassThru
+ Assert-AreEqual $IsTableRemoved true
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdlets.json
new file mode 100644
index 000000000000..5b4834d4f330
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdlets.json
@@ -0,0 +1,1046 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8e914610-f4a4-446f-929c-f2e303a07be0"
+ ],
+ "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": [
+ "92"
+ ]
+ },
+ "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/db/operationResults/1c08f6e7-0572-4cd4-bc85-d9f1d1032edf?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1c08f6e7-0572-4cd4-bc85-d9f1d1032edf?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "1c08f6e7-0572-4cd4-bc85-d9f1d1032edf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "61f2d106-5329-4b91-b4ef-cabd5c2ade4a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211532Z:61f2d106-5329-4b91-b4ef-cabd5c2ade4a"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:15:31 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1c08f6e7-0572-4cd4-bc85-d9f1d1032edf?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8xYzA4ZjZlNy0wNTcyLTRjZDQtYmM4NS1kOWYxZDEwMzJlZGY/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "9635dc9c-d6e5-4e5f-8126-112583791a6d"
+ ],
+ "x-ms-correlation-request-id": [
+ "9635dc9c-d6e5-4e5f-8126-112583791a6d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211602Z:9635dc9c-d6e5-4e5f-8126-112583791a6d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:02 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/1c08f6e7-0572-4cd4-bc85-d9f1d1032edf?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "a9643be3-e424-44c3-b3d2-a9d3a0629613"
+ ],
+ "x-ms-correlation-request-id": [
+ "a9643be3-e424-44c3-b3d2-a9d3a0629613"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211604Z:a9643be3-e424-44c3-b3d2-a9d3a0629613"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:03 GMT"
+ ],
+ "Content-Length": [
+ "380"
+ ],
+ "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/db?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db\",\r\n \"_rid\": \"9DwbAA==\",\r\n \"_etag\": \"\\\"00009d01-0000-3200-0000-5e3b30760000\\\"\",\r\n \"_ts\": 1580937334\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "84afdb5f-4679-4847-9847-44a884a7e1b6"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "a7f08edf-6316-46f6-a2f2-85a1e0adf528"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7f08edf-6316-46f6-a2f2-85a1e0adf528"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211638Z:a7f08edf-6316-46f6-a2f2-85a1e0adf528"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:37 GMT"
+ ],
+ "Content-Length": [
+ "380"
+ ],
+ "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/db?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db\",\r\n \"_rid\": \"9DwbAA==\",\r\n \"_etag\": \"\\\"00009d01-0000-3200-0000-5e3b30760000\\\"\",\r\n \"_ts\": 1580937334\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\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 }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9df9c653-1efb-43af-8510-a0f5aaeaf1b2"
+ ],
+ "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": [
+ "553"
+ ]
+ },
+ "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/db/tables/table/operationResults/e0353193-fbd5-4e25-9f88-538013ce6015?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e0353193-fbd5-4e25-9f88-538013ce6015?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "e0353193-fbd5-4e25-9f88-538013ce6015"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "ec5c90e5-7b5e-4895-8397-e3fc20fd86f1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211606Z:ec5c90e5-7b5e-4895-8397-e3fc20fd86f1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:06 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e0353193-fbd5-4e25-9f88-538013ce6015?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9lMDM1MzE5My1mYmQ1LTRlMjUtOWY4OC01MzgwMTNjZTYwMTU/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "fe48d6d8-e726-4153-9fd6-844f7f9a06d6"
+ ],
+ "x-ms-correlation-request-id": [
+ "fe48d6d8-e726-4153-9fd6-844f7f9a06d6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211636Z:fe48d6d8-e726-4153-9fd6-844f7f9a06d6"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:36 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e0353193-fbd5-4e25-9f88-538013ce6015?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGU/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "cc4203f7-d7d5-420e-880b-d3dd477393f5"
+ ],
+ "x-ms-correlation-request-id": [
+ "cc4203f7-d7d5-420e-880b-d3dd477393f5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211637Z:cc4203f7-d7d5-420e-880b-d3dd477393f5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:37 GMT"
+ ],
+ "Content-Length": [
+ "603"
+ ],
+ "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/db/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"9DwbAL0kYrA=\",\r\n \"_etag\": \"\\\"00009f01-0000-3200-0000-5e3b30980000\\\"\",\r\n \"_ts\": 1580937368,\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/db/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "97b5038f-1d40-4634-9619-a8be94e42af8"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "fd3d9304-d1e0-4157-bead-f1c8b2932918"
+ ],
+ "x-ms-correlation-request-id": [
+ "fd3d9304-d1e0-4157-bead-f1c8b2932918"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211638Z:fd3d9304-d1e0-4157-bead-f1c8b2932918"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:37 GMT"
+ ],
+ "Content-Length": [
+ "603"
+ ],
+ "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/db/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"9DwbAL0kYrA=\",\r\n \"_etag\": \"\\\"00009f01-0000-3200-0000-5e3b30980000\\\"\",\r\n \"_ts\": 1580937368,\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/db/tables?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c1a775b4-5337-49c6-ba9f-c6fee88f3031"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "bf97f03b-2f1c-428d-a87e-e29ed07e75cd"
+ ],
+ "x-ms-correlation-request-id": [
+ "bf97f03b-2f1c-428d-a87e-e29ed07e75cd"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211639Z:bf97f03b-2f1c-428d-a87e-e29ed07e75cd"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:38 GMT"
+ ],
+ "Content-Length": [
+ "615"
+ ],
+ "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/db/tables?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"9DwbAL0kYrA=\",\r\n \"_etag\": \"\\\"00009f01-0000-3200-0000-5e3b30980000\\\"\",\r\n \"_ts\": 1580937368,\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 }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bb39a6d8-bb00-408b-92a4-62664fb7f64a"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "b07b8815-0bf8-48ef-b1fb-57280856582f"
+ ],
+ "x-ms-correlation-request-id": [
+ "b07b8815-0bf8-48ef-b1fb-57280856582f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211640Z:b07b8815-0bf8-48ef-b1fb-57280856582f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:39 GMT"
+ ],
+ "Content-Length": [
+ "17849"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051636221961\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051636221961\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051636221961\",\r\n \"_rid\": \"IZMFAA==\",\r\n \"_etag\": \"\\\"00003e00-0000-3200-0000-5de9a2aa0000\\\"\",\r\n \"_ts\": 1575592618\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace323\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace323\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace323\",\r\n \"_rid\": \"c2oKAA==\",\r\n \"_etag\": \"\\\"0000c800-0000-3200-0000-5e2a18dc0000\\\"\",\r\n \"_ts\": 1579817180\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051821037704\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051821037704\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051821037704\",\r\n \"_rid\": \"ioQKAA==\",\r\n \"_etag\": \"\\\"00006800-0000-3200-0000-5de9bb360000\\\"\",\r\n \"_ts\": 1575598902\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051620481594\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051620481594\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051620481594\",\r\n \"_rid\": \"jqILAA==\",\r\n \"_etag\": \"\\\"00003400-0000-3200-0000-5de99f030000\\\"\",\r\n \"_ts\": 1575591683\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912061158111739\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912061158111739\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912061158111739\",\r\n \"_rid\": \"YwQNAA==\",\r\n \"_etag\": \"\\\"00007a00-0000-3200-0000-5deab2d60000\\\"\",\r\n \"_ts\": 1575662294\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051500494072\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051500494072\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051500494072\",\r\n \"_rid\": \"EzUTAA==\",\r\n \"_etag\": \"\\\"00001100-0000-3200-0000-5de98c460000\\\"\",\r\n \"_ts\": 1575586886\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051752092705\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051752092705\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051752092705\",\r\n \"_rid\": \"-t4TAA==\",\r\n \"_etag\": \"\\\"00005700-0000-3200-0000-5de9b46d0000\\\"\",\r\n \"_ts\": 1575597165\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912061144497824\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912061144497824\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912061144497824\",\r\n \"_rid\": \"YXYUAA==\",\r\n \"_etag\": \"\\\"00007200-0000-3200-0000-5deaafd60000\\\"\",\r\n \"_ts\": 1575661526\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051446045399\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051446045399\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051446045399\",\r\n \"_rid\": \"3DkXAA==\",\r\n \"_etag\": \"\\\"00000d00-0000-3200-0000-5de988af0000\\\"\",\r\n \"_ts\": 1575585967\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db\",\r\n \"_rid\": \"9DwbAA==\",\r\n \"_etag\": \"\\\"00009d01-0000-3200-0000-5e3b30760000\\\"\",\r\n \"_ts\": 1580937334\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912061144497824\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912061144497824\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912061144497824\",\r\n \"_rid\": \"MFsdAA==\",\r\n \"_etag\": \"\\\"00007000-0000-3200-0000-5deaafb40000\\\"\",\r\n \"_ts\": 1575661492\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051822343671\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051822343671\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051822343671\",\r\n \"_rid\": \"W30eAA==\",\r\n \"_etag\": \"\\\"00006b00-0000-3200-0000-5de9bb6e0000\\\"\",\r\n \"_ts\": 1575598958\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051638147338\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051638147338\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051638147338\",\r\n \"_rid\": \"1DQfAA==\",\r\n \"_etag\": \"\\\"00004100-0000-3200-0000-5de9a2fb0000\\\"\",\r\n \"_ts\": 1575592699\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace3\",\r\n \"_rid\": \"mqAiAA==\",\r\n \"_etag\": \"\\\"00005a00-0000-3200-0000-5de9b7e70000\\\"\",\r\n \"_ts\": 1575598055\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051650384576\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051650384576\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051650384576\",\r\n \"_rid\": \"8EwjAA==\",\r\n \"_etag\": \"\\\"00005200-0000-3200-0000-5de9a6040000\\\"\",\r\n \"_ts\": 1575593476\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051610355510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051610355510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051610355510\",\r\n \"_rid\": \"Ha4uAA==\",\r\n \"_etag\": \"\\\"00002a00-0000-3200-0000-5de99cda0000\\\"\",\r\n \"_ts\": 1575591130\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051646420110\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051646420110\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051646420110\",\r\n \"_rid\": \"TxczAA==\",\r\n \"_etag\": \"\\\"00004d00-0000-3200-0000-5de9a5170000\\\"\",\r\n \"_ts\": 1575593240\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051604163511\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051604163511\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051604163511\",\r\n \"_rid\": \"rZQ0AA==\",\r\n \"_etag\": \"\\\"00001b00-0000-3200-0000-5de99b240000\\\"\",\r\n \"_ts\": 1575590692\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051604163510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051604163510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051604163510\",\r\n \"_rid\": \"dsM3AA==\",\r\n \"_etag\": \"\\\"00001900-0000-3200-0000-5de99b030000\\\"\",\r\n \"_ts\": 1575590659\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051544409431\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051544409431\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051544409431\",\r\n \"_rid\": \"9PI6AA==\",\r\n \"_etag\": \"\\\"00001400-0000-3200-0000-5de9966c0000\\\"\",\r\n \"_ts\": 1575589484\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"W+08AA==\",\r\n \"_etag\": \"\\\"00008400-0000-3200-0000-5deac6a20000\\\"\",\r\n \"_ts\": 1575667362\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051646420110\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051646420110\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051646420110\",\r\n \"_rid\": \"Y55HAA==\",\r\n \"_etag\": \"\\\"00004b00-0000-3200-0000-5de9a4f50000\\\"\",\r\n \"_ts\": 1575593205\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051643109940\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051643109940\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051643109940\",\r\n \"_rid\": \"gdBIAA==\",\r\n \"_etag\": \"\\\"00004800-0000-3200-0000-5de9a4430000\\\"\",\r\n \"_ts\": 1575593027\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace23\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace23\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace23\",\r\n \"_rid\": \"jdRJAA==\",\r\n \"_etag\": \"\\\"00006000-0000-3200-0000-5de9b8330000\\\"\",\r\n \"_ts\": 1575598131\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051620481594\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051620481594\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051620481594\",\r\n \"_rid\": \"625NAA==\",\r\n \"_etag\": \"\\\"00003200-0000-3200-0000-5de99ee20000\\\"\",\r\n \"_ts\": 1575591650\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051822343671\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051822343671\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051822343671\",\r\n \"_rid\": \"urRNAA==\",\r\n \"_etag\": \"\\\"00006d00-0000-3200-0000-5de9bb950000\\\"\",\r\n \"_ts\": 1575598997\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051610355510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051610355510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051610355510\",\r\n \"_rid\": \"C7tOAA==\",\r\n \"_etag\": \"\\\"00002800-0000-3200-0000-5de99c820000\\\"\",\r\n \"_ts\": 1575591042\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051752092705\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051752092705\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051752092705\",\r\n \"_rid\": \"heBcAA==\",\r\n \"_etag\": \"\\\"00005500-0000-3200-0000-5de9b44c0000\\\"\",\r\n \"_ts\": 1575597132\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051544409431\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051544409431\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051544409431\",\r\n \"_rid\": \"V-hiAA==\",\r\n \"_etag\": \"\\\"00001600-0000-3200-0000-5de9968d0000\\\"\",\r\n \"_ts\": 1575589517\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051638147338\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051638147338\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051638147338\",\r\n \"_rid\": \"HQRoAA==\",\r\n \"_etag\": \"\\\"00004300-0000-3200-0000-5de9a31b0000\\\"\",\r\n \"_ts\": 1575592731\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051643109940\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051643109940\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051643109940\",\r\n \"_rid\": \"jsdoAA==\",\r\n \"_etag\": \"\\\"00004600-0000-3200-0000-5de9a4230000\\\"\",\r\n \"_ts\": 1575592995\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051650384576\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051650384576\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051650384576\",\r\n \"_rid\": \"FX5pAA==\",\r\n \"_etag\": \"\\\"00005000-0000-3200-0000-5de9a5e10000\\\"\",\r\n \"_ts\": 1575593441\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"RhBqAA==\",\r\n \"_etag\": \"\\\"00008600-0000-3200-0000-5deac6c30000\\\"\",\r\n \"_ts\": 1575667395\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912061158111740\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912061158111740\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912061158111740\",\r\n \"_rid\": \"sxlqAA==\",\r\n \"_etag\": \"\\\"00007c00-0000-3200-0000-5deab2f70000\\\"\",\r\n \"_ts\": 1575662327\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051607445794\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051607445794\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051607445794\",\r\n \"_rid\": \"l8ZqAA==\",\r\n \"_etag\": \"\\\"00001e00-0000-3200-0000-5de99bd30000\\\"\",\r\n \"_ts\": 1575590867\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051821037703\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051821037703\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051821037703\",\r\n \"_rid\": \"pcdrAA==\",\r\n \"_etag\": \"\\\"00006600-0000-3200-0000-5de9bb120000\\\"\",\r\n \"_ts\": 1575598866\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051500494072\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051500494072\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051500494072\",\r\n \"_rid\": \"wD9sAA==\",\r\n \"_etag\": \"\\\"00000f00-0000-3200-0000-5de98c250000\\\"\",\r\n \"_ts\": 1575586853\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051636221960\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051636221960\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051636221960\",\r\n \"_rid\": \"uvhxAA==\",\r\n \"_etag\": \"\\\"00003c00-0000-3200-0000-5de9a2890000\\\"\",\r\n \"_ts\": 1575592585\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051607445795\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051607445795\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051607445795\",\r\n \"_rid\": \"l+l7AA==\",\r\n \"_etag\": \"\\\"00002000-0000-3200-0000-5de99bf70000\\\"\",\r\n \"_ts\": 1575590903\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/db/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "304f11af-b3bc-44ca-a6cc-a18bd7481497"
+ ],
+ "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/db/tables/table/operationResults/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "52a70f93-a00b-4136-aa80-d2aea25a8b11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "82a4f24a-27e3-430d-bf38-2a60cd04eddb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211640Z:82a4f24a-27e3-430d-bf38-2a60cd04eddb"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:16:40 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy81MmE3MGY5My1hMDBiLTQxMzYtYWE4MC1kMmFlYTI1YThiMTE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "bc752f7f-a36e-45df-98ac-da3e973091cc"
+ ],
+ "x-ms-correlation-request-id": [
+ "bc752f7f-a36e-45df-98ac-da3e973091cc"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211711Z:bc752f7f-a36e-45df-98ac-da3e973091cc"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:17:10 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/tables/table/operationResults/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGUvb3BlcmF0aW9uUmVzdWx0cy81MmE3MGY5My1hMDBiLTQxMzYtYWE4MC1kMmFlYTI1YThiMTE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "d1435f79-69bb-47cb-842b-1b1c7042f94a"
+ ],
+ "x-ms-correlation-request-id": [
+ "d1435f79-69bb-47cb-842b-1b1c7042f94a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211712Z:d1435f79-69bb-47cb-842b-1b1c7042f94a"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:17:11 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/db/tables/table/operationResults/52a70f93-a00b-4136-aa80-d2aea25a8b11?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f9694399-96a2-4e86-9193-32993403b967"
+ ],
+ "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/db/operationResults/03b40424-b869-472e-8f13-1c52df1b1a37?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/03b40424-b869-472e-8f13-1c52df1b1a37?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "03b40424-b869-472e-8f13-1c52df1b1a37"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "67aa82b1-e18d-4417-bd1b-d1c3a9398b26"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211713Z:67aa82b1-e18d-4417-bd1b-d1c3a9398b26"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:17:12 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/03b40424-b869-472e-8f13-1c52df1b1a37?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8wM2I0MDQyNC1iODY5LTQ3MmUtOGYxMy0xYzUyZGYxYjFhMzc/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "09b7918b-fd2e-4001-97e3-eecd8bdfe909"
+ ],
+ "x-ms-correlation-request-id": [
+ "09b7918b-fd2e-4001-97e3-eecd8bdfe909"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211744Z:09b7918b-fd2e-4001-97e3-eecd8bdfe909"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:17:43 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/03b40424-b869-472e-8f13-1c52df1b1a37?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/operationResults/03b40424-b869-472e-8f13-1c52df1b1a37?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi9vcGVyYXRpb25SZXN1bHRzLzAzYjQwNDI0LWI4NjktNDcyZS04ZjEzLTFjNTJkZjFiMWEzNz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "57b2ca46-eaed-440c-9a49-04f26ceb1d5d"
+ ],
+ "x-ms-correlation-request-id": [
+ "57b2ca46-eaed-440c-9a49-04f26ceb1d5d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211744Z:57b2ca46-eaed-440c-9a49-04f26ceb1d5d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:17:43 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/db/operationResults/03b40424-b869-472e-8f13-1c52df1b1a37?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.CassandraOperationsTests/TestCassandraOperationsCmdletsUsingInputObject.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdletsUsingInputObject.json
new file mode 100644
index 000000000000..25f5b78002af
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdletsUsingInputObject.json
@@ -0,0 +1,1112 @@
+{
+ "Entries": [
+ {
+ "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": [
+ "16948b5d-6ba6-4353-9edb-909966962223"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9"
+ ],
+ "x-ms-correlation-request-id": [
+ "8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211318Z:8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:18 GMT"
+ ],
+ "Content-Length": [
+ "1767"
+ ],
+ "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 \"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 \"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/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjI/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "86ff690a-b85f-4d38-94a9-7b057d3aaa85"
+ ],
+ "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": [
+ "93"
+ ]
+ },
+ "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/db2/operationResults/8ac5e84e-3ad9-472e-977f-956f0ba53571?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/8ac5e84e-3ad9-472e-977f-956f0ba53571?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "8ac5e84e-3ad9-472e-977f-956f0ba53571"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "0e52143e-a9ed-409f-ba38-cb858ad57457"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211319Z:0e52143e-a9ed-409f-ba38-cb858ad57457"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:18 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/8ac5e84e-3ad9-472e-977f-956f0ba53571?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy84YWM1ZTg0ZS0zYWQ5LTQ3MmUtOTc3Zi05NTZmMGJhNTM1NzE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "2658af93-0943-41fc-bc2d-cfc6571ef917"
+ ],
+ "x-ms-correlation-request-id": [
+ "2658af93-0943-41fc-bc2d-cfc6571ef917"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211349Z:2658af93-0943-41fc-bc2d-cfc6571ef917"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:49 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/8ac5e84e-3ad9-472e-977f-956f0ba53571?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjI/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "dfb1f131-902a-4846-b667-1f0b2f41fb23"
+ ],
+ "x-ms-correlation-request-id": [
+ "dfb1f131-902a-4846-b667-1f0b2f41fb23"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211350Z:dfb1f131-902a-4846-b667-1f0b2f41fb23"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:50 GMT"
+ ],
+ "Content-Length": [
+ "383"
+ ],
+ "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/db2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db2\",\r\n \"_rid\": \"RYxxAA==\",\r\n \"_etag\": \"\\\"00009701-0000-3200-0000-5e3b2ff10000\\\"\",\r\n \"_ts\": 1580937201\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjI/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "08ce4526-dd1a-4350-81f1-56d2cfcb4ce0"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "a9d84a19-5aec-4c87-b932-bf1682d58217"
+ ],
+ "x-ms-correlation-request-id": [
+ "a9d84a19-5aec-4c87-b932-bf1682d58217"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211425Z:a9d84a19-5aec-4c87-b932-bf1682d58217"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:24 GMT"
+ ],
+ "Content-Length": [
+ "383"
+ ],
+ "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/db2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db2\",\r\n \"_rid\": \"RYxxAA==\",\r\n \"_etag\": \"\\\"00009701-0000-3200-0000-5e3b2ff10000\\\"\",\r\n \"_ts\": 1580937201\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\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 }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "678a171e-9807-451a-8658-be4df157f731"
+ ],
+ "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": [
+ "553"
+ ]
+ },
+ "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/db2/tables/table/operationResults/de4b06c5-ad24-4761-ac58-ca72036993ad?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/de4b06c5-ad24-4761-ac58-ca72036993ad?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "de4b06c5-ad24-4761-ac58-ca72036993ad"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "f791230a-b444-4aaa-be85-334887c8252f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211353Z:f791230a-b444-4aaa-be85-334887c8252f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:52 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db2/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/de4b06c5-ad24-4761-ac58-ca72036993ad?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9kZTRiMDZjNS1hZDI0LTQ3NjEtYWM1OC1jYTcyMDM2OTkzYWQ/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "5a378bae-acc5-4843-b2f9-0ca8de43e1a8"
+ ],
+ "x-ms-correlation-request-id": [
+ "5a378bae-acc5-4843-b2f9-0ca8de43e1a8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211423Z:5a378bae-acc5-4843-b2f9-0ca8de43e1a8"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:22 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/de4b06c5-ad24-4761-ac58-ca72036993ad?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "3fd07ccb-ea65-4624-83e3-97dfc4217ef8"
+ ],
+ "x-ms-correlation-request-id": [
+ "3fd07ccb-ea65-4624-83e3-97dfc4217ef8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211424Z:3fd07ccb-ea65-4624-83e3-97dfc4217ef8"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:23 GMT"
+ ],
+ "Content-Length": [
+ "604"
+ ],
+ "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/db2/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"RYxxAJ6uxdA=\",\r\n \"_etag\": \"\\\"00009901-0000-3200-0000-5e3b30130000\\\"\",\r\n \"_ts\": 1580937235,\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/db2/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "79eb5e39-a27e-4153-bc1c-587fb1815fcd"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "c82c9cc8-b7fc-414b-9846-14760fc44c99"
+ ],
+ "x-ms-correlation-request-id": [
+ "c82c9cc8-b7fc-414b-9846-14760fc44c99"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211425Z:c82c9cc8-b7fc-414b-9846-14760fc44c99"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:24 GMT"
+ ],
+ "Content-Length": [
+ "604"
+ ],
+ "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/db2/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"RYxxAJ6uxdA=\",\r\n \"_etag\": \"\\\"00009901-0000-3200-0000-5e3b30130000\\\"\",\r\n \"_ts\": 1580937235,\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/db2/tables?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "410156ac-8ffe-4161-882d-6b939a1ab110"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "45713dad-a02b-47a4-b54f-3369f3ab65a3"
+ ],
+ "x-ms-correlation-request-id": [
+ "45713dad-a02b-47a4-b54f-3369f3ab65a3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211426Z:45713dad-a02b-47a4-b54f-3369f3ab65a3"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:25 GMT"
+ ],
+ "Content-Length": [
+ "616"
+ ],
+ "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/db2/tables?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"table\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table\",\r\n \"_rid\": \"RYxxAJ6uxdA=\",\r\n \"_etag\": \"\\\"00009901-0000-3200-0000-5e3b30130000\\\"\",\r\n \"_ts\": 1580937235,\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 }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cda5ab42-6b6b-4e80-abc5-7f65028428c3"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "a12ec22d-ecb9-4d14-a6fc-d80990bc3773"
+ ],
+ "x-ms-correlation-request-id": [
+ "a12ec22d-ecb9-4d14-a6fc-d80990bc3773"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211426Z:a12ec22d-ecb9-4d14-a6fc-d80990bc3773"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:25 GMT"
+ ],
+ "Content-Length": [
+ "17852"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051636221961\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051636221961\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051636221961\",\r\n \"_rid\": \"IZMFAA==\",\r\n \"_etag\": \"\\\"00003e00-0000-3200-0000-5de9a2aa0000\\\"\",\r\n \"_ts\": 1575592618\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace323\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace323\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace323\",\r\n \"_rid\": \"c2oKAA==\",\r\n \"_etag\": \"\\\"0000c800-0000-3200-0000-5e2a18dc0000\\\"\",\r\n \"_ts\": 1579817180\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051821037704\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051821037704\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051821037704\",\r\n \"_rid\": \"ioQKAA==\",\r\n \"_etag\": \"\\\"00006800-0000-3200-0000-5de9bb360000\\\"\",\r\n \"_ts\": 1575598902\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051620481594\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051620481594\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051620481594\",\r\n \"_rid\": \"jqILAA==\",\r\n \"_etag\": \"\\\"00003400-0000-3200-0000-5de99f030000\\\"\",\r\n \"_ts\": 1575591683\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912061158111739\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912061158111739\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912061158111739\",\r\n \"_rid\": \"YwQNAA==\",\r\n \"_etag\": \"\\\"00007a00-0000-3200-0000-5deab2d60000\\\"\",\r\n \"_ts\": 1575662294\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051500494072\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051500494072\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051500494072\",\r\n \"_rid\": \"EzUTAA==\",\r\n \"_etag\": \"\\\"00001100-0000-3200-0000-5de98c460000\\\"\",\r\n \"_ts\": 1575586886\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051752092705\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051752092705\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051752092705\",\r\n \"_rid\": \"-t4TAA==\",\r\n \"_etag\": \"\\\"00005700-0000-3200-0000-5de9b46d0000\\\"\",\r\n \"_ts\": 1575597165\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912061144497824\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912061144497824\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912061144497824\",\r\n \"_rid\": \"YXYUAA==\",\r\n \"_etag\": \"\\\"00007200-0000-3200-0000-5deaafd60000\\\"\",\r\n \"_ts\": 1575661526\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051446045399\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051446045399\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051446045399\",\r\n \"_rid\": \"3DkXAA==\",\r\n \"_etag\": \"\\\"00000d00-0000-3200-0000-5de988af0000\\\"\",\r\n \"_ts\": 1575585967\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912061144497824\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912061144497824\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912061144497824\",\r\n \"_rid\": \"MFsdAA==\",\r\n \"_etag\": \"\\\"00007000-0000-3200-0000-5deaafb40000\\\"\",\r\n \"_ts\": 1575661492\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051822343671\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051822343671\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051822343671\",\r\n \"_rid\": \"W30eAA==\",\r\n \"_etag\": \"\\\"00006b00-0000-3200-0000-5de9bb6e0000\\\"\",\r\n \"_ts\": 1575598958\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051638147338\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051638147338\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051638147338\",\r\n \"_rid\": \"1DQfAA==\",\r\n \"_etag\": \"\\\"00004100-0000-3200-0000-5de9a2fb0000\\\"\",\r\n \"_ts\": 1575592699\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace3\",\r\n \"_rid\": \"mqAiAA==\",\r\n \"_etag\": \"\\\"00005a00-0000-3200-0000-5de9b7e70000\\\"\",\r\n \"_ts\": 1575598055\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051650384576\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051650384576\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051650384576\",\r\n \"_rid\": \"8EwjAA==\",\r\n \"_etag\": \"\\\"00005200-0000-3200-0000-5de9a6040000\\\"\",\r\n \"_ts\": 1575593476\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051610355510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051610355510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051610355510\",\r\n \"_rid\": \"Ha4uAA==\",\r\n \"_etag\": \"\\\"00002a00-0000-3200-0000-5de99cda0000\\\"\",\r\n \"_ts\": 1575591130\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051646420110\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051646420110\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051646420110\",\r\n \"_rid\": \"TxczAA==\",\r\n \"_etag\": \"\\\"00004d00-0000-3200-0000-5de9a5170000\\\"\",\r\n \"_ts\": 1575593240\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051604163511\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051604163511\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051604163511\",\r\n \"_rid\": \"rZQ0AA==\",\r\n \"_etag\": \"\\\"00001b00-0000-3200-0000-5de99b240000\\\"\",\r\n \"_ts\": 1575590692\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051604163510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051604163510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051604163510\",\r\n \"_rid\": \"dsM3AA==\",\r\n \"_etag\": \"\\\"00001900-0000-3200-0000-5de99b030000\\\"\",\r\n \"_ts\": 1575590659\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051544409431\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051544409431\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051544409431\",\r\n \"_rid\": \"9PI6AA==\",\r\n \"_etag\": \"\\\"00001400-0000-3200-0000-5de9966c0000\\\"\",\r\n \"_ts\": 1575589484\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"W+08AA==\",\r\n \"_etag\": \"\\\"00008400-0000-3200-0000-5deac6a20000\\\"\",\r\n \"_ts\": 1575667362\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051646420110\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051646420110\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051646420110\",\r\n \"_rid\": \"Y55HAA==\",\r\n \"_etag\": \"\\\"00004b00-0000-3200-0000-5de9a4f50000\\\"\",\r\n \"_ts\": 1575593205\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051643109940\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051643109940\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051643109940\",\r\n \"_rid\": \"gdBIAA==\",\r\n \"_etag\": \"\\\"00004800-0000-3200-0000-5de9a4430000\\\"\",\r\n \"_ts\": 1575593027\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspace23\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspace23\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspace23\",\r\n \"_rid\": \"jdRJAA==\",\r\n \"_etag\": \"\\\"00006000-0000-3200-0000-5de9b8330000\\\"\",\r\n \"_ts\": 1575598131\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051620481594\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051620481594\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051620481594\",\r\n \"_rid\": \"625NAA==\",\r\n \"_etag\": \"\\\"00003200-0000-3200-0000-5de99ee20000\\\"\",\r\n \"_ts\": 1575591650\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051822343671\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051822343671\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051822343671\",\r\n \"_rid\": \"urRNAA==\",\r\n \"_etag\": \"\\\"00006d00-0000-3200-0000-5de9bb950000\\\"\",\r\n \"_ts\": 1575598997\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051610355510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051610355510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051610355510\",\r\n \"_rid\": \"C7tOAA==\",\r\n \"_etag\": \"\\\"00002800-0000-3200-0000-5de99c820000\\\"\",\r\n \"_ts\": 1575591042\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051752092705\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051752092705\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051752092705\",\r\n \"_rid\": \"heBcAA==\",\r\n \"_etag\": \"\\\"00005500-0000-3200-0000-5de9b44c0000\\\"\",\r\n \"_ts\": 1575597132\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051544409431\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051544409431\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051544409431\",\r\n \"_rid\": \"V-hiAA==\",\r\n \"_etag\": \"\\\"00001600-0000-3200-0000-5de9968d0000\\\"\",\r\n \"_ts\": 1575589517\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051638147338\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051638147338\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051638147338\",\r\n \"_rid\": \"HQRoAA==\",\r\n \"_etag\": \"\\\"00004300-0000-3200-0000-5de9a31b0000\\\"\",\r\n \"_ts\": 1575592731\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051643109940\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051643109940\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051643109940\",\r\n \"_rid\": \"jsdoAA==\",\r\n \"_etag\": \"\\\"00004600-0000-3200-0000-5de9a4230000\\\"\",\r\n \"_ts\": 1575592995\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051650384576\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051650384576\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051650384576\",\r\n \"_rid\": \"FX5pAA==\",\r\n \"_etag\": \"\\\"00005000-0000-3200-0000-5de9a5e10000\\\"\",\r\n \"_ts\": 1575593441\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"RhBqAA==\",\r\n \"_etag\": \"\\\"00008600-0000-3200-0000-5deac6c30000\\\"\",\r\n \"_ts\": 1575667395\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912061158111740\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912061158111740\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912061158111740\",\r\n \"_rid\": \"sxlqAA==\",\r\n \"_etag\": \"\\\"00007c00-0000-3200-0000-5deab2f70000\\\"\",\r\n \"_ts\": 1575662327\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051607445794\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051607445794\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051607445794\",\r\n \"_rid\": \"l8ZqAA==\",\r\n \"_etag\": \"\\\"00001e00-0000-3200-0000-5de99bd30000\\\"\",\r\n \"_ts\": 1575590867\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051821037703\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051821037703\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051821037703\",\r\n \"_rid\": \"pcdrAA==\",\r\n \"_etag\": \"\\\"00006600-0000-3200-0000-5de9bb120000\\\"\",\r\n \"_ts\": 1575598866\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051500494072\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051500494072\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051500494072\",\r\n \"_rid\": \"wD9sAA==\",\r\n \"_etag\": \"\\\"00000f00-0000-3200-0000-5de98c250000\\\"\",\r\n \"_ts\": 1575586853\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"db2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"db2\",\r\n \"_rid\": \"RYxxAA==\",\r\n \"_etag\": \"\\\"00009701-0000-3200-0000-5e3b2ff10000\\\"\",\r\n \"_ts\": 1580937201\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName201912051636221960\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName201912051636221960\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName201912051636221960\",\r\n \"_rid\": \"uvhxAA==\",\r\n \"_etag\": \"\\\"00003c00-0000-3200-0000-5de9a2890000\\\"\",\r\n \"_ts\": 1575592585\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/keyspaceName2201912051607445795\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2201912051607445795\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2201912051607445795\",\r\n \"_rid\": \"l+l7AA==\",\r\n \"_etag\": \"\\\"00002000-0000-3200-0000-5de99bf70000\\\"\",\r\n \"_ts\": 1575590903\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/db2/tables/table?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b91af20a-969f-456f-a6f6-986b8eb3ac03"
+ ],
+ "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/db2/tables/table/operationResults/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "e6e93a9b-5de2-413c-9ef2-8e2a6761133a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "98c42b26-3544-4bed-bb9a-1ffbfca15be6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211427Z:98c42b26-3544-4bed-bb9a-1ffbfca15be6"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:26 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db2/tables/table?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9lNmU5M2E5Yi01ZGUyLTQxM2MtOWVmMi04ZTJhNjc2MTEzM2E/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "f767bd18-1143-4254-b228-3229e04c6f9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "f767bd18-1143-4254-b228-3229e04c6f9d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211457Z:f767bd18-1143-4254-b228-3229e04c6f9d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:57 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/tables/table/operationResults/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlL29wZXJhdGlvblJlc3VsdHMvZTZlOTNhOWItNWRlMi00MTNjLTllZjItOGUyYTY3NjExMzNhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-request-id": [
+ "aad6b0e9-4319-4ece-9977-cbe96360eed1"
+ ],
+ "x-ms-correlation-request-id": [
+ "aad6b0e9-4319-4ece-9977-cbe96360eed1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211459Z:aad6b0e9-4319-4ece-9977-cbe96360eed1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:58 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/db2/tables/table/operationResults/e6e93a9b-5de2-413c-9ef2-8e2a6761133a?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjI/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c5e3c12d-f5fa-46f8-b7bb-3fdc8612c432"
+ ],
+ "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/db2/operationResults/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "54a54b28-59b5-4f8b-8765-295ffb5a3f5a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "86d8a1a2-33a0-4419-8b79-21ef3814fdda"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211459Z:86d8a1a2-33a0-4419-8b79-21ef3814fdda"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:14:59 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/db2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy81NGE1NGIyOC01OWI1LTRmOGItODc2NS0yOTVmZmI1YTNmNWE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "21081939-8cd9-429c-927a-81a8da975563"
+ ],
+ "x-ms-correlation-request-id": [
+ "21081939-8cd9-429c-927a-81a8da975563"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211529Z:21081939-8cd9-429c-927a-81a8da975563"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:15:29 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/operationResults/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvb3BlcmF0aW9uUmVzdWx0cy81NGE1NGIyOC01OWI1LTRmOGItODc2NS0yOTVmZmI1YTNmNWE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "41c64e6d-04f9-4958-b64f-6a6bda1da76f"
+ ],
+ "x-ms-correlation-request-id": [
+ "41c64e6d-04f9-4958-b64f-6a6bda1da76f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211530Z:41c64e6d-04f9-4958-b64f-6a6bda1da76f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:15:29 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/db2/operationResults/54a54b28-59b5-4f8b-8765-295ffb5a3f5a?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/TestGremlinOperationsCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdlets.json
new file mode 100644
index 000000000000..61199595600b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdlets.json
@@ -0,0 +1,1046 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bb90848a-0432-48f6-b9e6-ae517012d20c"
+ ],
+ "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": [
+ "96"
+ ]
+ },
+ "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/dbName/operationResults/371f24dd-63d5-4806-b18b-e4c6adee2b31?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/371f24dd-63d5-4806-b18b-e4c6adee2b31?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "371f24dd-63d5-4806-b18b-e4c6adee2b31"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "675f0dab-8cd6-4ab7-b911-fcb1e27068d4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210652Z:675f0dab-8cd6-4ab7-b911-fcb1e27068d4"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:06:52 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/371f24dd-63d5-4806-b18b-e4c6adee2b31?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzcxZjI0ZGQtNjNkNS00ODA2LWIxOGItZTRjNmFkZWUyYjMxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "549a36cc-0785-4f37-bd14-705b8894ee2d"
+ ],
+ "x-ms-correlation-request-id": [
+ "549a36cc-0785-4f37-bd14-705b8894ee2d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210722Z:549a36cc-0785-4f37-bd14-705b8894ee2d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:22 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/371f24dd-63d5-4806-b18b-e4c6adee2b31?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "602e54c9-b8dd-4ba8-8813-ff4d36064378"
+ ],
+ "x-ms-correlation-request-id": [
+ "602e54c9-b8dd-4ba8-8813-ff4d36064378"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210722Z:602e54c9-b8dd-4ba8-8813-ff4d36064378"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:22 GMT"
+ ],
+ "Content-Length": [
+ "448"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"f-NvAA==\",\r\n \"_self\": \"dbs/f-NvAA==/\",\r\n \"_etag\": \"\\\"00000d00-0000-0100-0000-5e3b2e6d0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936813\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cddf444c-68ad-49fb-83af-d280ff257539"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "d811a272-4dfe-49cb-8782-bf15861f60c5"
+ ],
+ "x-ms-correlation-request-id": [
+ "d811a272-4dfe-49cb-8782-bf15861f60c5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210754Z:d811a272-4dfe-49cb-8782-bf15861f60c5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:53 GMT"
+ ],
+ "Content-Length": [
+ "448"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"f-NvAA==\",\r\n \"_self\": \"dbs/f-NvAA==/\",\r\n \"_etag\": \"\\\"00000d00-0000-0100-0000-5e3b2e6d0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936813\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\r\n \"indexingPolicy\": {\r\n \"automatic\": true,\r\n \"indexingMode\": \"Consistent\",\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\",\r\n \"indexes\": [\r\n {\r\n \"dataType\": \"String\",\r\n \"precision\": -1,\r\n \"kind\": \"Hash\"\r\n },\r\n {\r\n \"dataType\": \"String\",\r\n \"precision\": -1,\r\n \"kind\": \"Hash\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/myPathToNotIndex/*\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"Ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"Descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"Descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"Ascending\"\r\n }\r\n ]\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "527ff01a-3a7d-4738-8c84-c7c8955d421f"
+ ],
+ "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": [
+ "2039"
+ ]
+ },
+ "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/dbName/graphs/graph1/operationResults/0c0e6bb3-7826-4d55-8a22-f89bc602366f?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0c0e6bb3-7826-4d55-8a22-f89bc602366f?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "0c0e6bb3-7826-4d55-8a22-f89bc602366f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "c805788a-d6e2-424c-b581-4c97618c7fc5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210723Z:c805788a-d6e2-424c-b581-4c97618c7fc5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:23 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0c0e6bb3-7826-4d55-8a22-f89bc602366f?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMGMwZTZiYjMtNzgyNi00ZDU1LThhMjItZjg5YmM2MDIzNjZmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "f4d5f5de-e034-4250-a9d4-d8735e56df04"
+ ],
+ "x-ms-correlation-request-id": [
+ "f4d5f5de-e034-4250-a9d4-d8735e56df04"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210753Z:f4d5f5de-e034-4250-a9d4-d8735e56df04"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:53 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0c0e6bb3-7826-4d55-8a22-f89bc602366f?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "4c80bbb3-1265-437e-8a81-d9f184612309"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c80bbb3-1265-437e-8a81-d9f184612309"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210754Z:4c80bbb3-1265-437e-8a81-d9f184612309"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:53 GMT"
+ ],
+ "Content-Length": [
+ "1436"
+ ],
+ "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/dbName/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"f-NvAP1F3Hs=\",\r\n \"_ts\": 1580936844,\r\n \"_self\": \"dbs/f-NvAA==/colls/f-NvAP1F3Hs=/\",\r\n \"_etag\": \"\\\"00000f00-0000-0100-0000-5e3b2e8c0000\\\"\",\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\": 192,\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/dbName/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5a4c9619-8ca2-4d06-b32d-8270d1d99711"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "5e888c2f-df7b-41d3-a4dc-647017db391b"
+ ],
+ "x-ms-correlation-request-id": [
+ "5e888c2f-df7b-41d3-a4dc-647017db391b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210754Z:5e888c2f-df7b-41d3-a4dc-647017db391b"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:54 GMT"
+ ],
+ "Content-Length": [
+ "1436"
+ ],
+ "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/dbName/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"f-NvAP1F3Hs=\",\r\n \"_ts\": 1580936844,\r\n \"_self\": \"dbs/f-NvAA==/colls/f-NvAP1F3Hs=/\",\r\n \"_etag\": \"\\\"00000f00-0000-0100-0000-5e3b2e8c0000\\\"\",\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\": 192,\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/dbName/graphs?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e53e0bd4-b8fd-4cfb-9ea0-8deee2c1dab0"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "1be090e1-04bb-4d79-be51-393fc1831433"
+ ],
+ "x-ms-correlation-request-id": [
+ "1be090e1-04bb-4d79-be51-393fc1831433"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210755Z:1be090e1-04bb-4d79-be51-393fc1831433"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:54 GMT"
+ ],
+ "Content-Length": [
+ "1370"
+ ],
+ "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/dbName/graphs?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"f-NvAP1F3Hs=\",\r\n \"_ts\": 1580936844,\r\n \"_self\": \"dbs/f-NvAA==/colls/f-NvAP1F3Hs=/\",\r\n \"_etag\": \"\\\"00000f00-0000-0100-0000-5e3b2e8c0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\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?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f68725d4-d310-4ef7-aba3-549228aeb41e"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "2c6f5e49-d23b-44d7-8119-9af918fd3027"
+ ],
+ "x-ms-correlation-request-id": [
+ "2c6f5e49-d23b-44d7-8119-9af918fd3027"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210755Z:2c6f5e49-d23b-44d7-8119-9af918fd3027"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:54 GMT"
+ ],
+ "Content-Length": [
+ "903"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/\\\"\\\"\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"\\\"\\\"\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"\\\"\\\"\",\r\n \"_rid\": \"A2I4AA==\",\r\n \"_self\": \"dbs/A2I4AA==/\",\r\n \"_etag\": \"\\\"00006803-0000-0100-0000-5e221abf0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579293375\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"f-NvAA==\",\r\n \"_self\": \"dbs/f-NvAA==/\",\r\n \"_etag\": \"\\\"00000d00-0000-0100-0000-5e3b2e6d0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936813\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/dbName/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0d8a64a0-03af-413e-9694-2d475927a01b"
+ ],
+ "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/dbName/graphs/graph1/operationResults/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "4b6df823-5c06-49d4-8c27-35abd6661eb2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "1efa961a-0c17-41f8-92a8-b6224b7a7870"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210756Z:1efa961a-0c17-41f8-92a8-b6224b7a7870"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:07:55 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGI2ZGY4MjMtNWMwNi00OWQ0LThjMjctMzVhYmQ2NjYxZWIyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "5c0f871d-c953-4e24-a33d-95510c6ffeb5"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c0f871d-c953-4e24-a33d-95510c6ffeb5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210826Z:5c0f871d-c953-4e24-a33d-95510c6ffeb5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:25 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/graphs/graph1/operationResults/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDEvb3BlcmF0aW9uUmVzdWx0cy80YjZkZjgyMy01YzA2LTQ5ZDQtOGMyNy0zNWFiZDY2NjFlYjI/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-request-id": [
+ "403deae5-6759-4027-b33f-9d8f1d79d2ae"
+ ],
+ "x-ms-correlation-request-id": [
+ "403deae5-6759-4027-b33f-9d8f1d79d2ae"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210826Z:403deae5-6759-4027-b33f-9d8f1d79d2ae"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:25 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/dbName/graphs/graph1/operationResults/4b6df823-5c06-49d4-8c27-35abd6661eb2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f81296a7-fde2-4620-b0ab-06e6cbc85c86"
+ ],
+ "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/dbName/operationResults/833ed0dc-88b8-4809-808b-0c08ce8b97c2?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/833ed0dc-88b8-4809-808b-0c08ce8b97c2?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "833ed0dc-88b8-4809-808b-0c08ce8b97c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "5b261bab-a87b-4841-8fa0-a079d5f8a096"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210827Z:5b261bab-a87b-4841-8fa0-a079d5f8a096"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:26 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/833ed0dc-88b8-4809-808b-0c08ce8b97c2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvODMzZWQwZGMtODhiOC00ODA5LTgwOGItMGMwOGNlOGI5N2MyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "cec77ccb-6367-47a8-bc6c-9287cf847781"
+ ],
+ "x-ms-correlation-request-id": [
+ "cec77ccb-6367-47a8-bc6c-9287cf847781"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210857Z:cec77ccb-6367-47a8-bc6c-9287cf847781"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:56 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/833ed0dc-88b8-4809-808b-0c08ce8b97c2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/operationResults/833ed0dc-88b8-4809-808b-0c08ce8b97c2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL29wZXJhdGlvblJlc3VsdHMvODMzZWQwZGMtODhiOC00ODA5LTgwOGItMGMwOGNlOGI5N2MyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "f2531bf9-07b2-4260-b7de-6fb313fd888a"
+ ],
+ "x-ms-correlation-request-id": [
+ "f2531bf9-07b2-4260-b7de-6fb313fd888a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210857Z:f2531bf9-07b2-4260-b7de-6fb313fd888a"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:56 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/dbName/operationResults/833ed0dc-88b8-4809-808b-0c08ce8b97c2?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/TestGremlinOperationsCmdletsUsingInputObject.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdletsUsingInputObject.json
new file mode 100644
index 000000000000..8d00b2605355
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdletsUsingInputObject.json
@@ -0,0 +1,1112 @@
+{
+ "Entries": [
+ {
+ "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": [
+ "9dc840c3-a371-4371-a414-d3516605abe5"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "30791575-3ae5-4d87-98fb-82ca3080d3dd"
+ ],
+ "x-ms-correlation-request-id": [
+ "30791575-3ae5-4d87-98fb-82ca3080d3dd"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210859Z:30791575-3ae5-4d87-98fb-82ca3080d3dd"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:58 GMT"
+ ],
+ "Content-Length": [
+ "1746"
+ ],
+ "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 \"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 \"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/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e1481b42-086b-460e-b32a-3961244ef944"
+ ],
+ "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": [
+ "97"
+ ]
+ },
+ "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/dbName2/operationResults/bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "765a2e6d-1b46-4cfd-b16d-8d01bafe4f05"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210859Z:765a2e6d-1b46-4cfd-b16d-8d01bafe4f05"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:08:59 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYmQyY2Y5YTUtNTk1YS00ZWQ5LWEwYWMtYmY5YTQ5YjhlMTY4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "26646451-0ab8-497d-8496-f3a2d26c0c21"
+ ],
+ "x-ms-correlation-request-id": [
+ "26646451-0ab8-497d-8496-f3a2d26c0c21"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210929Z:26646451-0ab8-497d-8496-f3a2d26c0c21"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:09:29 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "4892c8d2-0e4e-46bb-bb21-efde7b2412bb"
+ ],
+ "x-ms-correlation-request-id": [
+ "4892c8d2-0e4e-46bb-bb21-efde7b2412bb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210930Z:4892c8d2-0e4e-46bb-bb21-efde7b2412bb"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:09:29 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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"hZRHAA==\",\r\n \"_self\": \"dbs/hZRHAA==/\",\r\n \"_etag\": \"\\\"00001300-0000-0100-0000-5e3b2eed0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936941\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c34f7260-f2f4-49e1-b31e-199bf4659580"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "5d16a93b-7152-449e-a6ba-a4bf7a7e0c96"
+ ],
+ "x-ms-correlation-request-id": [
+ "5d16a93b-7152-449e-a6ba-a4bf7a7e0c96"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211001Z:5d16a93b-7152-449e-a6ba-a4bf7a7e0c96"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:01 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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"hZRHAA==\",\r\n \"_self\": \"dbs/hZRHAA==/\",\r\n \"_etag\": \"\\\"00001300-0000-0100-0000-5e3b2eed0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936941\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo\"\r\n ],\r\n \"kind\": \"Hash\"\r\n }\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c95c63a9-e523-471d-9dc6-481ad988e7f7"
+ ],
+ "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": [
+ "205"
+ ]
+ },
+ "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/dbName2/graphs/graph1/operationResults/ff7f8745-8f70-442b-a519-54d31de92aea?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ff7f8745-8f70-442b-a519-54d31de92aea?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "ff7f8745-8f70-442b-a519-54d31de92aea"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "aeaaa4ee-87ca-4cc2-9103-e8d6801c8786"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T210930Z:aeaaa4ee-87ca-4cc2-9103-e8d6801c8786"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:09:29 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ff7f8745-8f70-442b-a519-54d31de92aea?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZmY3Zjg3NDUtOGY3MC00NDJiLWE1MTktNTRkMzFkZTkyYWVhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "64255878-3f22-4409-a680-5950c9bf9327"
+ ],
+ "x-ms-correlation-request-id": [
+ "64255878-3f22-4409-a680-5950c9bf9327"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211000Z:64255878-3f22-4409-a680-5950c9bf9327"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:00 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ff7f8745-8f70-442b-a519-54d31de92aea?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211001Z:bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:01 GMT"
+ ],
+ "Content-Length": [
+ "1015"
+ ],
+ "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/dbName2/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"hZRHAJei5R8=\",\r\n \"_ts\": 1580936972,\r\n \"_self\": \"dbs/hZRHAA==/colls/hZRHAJei5R8=/\",\r\n \"_etag\": \"\\\"00001500-0000-0100-0000-5e3b2f0c0000\\\"\",\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/dbName2/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6f722976-b149-4422-9c3d-88b9a274e155"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "514f7fea-6223-41e0-96af-f90d1e4f70d7"
+ ],
+ "x-ms-correlation-request-id": [
+ "514f7fea-6223-41e0-96af-f90d1e4f70d7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211001Z:514f7fea-6223-41e0-96af-f90d1e4f70d7"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:01 GMT"
+ ],
+ "Content-Length": [
+ "1015"
+ ],
+ "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/dbName2/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"hZRHAJei5R8=\",\r\n \"_ts\": 1580936972,\r\n \"_self\": \"dbs/hZRHAA==/colls/hZRHAJei5R8=/\",\r\n \"_etag\": \"\\\"00001500-0000-0100-0000-5e3b2f0c0000\\\"\",\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/dbName2/graphs?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0d753fad-5016-41ed-b92d-11e2beb21315"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "9b45f4da-bda6-43d4-b548-ae5361b401d4"
+ ],
+ "x-ms-correlation-request-id": [
+ "9b45f4da-bda6-43d4-b548-ae5361b401d4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211001Z:9b45f4da-bda6-43d4-b548-ae5361b401d4"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:01 GMT"
+ ],
+ "Content-Length": [
+ "951"
+ ],
+ "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/dbName2/graphs?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"graph1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"graph1\",\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\": \"hZRHAJei5R8=\",\r\n \"_ts\": 1580936972,\r\n \"_self\": \"dbs/hZRHAA==/colls/hZRHAJei5R8=/\",\r\n \"_etag\": \"\\\"00001500-0000-0100-0000-5e3b2f0c0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\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?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d9f83052-706a-4341-ae6a-ab3c6d995781"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "46451105-5473-4aab-ac2b-04205787ed9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "46451105-5473-4aab-ac2b-04205787ed9d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211002Z:46451105-5473-4aab-ac2b-04205787ed9d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:02 GMT"
+ ],
+ "Content-Length": [
+ "906"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/\\\"\\\"\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"\\\"\\\"\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"\\\"\\\"\",\r\n \"_rid\": \"A2I4AA==\",\r\n \"_self\": \"dbs/A2I4AA==/\",\r\n \"_etag\": \"\\\"00006803-0000-0100-0000-5e221abf0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579293375\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"hZRHAA==\",\r\n \"_self\": \"dbs/hZRHAA==/\",\r\n \"_etag\": \"\\\"00001300-0000-0100-0000-5e3b2eed0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936941\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/dbName2/graphs/graph1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "19191656-5d97-4d10-8b69-50d75daa165c"
+ ],
+ "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/dbName2/graphs/graph1/operationResults/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "95f7bb68-1972-4a68-943b-598f31286e2d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "73a979a8-29b5-4532-a9c6-d1710f1780ce"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211002Z:73a979a8-29b5-4532-a9c6-d1710f1780ce"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:02 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2/graphs/graph1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTVmN2JiNjgtMTk3Mi00YTY4LTk0M2ItNTk4ZjMxMjg2ZTJkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "0cbed432-f2e8-457c-ad48-1070b233d35b"
+ ],
+ "x-ms-correlation-request-id": [
+ "0cbed432-f2e8-457c-ad48-1070b233d35b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211032Z:0cbed432-f2e8-457c-ad48-1070b233d35b"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:32 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/graphs/graph1/operationResults/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxL29wZXJhdGlvblJlc3VsdHMvOTVmN2JiNjgtMTk3Mi00YTY4LTk0M2ItNTk4ZjMxMjg2ZTJkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-request-id": [
+ "b8344782-28a2-4792-848f-b1e0ea1338eb"
+ ],
+ "x-ms-correlation-request-id": [
+ "b8344782-28a2-4792-848f-b1e0ea1338eb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211032Z:b8344782-28a2-4792-848f-b1e0ea1338eb"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:32 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/dbName2/graphs/graph1/operationResults/95f7bb68-1972-4a68-943b-598f31286e2d?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "442ae118-af57-4976-8fbf-6b1b84020825"
+ ],
+ "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/dbName2/operationResults/5323e8ad-3757-4f6f-86a3-87475db43cd3?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5323e8ad-3757-4f6f-86a3-87475db43cd3?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "5323e8ad-3757-4f6f-86a3-87475db43cd3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "70d6c7e7-a96a-4101-86ca-91c3e25d1656"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211033Z:70d6c7e7-a96a-4101-86ca-91c3e25d1656"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:10:32 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5323e8ad-3757-4f6f-86a3-87475db43cd3?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTMyM2U4YWQtMzc1Ny00ZjZmLTg2YTMtODc0NzVkYjQzY2QzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "0ee88a82-4fa8-453b-a7cf-777f46f1efd6"
+ ],
+ "x-ms-correlation-request-id": [
+ "0ee88a82-4fa8-453b-a7cf-777f46f1efd6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211103Z:0ee88a82-4fa8-453b-a7cf-777f46f1efd6"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:02 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5323e8ad-3757-4f6f-86a3-87475db43cd3?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/operationResults/5323e8ad-3757-4f6f-86a3-87475db43cd3?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9vcGVyYXRpb25SZXN1bHRzLzUzMjNlOGFkLTM3NTctNGY2Zi04NmEzLTg3NDc1ZGI0M2NkMz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "485eb4b1-692a-4094-994a-c1a2581da5c2"
+ ],
+ "x-ms-correlation-request-id": [
+ "485eb4b1-692a-4094-994a-c1a2581da5c2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211104Z:485eb4b1-692a-4094-994a-c1a2581da5c2"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:03 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/dbName2/operationResults/5323e8ad-3757-4f6f-86a3-87475db43cd3?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/TestMongoOperationsCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdlets.json
new file mode 100644
index 000000000000..8c82f879d57e
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdlets.json
@@ -0,0 +1,1046 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "55cf5b95-691b-4f2d-9be7-5a9e3d35bd56"
+ ],
+ "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": [
+ "96"
+ ]
+ },
+ "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/dbName/operationResults/45460b45-7190-4682-b29f-8658f7497a08?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/45460b45-7190-4682-b29f-8658f7497a08?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "45460b45-7190-4682-b29f-8658f7497a08"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f45402c-bef2-4848-a1b2-e0249a4d48f5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205402Z:1f45402c-bef2-4848-a1b2-e0249a4d48f5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:54:01 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/45460b45-7190-4682-b29f-8658f7497a08?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNDU0NjBiNDUtNzE5MC00NjgyLWIyOWYtODY1OGY3NDk3YTA4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "802a36fd-d99e-4076-b48b-4412b0e5aca0"
+ ],
+ "x-ms-correlation-request-id": [
+ "802a36fd-d99e-4076-b48b-4412b0e5aca0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205432Z:802a36fd-d99e-4076-b48b-4412b0e5aca0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:54:32 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/45460b45-7190-4682-b29f-8658f7497a08?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWU/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "3781b4c9-0778-4efa-b471-c305b091eddf"
+ ],
+ "x-ms-correlation-request-id": [
+ "3781b4c9-0778-4efa-b471-c305b091eddf"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205432Z:3781b4c9-0778-4efa-b471-c305b091eddf"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:54:32 GMT"
+ ],
+ "Content-Length": [
+ "387"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"6IgQAA==\",\r\n \"_etag\": \"\\\"00004512-0000-0100-0000-5e3a4d170000\\\"\",\r\n \"_ts\": 1580879127\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7732f39c-031e-4a38-9588-63d164cd6e7b"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "c69d284d-0d03-4397-a496-5afc87d5e604"
+ ],
+ "x-ms-correlation-request-id": [
+ "c69d284d-0d03-4397-a496-5afc87d5e604"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205503Z:c69d284d-0d03-4397-a496-5afc87d5e604"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:03 GMT"
+ ],
+ "Content-Length": [
+ "387"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"6IgQAA==\",\r\n \"_etag\": \"\\\"00004512-0000-0100-0000-5e3a4d170000\\\"\",\r\n \"_ts\": 1580879127\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection1\",\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"a\"\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5ab59381-7d08-4c07-9fed-2430b37f40bc"
+ ],
+ "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": [
+ "243"
+ ]
+ },
+ "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/dbName/collections/collection1/operationResults/2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "3d5f049f-627b-42dc-b16e-8d0dcc9ef7a4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205432Z:3d5f049f-627b-42dc-b16e-8d0dcc9ef7a4"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:54:32 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName/collections/collection1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmE2ZTA0ODgtN2VlNi00Y2Y4LWJkNzgtYTBjMDQzNmZjZGFlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "4485a373-afe7-4c47-bff4-53af30317b36"
+ ],
+ "x-ms-correlation-request-id": [
+ "4485a373-afe7-4c47-bff4-53af30317b36"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205503Z:4485a373-afe7-4c47-bff4-53af30317b36"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:02 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "621f55ee-719c-4952-9fa6-229e4a48adb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "621f55ee-719c-4952-9fa6-229e4a48adb8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205503Z:621f55ee-719c-4952-9fa6-229e4a48adb8"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:03 GMT"
+ ],
+ "Content-Length": [
+ "487"
+ ],
+ "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/dbName/collections/collection1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection1\",\r\n \"_rid\": \"6IgQAJI4qfU=\",\r\n \"_etag\": \"\\\"00007d00-0000-0100-0000-5e3b2b8a0000\\\"\",\r\n \"_ts\": 1580936074,\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 }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c9d4b0ee-8a2a-4467-80c9-be9bbbf63648"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "20e6c2df-6318-49cd-b9e1-39f775430c0d"
+ ],
+ "x-ms-correlation-request-id": [
+ "20e6c2df-6318-49cd-b9e1-39f775430c0d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205503Z:20e6c2df-6318-49cd-b9e1-39f775430c0d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:03 GMT"
+ ],
+ "Content-Length": [
+ "487"
+ ],
+ "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/dbName/collections/collection1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection1\",\r\n \"_rid\": \"6IgQAJI4qfU=\",\r\n \"_etag\": \"\\\"00007d00-0000-0100-0000-5e3b2b8a0000\\\"\",\r\n \"_ts\": 1580936074,\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 }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5fa21251-0a4f-435e-9695-f12bf43ff374"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "270d1d5d-80fd-4791-bf72-789b93bd884c"
+ ],
+ "x-ms-correlation-request-id": [
+ "270d1d5d-80fd-4791-bf72-789b93bd884c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205504Z:270d1d5d-80fd-4791-bf72-789b93bd884c"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:03 GMT"
+ ],
+ "Content-Length": [
+ "499"
+ ],
+ "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/dbName/collections?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection1\",\r\n \"_rid\": \"6IgQAJI4qfU=\",\r\n \"_etag\": \"\\\"00007d00-0000-0100-0000-5e3b2b8a0000\\\"\",\r\n \"_ts\": 1580936074,\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 }\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?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cabfca59-0c9f-4102-9dea-316c8ef6a492"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "b1576774-b69b-49ac-9c99-0aa160cbb0f9"
+ ],
+ "x-ms-correlation-request-id": [
+ "b1576774-b69b-49ac-9c99-0aa160cbb0f9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205504Z:b1576774-b69b-49ac-9c99-0aa160cbb0f9"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:04 GMT"
+ ],
+ "Content-Length": [
+ "399"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"6IgQAA==\",\r\n \"_etag\": \"\\\"00004512-0000-0100-0000-5e3a4d170000\\\"\",\r\n \"_ts\": 1580879127\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/dbName/collections/collection1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7d0ea5d7-d40f-4523-a724-d0b363d51dce"
+ ],
+ "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/dbName/collections/collection1/operationResults/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "31b6906b-0abc-44bf-9907-1dd18a1ae6fa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "fffcd07d-a249-48c2-bb59-21231fe8c0db"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205504Z:fffcd07d-a249-48c2-bb59-21231fe8c0db"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:04 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName/collections/collection1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzFiNjkwNmItMGFiYy00NGJmLTk5MDctMWRkMThhMWFlNmZhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "ae42427b-8b71-4839-a161-e9a5f475817b"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae42427b-8b71-4839-a161-e9a5f475817b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205534Z:ae42427b-8b71-4839-a161-e9a5f475817b"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:34 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/collections/collection1/operationResults/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjEvb3BlcmF0aW9uUmVzdWx0cy8zMWI2OTA2Yi0wYWJjLTQ0YmYtOTkwNy0xZGQxOGExYWU2ZmE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "242c27c0-fda1-4f5b-9451-75fafab54df5"
+ ],
+ "x-ms-correlation-request-id": [
+ "242c27c0-fda1-4f5b-9451-75fafab54df5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205535Z:242c27c0-fda1-4f5b-9451-75fafab54df5"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:34 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/dbName/collections/collection1/operationResults/31b6906b-0abc-44bf-9907-1dd18a1ae6fa?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "24b36c20-6929-4e84-9945-c93c7d8219f8"
+ ],
+ "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/dbName/operationResults/c338ba5d-7887-4992-9955-82891838df37?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/c338ba5d-7887-4992-9955-82891838df37?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "c338ba5d-7887-4992-9955-82891838df37"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "4be7934a-ba2f-474d-be73-ae4b456fdaaf"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205535Z:4be7934a-ba2f-474d-be73-ae4b456fdaaf"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:55:34 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/c338ba5d-7887-4992-9955-82891838df37?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYzMzOGJhNWQtNzg4Ny00OTkyLTk5NTUtODI4OTE4MzhkZjM3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "b8deae08-4b96-477a-80f8-4910aeb71b20"
+ ],
+ "x-ms-correlation-request-id": [
+ "b8deae08-4b96-477a-80f8-4910aeb71b20"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205606Z:b8deae08-4b96-477a-80f8-4910aeb71b20"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:56:06 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/c338ba5d-7887-4992-9955-82891838df37?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/operationResults/c338ba5d-7887-4992-9955-82891838df37?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy9jMzM4YmE1ZC03ODg3LTQ5OTItOTk1NS04Mjg5MTgzOGRmMzc/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "b1588840-f8c8-4656-abb8-2d9142c5b1c3"
+ ],
+ "x-ms-correlation-request-id": [
+ "b1588840-f8c8-4656-abb8-2d9142c5b1c3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205606Z:b1588840-f8c8-4656-abb8-2d9142c5b1c3"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:56:06 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/dbName/operationResults/c338ba5d-7887-4992-9955-82891838df37?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/TestMongoOperationsCmdletsUsingInputObject.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdletsUsingInputObject.json
new file mode 100644
index 000000000000..53f20e853d4f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdletsUsingInputObject.json
@@ -0,0 +1,1112 @@
+{
+ "Entries": [
+ {
+ "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": [
+ "cec59213-f0e6-4605-b6b6-9bfa855aee3c"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "9df37aab-d66f-4e54-85d7-41f612a5f7c8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9df37aab-d66f-4e54-85d7-41f612a5f7c8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205153Z:9df37aab-d66f-4e54-85d7-41f612a5f7c8"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:51:53 GMT"
+ ],
+ "Content-Length": [
+ "1621"
+ ],
+ "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 \"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 \"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/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b589d82b-ac8f-4cf7-9c27-9014d431d316"
+ ],
+ "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": [
+ "97"
+ ]
+ },
+ "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/dbName2/operationResults/1992a4f8-802a-4ab5-b7b7-e63aed29da46?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1992a4f8-802a-4ab5-b7b7-e63aed29da46?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "1992a4f8-802a-4ab5-b7b7-e63aed29da46"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "e960ade3-e5b1-4e41-ad73-f379ed3b9636"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205154Z:e960ade3-e5b1-4e41-ad73-f379ed3b9636"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:51:54 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1992a4f8-802a-4ab5-b7b7-e63aed29da46?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTk5MmE0ZjgtODAyYS00YWI1LWI3YjctZTYzYWVkMjlkYTQ2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "a0292627-4444-42ba-8cad-dab8367e928e"
+ ],
+ "x-ms-correlation-request-id": [
+ "a0292627-4444-42ba-8cad-dab8367e928e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205224Z:a0292627-4444-42ba-8cad-dab8367e928e"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:24 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1992a4f8-802a-4ab5-b7b7-e63aed29da46?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "1e0b64ae-51fb-4a84-aff4-23521b1b7e1e"
+ ],
+ "x-ms-correlation-request-id": [
+ "1e0b64ae-51fb-4a84-aff4-23521b1b7e1e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205225Z:1e0b64ae-51fb-4a84-aff4-23521b1b7e1e"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:24 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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"VdlzAA==\",\r\n \"_etag\": \"\\\"00007000-0000-0100-0000-5e3b2a500000\\\"\",\r\n \"_ts\": 1580935760\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "eb604003-c93f-4e52-a132-3c77d6d06682"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "ef9c04ef-3b39-47a3-b894-0b70a25a3e89"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef9c04ef-3b39-47a3-b894-0b70a25a3e89"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205256Z:ef9c04ef-3b39-47a3-b894-0b70a25a3e89"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:55 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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"VdlzAA==\",\r\n \"_etag\": \"\\\"00007000-0000-0100-0000-5e3b2a500000\\\"\",\r\n \"_ts\": 1580935760\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "517b9fbb-0fee-4e06-889e-3ad9f8f47dda"
+ ],
+ "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": [
+ "101"
+ ]
+ },
+ "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/dbName2/collections/collection2/operationResults/04654eaf-9246-453a-bb84-8862a72aed54?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04654eaf-9246-453a-bb84-8862a72aed54?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "04654eaf-9246-453a-bb84-8862a72aed54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "79862c89-d3bb-434e-acb1-c00d2aa826ad"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205225Z:79862c89-d3bb-434e-acb1-c00d2aa826ad"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:25 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2/collections/collection2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04654eaf-9246-453a-bb84-8862a72aed54?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDQ2NTRlYWYtOTI0Ni00NTNhLWJiODQtODg2MmE3MmFlZDU0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "2d891a95-d0e3-46cc-b072-3bf3950e6a72"
+ ],
+ "x-ms-correlation-request-id": [
+ "2d891a95-d0e3-46cc-b072-3bf3950e6a72"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205255Z:2d891a95-d0e3-46cc-b072-3bf3950e6a72"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:55 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04654eaf-9246-453a-bb84-8862a72aed54?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "099a8517-2961-4d8a-8c28-bb8ac91f47c6"
+ ],
+ "x-ms-correlation-request-id": [
+ "099a8517-2961-4d8a-8c28-bb8ac91f47c6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205256Z:099a8517-2961-4d8a-8c28-bb8ac91f47c6"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:55 GMT"
+ ],
+ "Content-Length": [
+ "488"
+ ],
+ "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/dbName2/collections/collection2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection2\",\r\n \"_rid\": \"VdlzAIMcA9s=\",\r\n \"_etag\": \"\\\"00007500-0000-0100-0000-5e3b2b0b0000\\\"\",\r\n \"_ts\": 1580935947,\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 }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2c3c5ded-1787-4b3d-9aa7-1804294df8b0"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "432e7569-f0eb-47ca-8beb-124112460d5d"
+ ],
+ "x-ms-correlation-request-id": [
+ "432e7569-f0eb-47ca-8beb-124112460d5d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205256Z:432e7569-f0eb-47ca-8beb-124112460d5d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:56 GMT"
+ ],
+ "Content-Length": [
+ "488"
+ ],
+ "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/dbName2/collections/collection2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection2\",\r\n \"_rid\": \"VdlzAIMcA9s=\",\r\n \"_etag\": \"\\\"00007500-0000-0100-0000-5e3b2b0b0000\\\"\",\r\n \"_ts\": 1580935947,\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 }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "66fe78e7-c22a-4780-8c63-04151aaa4092"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "ff243153-7cb6-4329-b2ce-e6231d4312b9"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff243153-7cb6-4329-b2ce-e6231d4312b9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205257Z:ff243153-7cb6-4329-b2ce-e6231d4312b9"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:56 GMT"
+ ],
+ "Content-Length": [
+ "500"
+ ],
+ "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/dbName2/collections?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collection2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collection2\",\r\n \"_rid\": \"VdlzAIMcA9s=\",\r\n \"_etag\": \"\\\"00007500-0000-0100-0000-5e3b2b0b0000\\\"\",\r\n \"_ts\": 1580935947,\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 }\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?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5b1f166f-8da5-438a-b1db-99449bd92d10"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "7e62f8ff-7924-42b4-8802-fbce6f83c6be"
+ ],
+ "x-ms-correlation-request-id": [
+ "7e62f8ff-7924-42b4-8802-fbce6f83c6be"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205257Z:7e62f8ff-7924-42b4-8802-fbce6f83c6be"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:56 GMT"
+ ],
+ "Content-Length": [
+ "790"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"6IgQAA==\",\r\n \"_etag\": \"\\\"00004512-0000-0100-0000-5e3a4d170000\\\"\",\r\n \"_ts\": 1580879127\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"VdlzAA==\",\r\n \"_etag\": \"\\\"00007000-0000-0100-0000-5e3b2a500000\\\"\",\r\n \"_ts\": 1580935760\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/dbName2/collections/collection2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "31a62977-6b55-440f-ba30-58bbbbb025d3"
+ ],
+ "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/dbName2/collections/collection2/operationResults/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "fef0bd91-d295-4ea3-a923-b6aa780c3e54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "acbe6e7d-094b-4746-9eb8-6e6a87a2597c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205257Z:acbe6e7d-094b-4746-9eb8-6e6a87a2597c"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:52:57 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2/collections/collection2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZmVmMGJkOTEtZDI5NS00ZWEzLWE5MjMtYjZhYTc4MGMzZTU0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4"
+ ],
+ "x-ms-correlation-request-id": [
+ "5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205328Z:5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:53:27 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/collections/collection2/operationResults/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yL29wZXJhdGlvblJlc3VsdHMvZmVmMGJkOTEtZDI5NS00ZWEzLWE5MjMtYjZhYTc4MGMzZTU0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-request-id": [
+ "3441f14e-80ba-4593-9a81-94504df833c0"
+ ],
+ "x-ms-correlation-request-id": [
+ "3441f14e-80ba-4593-9a81-94504df833c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205328Z:3441f14e-80ba-4593-9a81-94504df833c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:53:27 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/dbName2/collections/collection2/operationResults/fef0bd91-d295-4ea3-a923-b6aa780c3e54?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5c9a3e05-1b93-4d16-b78a-f269614714d7"
+ ],
+ "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/dbName2/operationResults/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "41986db7-bbda-4f39-8d3d-bdf678f4c9ce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "f078f61b-adc2-4a03-972c-6cd1d88eb759"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205329Z:f078f61b-adc2-4a03-972c-6cd1d88eb759"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:53:28 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/dbName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNDE5ODZkYjctYmJkYS00ZjM5LThkM2QtYmRmNjc4ZjRjOWNlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "04ea5ee8-0b0e-4d67-97e2-fef83524ed46"
+ ],
+ "x-ms-correlation-request-id": [
+ "04ea5ee8-0b0e-4d67-97e2-fef83524ed46"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205359Z:04ea5ee8-0b0e-4d67-97e2-fef83524ed46"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:53:59 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/operationResults/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvNDE5ODZkYjctYmJkYS00ZjM5LThkM2QtYmRmNjc4ZjRjOWNlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1"
+ ],
+ "x-ms-correlation-request-id": [
+ "3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T205359Z:3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 20:53:59 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/dbName2/operationResults/41986db7-bbda-4f39-8d3d-bdf678f4c9ce?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/TestSqlOperationsCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdlets.json
index 44a08588bd7c..2f50bd0efb0e 100644
--- a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdlets.json
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdlets.json
@@ -7,7 +7,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c509da92-565d-40c6-81a7-1075ed595a6f"
+ "efba0469-4172-44a8-8315-960f1ba901c0"
],
"Accept-Language": [
"en-US"
@@ -16,7 +16,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,13 +33,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/ab4e5e8c-a28c-4615-9761-98d4be1748b5?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/b5fc8e02-50ec-4227-97cc-d78c835226c6?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ab4e5e8c-a28c-4615-9761-98d4be1748b5?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5fc8e02-50ec-4227-97cc-d78c835226c6?api-version=2019-08-01"
],
"x-ms-request-id": [
- "ab4e5e8c-a28c-4615-9761-98d4be1748b5"
+ "b5fc8e02-50ec-4227-97cc-d78c835226c6"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,19 +51,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-correlation-request-id": [
- "14431283-823c-444d-9e08-d7076c93265b"
+ "53212ee2-ba4f-455a-a10f-2f994342b15b"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221008Z:14431283-823c-444d-9e08-d7076c93265b"
+ "WESTUS:20200205T205608Z:53212ee2-ba4f-455a-a10f-2f994342b15b"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:10:07 GMT"
+ "Wed, 05 Feb 2020 20:56:08 GMT"
],
"Content-Length": [
"32"
@@ -79,8 +79,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ab4e5e8c-a28c-4615-9761-98d4be1748b5?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWI0ZTVlOGMtYTI4Yy00NjE1LTk3NjEtOThkNGJlMTc0OGI1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5fc8e02-50ec-4227-97cc-d78c835226c6?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYjVmYzhlMDItNTBlYy00MjI3LTk3Y2MtZDc4YzgzNTIyNmM2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -88,7 +88,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -108,22 +108,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
+ "11997"
],
"x-ms-request-id": [
- "d7fb31f0-e98a-41df-81f9-197e3aa7850b"
+ "dd0ccb1f-f92a-4dcd-8522-cf352ded950f"
],
"x-ms-correlation-request-id": [
- "d7fb31f0-e98a-41df-81f9-197e3aa7850b"
+ "dd0ccb1f-f92a-4dcd-8522-cf352ded950f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221038Z:d7fb31f0-e98a-41df-81f9-197e3aa7850b"
+ "WESTUS:20200205T205639Z:dd0ccb1f-f92a-4dcd-8522-cf352ded950f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:10:38 GMT"
+ "Wed, 05 Feb 2020 20:56:38 GMT"
],
"Content-Length": [
"33"
@@ -132,7 +132,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ab4e5e8c-a28c-4615-9761-98d4be1748b5?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5fc8e02-50ec-4227-97cc-d78c835226c6?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -148,7 +148,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -168,22 +168,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11996"
],
"x-ms-request-id": [
- "431cd650-5f42-4e76-87cf-8e58b19336ea"
+ "0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c"
],
"x-ms-correlation-request-id": [
- "431cd650-5f42-4e76-87cf-8e58b19336ea"
+ "0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221038Z:431cd650-5f42-4e76-87cf-8e58b19336ea"
+ "WESTUS:20200205T205639Z:0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:10:38 GMT"
+ "Wed, 05 Feb 2020 20:56:39 GMT"
],
"Content-Length": [
"443"
@@ -195,7 +195,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"TaYuAA==\",\r\n \"_self\": \"dbs/TaYuAA==/\",\r\n \"_etag\": \"\\\"0000ba4e-0000-0700-0000-5e20df410000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212609\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"vuUlAA==\",\r\n \"_self\": \"dbs/vuUlAA==/\",\r\n \"_etag\": \"\\\"00006101-0000-0700-0000-5e3b2bea0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936170\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -205,7 +205,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2826a06f-8c93-4a43-8c21-c8e591a64a05"
+ "d8879d42-d315-48d1-ad1c-03cc7b133bdd"
],
"Accept-Language": [
"en-US"
@@ -214,7 +214,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -234,22 +234,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11988"
+ "11986"
],
"x-ms-request-id": [
- "3b484260-ab14-4334-aafd-0e4503e795f8"
+ "a338ab89-d99b-4b58-a605-2e26f619112f"
],
"x-ms-correlation-request-id": [
- "3b484260-ab14-4334-aafd-0e4503e795f8"
+ "a338ab89-d99b-4b58-a605-2e26f619112f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221246Z:3b484260-ab14-4334-aafd-0e4503e795f8"
+ "WESTUS:20200205T205848Z:a338ab89-d99b-4b58-a605-2e26f619112f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:45 GMT"
+ "Wed, 05 Feb 2020 20:58:47 GMT"
],
"Content-Length": [
"443"
@@ -261,17 +261,17 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"TaYuAA==\",\r\n \"_self\": \"dbs/TaYuAA==/\",\r\n \"_etag\": \"\\\"0000ba4e-0000-0700-0000-5e20df410000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212609\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"vuUlAA==\",\r\n \"_self\": \"dbs/vuUlAA==/\",\r\n \"_etag\": \"\\\"00006101-0000-0700-0000-5e3b2bea0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936170\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
"RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1?api-version=2019-08-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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 }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\r\n \"indexingPolicy\": {\r\n \"automatic\": true,\r\n \"indexingMode\": \"Consistent\",\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\",\r\n \"indexes\": [\r\n {\r\n \"dataType\": \"String\",\r\n \"precision\": -1,\r\n \"kind\": \"Hash\"\r\n },\r\n {\r\n \"dataType\": \"String\",\r\n \"precision\": -1,\r\n \"kind\": \"Hash\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/myPathToNotIndex/*\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"Ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"Descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"Descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"Ascending\"\r\n }\r\n ]\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"options\": {\r\n \"Throughput\": \"600\"\r\n }\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "93511692-53cb-43de-bcdc-c2676a62f422"
+ "be287a05-2f01-46b0-b0ee-57b550c2816f"
],
"Accept-Language": [
"en-US"
@@ -280,13 +280,13 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "213"
+ "2080"
]
},
"ResponseHeaders": {
@@ -297,13 +297,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/b05477bf-b8f1-4025-a7bc-3efeff632ba8?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/6c07f668-40a3-49aa-9da6-0d5ec1becc76?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b05477bf-b8f1-4025-a7bc-3efeff632ba8?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6c07f668-40a3-49aa-9da6-0d5ec1becc76?api-version=2019-08-01"
],
"x-ms-request-id": [
- "b05477bf-b8f1-4025-a7bc-3efeff632ba8"
+ "6c07f668-40a3-49aa-9da6-0d5ec1becc76"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -315,19 +315,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1197"
],
"x-ms-correlation-request-id": [
- "6d4d5768-6568-4bdc-a5a5-a277d7d5839e"
+ "bb518b72-c111-4a7e-94b0-90d972bf96f1"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221039Z:6d4d5768-6568-4bdc-a5a5-a277d7d5839e"
+ "WESTUS:20200205T205640Z:bb518b72-c111-4a7e-94b0-90d972bf96f1"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:10:39 GMT"
+ "Wed, 05 Feb 2020 20:56:40 GMT"
],
"Content-Length": [
"32"
@@ -343,8 +343,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b05477bf-b8f1-4025-a7bc-3efeff632ba8?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYjA1NDc3YmYtYjhmMS00MDI1LWE3YmMtM2VmZWZmNjMyYmE4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6c07f668-40a3-49aa-9da6-0d5ec1becc76?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNmMwN2Y2NjgtNDBhMy00OWFhLTlkYTYtMGQ1ZWMxYmVjYzc2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -352,7 +352,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -372,22 +372,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11995"
],
"x-ms-request-id": [
- "91799dd7-1666-480c-b84a-af4881a43e0f"
+ "7989538a-40c0-4917-9929-b7c2713bde98"
],
"x-ms-correlation-request-id": [
- "91799dd7-1666-480c-b84a-af4881a43e0f"
+ "7989538a-40c0-4917-9929-b7c2713bde98"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221109Z:91799dd7-1666-480c-b84a-af4881a43e0f"
+ "WESTUS:20200205T205711Z:7989538a-40c0-4917-9929-b7c2713bde98"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:09 GMT"
+ "Wed, 05 Feb 2020 20:57:10 GMT"
],
"Content-Length": [
"33"
@@ -396,7 +396,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b05477bf-b8f1-4025-a7bc-3efeff632ba8?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6c07f668-40a3-49aa-9da6-0d5ec1becc76?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -412,7 +412,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -432,25 +432,25 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11994"
],
"x-ms-request-id": [
- "4ab1c282-b632-4afe-9688-75b6a46154b9"
+ "f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3"
],
"x-ms-correlation-request-id": [
- "4ab1c282-b632-4afe-9688-75b6a46154b9"
+ "f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221110Z:4ab1c282-b632-4afe-9688-75b6a46154b9"
+ "WESTUS:20200205T205711Z:f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:10 GMT"
+ "Wed, 05 Feb 2020 20:57:10 GMT"
],
"Content-Length": [
- "1033"
+ "1453"
],
"Content-Type": [
"application/json"
@@ -459,7 +459,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"TaYuALaZ3To=\",\r\n \"_ts\": 1579212642,\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/\",\r\n \"_etag\": \"\\\"0000bc4e-0000-0700-0000-5e20df620000\\\"\",\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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"vuUlAJZi3N0=\",\r\n \"_ts\": 1580936202,\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/\",\r\n \"_etag\": \"\\\"00006301-0000-0700-0000-5e3b2c0a0000\\\"\",\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
},
{
@@ -469,7 +469,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ffb298cb-432d-4c45-8587-270d302f8fac"
+ "093794d1-3b0f-46d2-9152-1a17d4469720"
],
"Accept-Language": [
"en-US"
@@ -478,7 +478,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -498,25 +498,25 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11987"
+ "11985"
],
"x-ms-request-id": [
- "f80133ef-ea42-496e-922d-8d77d45ff65f"
+ "c856fb7a-6577-4882-affa-4cc47e605ddd"
],
"x-ms-correlation-request-id": [
- "f80133ef-ea42-496e-922d-8d77d45ff65f"
+ "c856fb7a-6577-4882-affa-4cc47e605ddd"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221246Z:f80133ef-ea42-496e-922d-8d77d45ff65f"
+ "WESTUS:20200205T205849Z:c856fb7a-6577-4882-affa-4cc47e605ddd"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:46 GMT"
+ "Wed, 05 Feb 2020 20:58:48 GMT"
],
"Content-Length": [
- "1033"
+ "1453"
],
"Content-Type": [
"application/json"
@@ -525,7 +525,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"TaYuALaZ3To=\",\r\n \"_ts\": 1579212642,\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/\",\r\n \"_etag\": \"\\\"0000bc4e-0000-0700-0000-5e20df620000\\\"\",\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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"vuUlAJZi3N0=\",\r\n \"_ts\": 1580936202,\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/\",\r\n \"_etag\": \"\\\"00006301-0000-0700-0000-5e3b2c0a0000\\\"\",\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
},
{
@@ -535,7 +535,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "a1b9ed06-0788-48cc-bb56-0280767a557b"
+ "6e22555c-ade6-4581-9012-f0d8159f66b1"
],
"Accept-Language": [
"en-US"
@@ -544,7 +544,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -561,13 +561,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/d6ff77b4-6f43-4284-8962-522da1a7dc0c?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/207a66a4-0861-44b4-af5f-c7e9538b6ae0?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6ff77b4-6f43-4284-8962-522da1a7dc0c?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/207a66a4-0861-44b4-af5f-c7e9538b6ae0?api-version=2019-08-01"
],
"x-ms-request-id": [
- "d6ff77b4-6f43-4284-8962-522da1a7dc0c"
+ "207a66a4-0861-44b4-af5f-c7e9538b6ae0"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -579,19 +579,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1196"
],
"x-ms-correlation-request-id": [
- "9e12fdb8-366e-4a0e-87ed-ab4c9ee751f2"
+ "9bda3de4-8465-49b0-a9cd-f0e4b0559c34"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221111Z:9e12fdb8-366e-4a0e-87ed-ab4c9ee751f2"
+ "WESTUS:20200205T205713Z:9bda3de4-8465-49b0-a9cd-f0e4b0559c34"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:11 GMT"
+ "Wed, 05 Feb 2020 20:57:12 GMT"
],
"Content-Length": [
"32"
@@ -607,8 +607,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6ff77b4-6f43-4284-8962-522da1a7dc0c?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZDZmZjc3YjQtNmY0My00Mjg0LTg5NjItNTIyZGExYTdkYzBjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/207a66a4-0861-44b4-af5f-c7e9538b6ae0?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMjA3YTY2YTQtMDg2MS00NGI0LWFmNWYtYzdlOTUzOGI2YWUwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -616,7 +616,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -636,22 +636,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
+ "11993"
],
"x-ms-request-id": [
- "3b115eb9-e45c-4c52-8e7d-a020ff9871f6"
+ "3337a3d2-73b2-4237-a1cc-6d4dc40d0c03"
],
"x-ms-correlation-request-id": [
- "3b115eb9-e45c-4c52-8e7d-a020ff9871f6"
+ "3337a3d2-73b2-4237-a1cc-6d4dc40d0c03"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221141Z:3b115eb9-e45c-4c52-8e7d-a020ff9871f6"
+ "WESTUS:20200205T205743Z:3337a3d2-73b2-4237-a1cc-6d4dc40d0c03"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:41 GMT"
+ "Wed, 05 Feb 2020 20:57:43 GMT"
],
"Content-Length": [
"33"
@@ -660,7 +660,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6ff77b4-6f43-4284-8962-522da1a7dc0c?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/207a66a4-0861-44b4-af5f-c7e9538b6ae0?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -676,7 +676,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -696,22 +696,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
+ "11992"
],
"x-ms-request-id": [
- "779d7293-f7ea-442d-b843-2fc529a7a9bb"
+ "365957a6-5b7d-4b08-8798-076ff54f6285"
],
"x-ms-correlation-request-id": [
- "779d7293-f7ea-442d-b843-2fc529a7a9bb"
+ "365957a6-5b7d-4b08-8798-076ff54f6285"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221142Z:779d7293-f7ea-442d-b843-2fc529a7a9bb"
+ "WESTUS:20200205T205743Z:365957a6-5b7d-4b08-8798-076ff54f6285"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:41 GMT"
+ "Wed, 05 Feb 2020 20:57:43 GMT"
],
"Content-Length": [
"698"
@@ -723,7 +723,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/sprocs/TaYuALaZ3ToBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"5d00de1e-0000-0700-0000-5e20df810000\\\"\",\r\n \"_ts\": 1579212673\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAgA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/sprocs/vuUlAJZi3N0BAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"0300b46c-0000-0700-0000-5e3b2c2c0000\\\"\",\r\n \"_ts\": 1580936236\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -733,7 +733,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0c1113e9-333c-4974-a0eb-cc964903e725"
+ "a7e75087-af6c-40e3-aef3-484b97324734"
],
"Accept-Language": [
"en-US"
@@ -742,7 +742,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -762,22 +762,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11986"
+ "11984"
],
"x-ms-request-id": [
- "3fa4c224-aa58-4c79-a16c-bf0925fce557"
+ "a4e77a3b-5665-44d9-8cee-c058703f8005"
],
"x-ms-correlation-request-id": [
- "3fa4c224-aa58-4c79-a16c-bf0925fce557"
+ "a4e77a3b-5665-44d9-8cee-c058703f8005"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221246Z:3fa4c224-aa58-4c79-a16c-bf0925fce557"
+ "WESTUS:20200205T205849Z:a4e77a3b-5665-44d9-8cee-c058703f8005"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:46 GMT"
+ "Wed, 05 Feb 2020 20:58:48 GMT"
],
"Content-Length": [
"698"
@@ -789,7 +789,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/sprocs/TaYuALaZ3ToBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"5d00de1e-0000-0700-0000-5e20df810000\\\"\",\r\n \"_ts\": 1579212673\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAgA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/sprocs/vuUlAJZi3N0BAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"0300b46c-0000-0700-0000-5e3b2c2c0000\\\"\",\r\n \"_ts\": 1580936236\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -799,7 +799,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "d15e5372-dfc5-4f30-aa64-f176a42a8624"
+ "2821a4bc-5e16-4f6d-b17a-69c7eabe1917"
],
"Accept-Language": [
"en-US"
@@ -808,7 +808,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -825,13 +825,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/331c5169-d6dc-47c7-b597-d4f39cd70903?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/27367b97-e3e6-4aa0-af12-9e310bd20d3e?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/331c5169-d6dc-47c7-b597-d4f39cd70903?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/27367b97-e3e6-4aa0-af12-9e310bd20d3e?api-version=2019-08-01"
],
"x-ms-request-id": [
- "331c5169-d6dc-47c7-b597-d4f39cd70903"
+ "27367b97-e3e6-4aa0-af12-9e310bd20d3e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -843,19 +843,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1195"
],
"x-ms-correlation-request-id": [
- "aaae8cbb-2bb8-4376-87bb-00920070c907"
+ "c668e846-c3dc-43ad-a221-1ab37e1de0d3"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221143Z:aaae8cbb-2bb8-4376-87bb-00920070c907"
+ "WESTUS:20200205T205744Z:c668e846-c3dc-43ad-a221-1ab37e1de0d3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:11:42 GMT"
+ "Wed, 05 Feb 2020 20:57:44 GMT"
],
"Content-Length": [
"32"
@@ -871,8 +871,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/331c5169-d6dc-47c7-b597-d4f39cd70903?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzMxYzUxNjktZDZkYy00N2M3LWI1OTctZDRmMzljZDcwOTAzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/27367b97-e3e6-4aa0-af12-9e310bd20d3e?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMjczNjdiOTctZTNlNi00YWEwLWFmMTItOWUzMTBiZDIwZDNlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -880,7 +880,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -900,22 +900,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
+ "11991"
],
"x-ms-request-id": [
- "25aadd4c-3fac-4057-a611-8dea36417f81"
+ "3f0531c0-9f7f-4586-bb94-b204d60b8f5e"
],
"x-ms-correlation-request-id": [
- "25aadd4c-3fac-4057-a611-8dea36417f81"
+ "3f0531c0-9f7f-4586-bb94-b204d60b8f5e"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221213Z:25aadd4c-3fac-4057-a611-8dea36417f81"
+ "WESTUS:20200205T205816Z:3f0531c0-9f7f-4586-bb94-b204d60b8f5e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:13 GMT"
+ "Wed, 05 Feb 2020 20:58:15 GMT"
],
"Content-Length": [
"33"
@@ -924,7 +924,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/331c5169-d6dc-47c7-b597-d4f39cd70903?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/27367b97-e3e6-4aa0-af12-9e310bd20d3e?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -940,7 +940,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -960,22 +960,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
+ "11990"
],
"x-ms-request-id": [
- "a43b3988-66a4-448c-994f-60d902f02242"
+ "6037aea8-0a03-4104-b515-bad625ce9747"
],
"x-ms-correlation-request-id": [
- "a43b3988-66a4-448c-994f-60d902f02242"
+ "6037aea8-0a03-4104-b515-bad625ce9747"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221214Z:a43b3988-66a4-448c-994f-60d902f02242"
+ "WESTUS:20200205T205816Z:6037aea8-0a03-4104-b515-bad625ce9747"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:14 GMT"
+ "Wed, 05 Feb 2020 20:58:16 GMT"
],
"Content-Length": [
"668"
@@ -987,7 +987,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/udfs/TaYuALaZ3ToBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"5d00361f-0000-0700-0000-5e20dfa00000\\\"\",\r\n \"_ts\": 1579212704\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAYA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/udfs/vuUlAJZi3N0BAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0300b76c-0000-0700-0000-5e3b2c490000\\\"\",\r\n \"_ts\": 1580936265\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -997,7 +997,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "fe32534a-2d5a-4294-a0bb-f9fc79504dea"
+ "85b57873-6172-463b-b3e2-5eb9a4bc53ad"
],
"Accept-Language": [
"en-US"
@@ -1006,7 +1006,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1026,22 +1026,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11985"
+ "11983"
],
"x-ms-request-id": [
- "b2ff0036-6412-4596-b466-d0dca9a513d7"
+ "5ca51eda-e92d-4890-a550-d5e1340f9fb3"
],
"x-ms-correlation-request-id": [
- "b2ff0036-6412-4596-b466-d0dca9a513d7"
+ "5ca51eda-e92d-4890-a550-d5e1340f9fb3"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221247Z:b2ff0036-6412-4596-b466-d0dca9a513d7"
+ "WESTUS:20200205T205849Z:5ca51eda-e92d-4890-a550-d5e1340f9fb3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:46 GMT"
+ "Wed, 05 Feb 2020 20:58:48 GMT"
],
"Content-Length": [
"668"
@@ -1053,7 +1053,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/udfs/TaYuALaZ3ToBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"5d00361f-0000-0700-0000-5e20dfa00000\\\"\",\r\n \"_ts\": 1579212704\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAYA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/udfs/vuUlAJZi3N0BAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0300b76c-0000-0700-0000-5e3b2c490000\\\"\",\r\n \"_ts\": 1580936265\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1063,7 +1063,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c3080c07-c838-4705-930f-386bd655bac3"
+ "203ab4f4-7c23-42b9-9ad3-c071f6f9a6f8"
],
"Accept-Language": [
"en-US"
@@ -1072,7 +1072,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1089,13 +1089,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/8960b958-099f-44e1-bcd4-d319d987f095?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8960b958-099f-44e1-bcd4-d319d987f095?api-version=2019-08-01"
],
"x-ms-request-id": [
- "30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23"
+ "8960b958-099f-44e1-bcd4-d319d987f095"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1107,19 +1107,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1194"
],
"x-ms-correlation-request-id": [
- "858e4d07-da3a-45e0-a95c-3d7126a60e00"
+ "552e651f-07b3-458d-ba26-37df6945353b"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221214Z:858e4d07-da3a-45e0-a95c-3d7126a60e00"
+ "WESTUS:20200205T205817Z:552e651f-07b3-458d-ba26-37df6945353b"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:14 GMT"
+ "Wed, 05 Feb 2020 20:58:17 GMT"
],
"Content-Length": [
"32"
@@ -1135,8 +1135,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzBkOGI4N2ItNDRjZS00ZjNlLTk4NzMtN2JmYjNiZmUzYzIzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8960b958-099f-44e1-bcd4-d319d987f095?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvODk2MGI5NTgtMDk5Zi00NGUxLWJjZDQtZDMxOWQ5ODdmMDk1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1144,7 +1144,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1164,22 +1164,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11990"
+ "11988"
],
"x-ms-request-id": [
- "c6f6db7f-1c51-4b8a-9639-000b13fd4c49"
+ "a687da25-e278-4ff2-9eb5-f250e4547d82"
],
"x-ms-correlation-request-id": [
- "c6f6db7f-1c51-4b8a-9639-000b13fd4c49"
+ "a687da25-e278-4ff2-9eb5-f250e4547d82"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221245Z:c6f6db7f-1c51-4b8a-9639-000b13fd4c49"
+ "WESTUS:20200205T205848Z:a687da25-e278-4ff2-9eb5-f250e4547d82"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:44 GMT"
+ "Wed, 05 Feb 2020 20:58:47 GMT"
],
"Content-Length": [
"33"
@@ -1188,7 +1188,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8960b958-099f-44e1-bcd4-d319d987f095?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -1204,7 +1204,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1224,22 +1224,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11989"
+ "11987"
],
"x-ms-request-id": [
- "0c4acce6-1376-4805-9fef-e227c22e417e"
+ "ad86db57-328b-476a-bb03-ab3ee639c257"
],
"x-ms-correlation-request-id": [
- "0c4acce6-1376-4805-9fef-e227c22e417e"
+ "ad86db57-328b-476a-bb03-ab3ee639c257"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221245Z:0c4acce6-1376-4805-9fef-e227c22e417e"
+ "WESTUS:20200205T205848Z:ad86db57-328b-476a-bb03-ab3ee639c257"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:45 GMT"
+ "Wed, 05 Feb 2020 20:58:47 GMT"
],
"Content-Length": [
"705"
@@ -1251,7 +1251,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/triggers/TaYuALaZ3ToBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"5d003420-0000-0700-0000-5e20dfc10000\\\"\",\r\n \"_ts\": 1579212737\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAcA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/triggers/vuUlAJZi3N0BAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0300b96c-0000-0700-0000-5e3b2c6b0000\\\"\",\r\n \"_ts\": 1580936299\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1261,7 +1261,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ca90eb66-99ce-46a5-882c-515ddc0569fc"
+ "e00232f3-b888-40c9-8fc7-c7136c85759d"
],
"Accept-Language": [
"en-US"
@@ -1270,7 +1270,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1290,22 +1290,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11984"
+ "11982"
],
"x-ms-request-id": [
- "8d5fef1a-9e06-4bcf-895c-adf735b54004"
+ "c6ce1113-ceda-4876-94e1-74454d473463"
],
"x-ms-correlation-request-id": [
- "8d5fef1a-9e06-4bcf-895c-adf735b54004"
+ "c6ce1113-ceda-4876-94e1-74454d473463"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221247Z:8d5fef1a-9e06-4bcf-895c-adf735b54004"
+ "WESTUS:20200205T205850Z:c6ce1113-ceda-4876-94e1-74454d473463"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:46 GMT"
+ "Wed, 05 Feb 2020 20:58:49 GMT"
],
"Content-Length": [
"705"
@@ -1317,7 +1317,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/triggers/TaYuALaZ3ToBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"5d003420-0000-0700-0000-5e20dfc10000\\\"\",\r\n \"_ts\": 1579212737\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAcA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/triggers/vuUlAJZi3N0BAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0300b96c-0000-0700-0000-5e3b2c6b0000\\\"\",\r\n \"_ts\": 1580936299\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1327,7 +1327,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0662614d-e103-47eb-8ef1-3092ec79caeb"
+ "19a6e4c2-d13e-439a-825a-44b10c552e8b"
],
"Accept-Language": [
"en-US"
@@ -1336,7 +1336,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1356,25 +1356,25 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11983"
+ "11981"
],
"x-ms-request-id": [
- "157feff4-91e4-4a9d-be41-4d4b08dd19a9"
+ "18deb4b5-fb46-4a3c-88a0-ca66704a9745"
],
"x-ms-correlation-request-id": [
- "157feff4-91e4-4a9d-be41-4d4b08dd19a9"
+ "18deb4b5-fb46-4a3c-88a0-ca66704a9745"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221247Z:157feff4-91e4-4a9d-be41-4d4b08dd19a9"
+ "WESTUS:20200205T205850Z:18deb4b5-fb46-4a3c-88a0-ca66704a9745"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:47 GMT"
+ "Wed, 05 Feb 2020 20:58:49 GMT"
],
"Content-Length": [
- "969"
+ "1389"
],
"Content-Type": [
"application/json"
@@ -1383,7 +1383,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"TaYuALaZ3To=\",\r\n \"_ts\": 1579212642,\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/\",\r\n \"_etag\": \"\\\"0000bc4e-0000-0700-0000-5e20df620000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"/myPathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"spatialIndexes\": [\r\n {\r\n \"path\": \"/mySpatialPath/*\",\r\n \"types\": [\r\n \"Point\",\r\n \"LineString\",\r\n \"Polygon\",\r\n \"MultiPolygon\"\r\n ]\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/aberc\",\r\n \"order\": \"descending\"\r\n },\r\n {\r\n \"path\": \"/abc\",\r\n \"order\": \"ascending\"\r\n }\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 \"paths\": [\r\n \"/myUniqueKey3\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey4\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey2\"\r\n ]\r\n },\r\n {\r\n \"paths\": [\r\n \"/myUniqueKey1\"\r\n ]\r\n }\r\n ]\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\": \"vuUlAJZi3N0=\",\r\n \"_ts\": 1580936202,\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/\",\r\n \"_etag\": \"\\\"00006301-0000-0700-0000-5e3b2c0a0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
@@ -1393,7 +1393,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0f658262-c982-4bd9-999d-e5699622ac8e"
+ "b1124c85-0db8-441a-80da-652e9e9fc5e0"
],
"Accept-Language": [
"en-US"
@@ -1402,7 +1402,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1422,22 +1422,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11982"
+ "11980"
],
"x-ms-request-id": [
- "ff8e4b83-b9e1-4880-b343-e8698ec01942"
+ "129f5087-3326-4a1f-9825-ed8a409993e8"
],
"x-ms-correlation-request-id": [
- "ff8e4b83-b9e1-4880-b343-e8698ec01942"
+ "129f5087-3326-4a1f-9825-ed8a409993e8"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221248Z:ff8e4b83-b9e1-4880-b343-e8698ec01942"
+ "WESTUS:20200205T205851Z:129f5087-3326-4a1f-9825-ed8a409993e8"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:47 GMT"
+ "Wed, 05 Feb 2020 20:58:50 GMT"
],
"Content-Length": [
"455"
@@ -1449,17 +1449,17 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"TaYuAA==\",\r\n \"_self\": \"dbs/TaYuAA==/\",\r\n \"_etag\": \"\\\"0000ba4e-0000-0700-0000-5e20df410000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212609\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName\",\r\n \"_rid\": \"vuUlAA==\",\r\n \"_self\": \"dbs/vuUlAA==/\",\r\n \"_etag\": \"\\\"00006101-0000-0700-0000-5e3b2bea0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936170\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/dbName/containers/container1/storedProcedures/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXMvP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "a198e6e9-e15f-47b6-b9e4-6d183a189d29"
+ "40ecfbb5-168f-4c35-9ac3-02c7bf242cca"
],
"Accept-Language": [
"en-US"
@@ -1468,7 +1468,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1488,44 +1488,44 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11981"
+ "11979"
],
"x-ms-request-id": [
- "49778078-d1fc-4dfd-9b14-4864d92f917e"
+ "ac215b77-de0f-465e-b160-71c490613b3c"
],
"x-ms-correlation-request-id": [
- "49778078-d1fc-4dfd-9b14-4864d92f917e"
+ "ac215b77-de0f-465e-b160-71c490613b3c"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221248Z:49778078-d1fc-4dfd-9b14-4864d92f917e"
+ "WESTUS:20200205T205851Z:ac215b77-de0f-465e-b160-71c490613b3c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:47 GMT"
+ "Wed, 05 Feb 2020 20:58:50 GMT"
],
"Content-Length": [
- "711"
+ "710"
],
"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/dbName/containers/container1/storedProcedures/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures//storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/sprocs/TaYuALaZ3ToBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"5d00de1e-0000-0700-0000-5e20df810000\\\"\",\r\n \"_ts\": 1579212673\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAgA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/sprocs/vuUlAJZi3N0BAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"0300b46c-0000-0700-0000-5e3b2c2c0000\\\"\",\r\n \"_ts\": 1580936236\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/dbName/containers/container1/userDefinedFunctions/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zLz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "3d7e5f41-1991-4ff2-99e3-44d1bef7ead6"
+ "f52c69ce-5f5a-4712-8529-74158ae5e1f0"
],
"Accept-Language": [
"en-US"
@@ -1534,7 +1534,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1554,44 +1554,44 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11980"
+ "11978"
],
"x-ms-request-id": [
- "fa54ee1b-b3bc-4aa1-be56-efc8077becd8"
+ "2fd281ff-1e36-4fa4-96fd-e97cd9a79810"
],
"x-ms-correlation-request-id": [
- "fa54ee1b-b3bc-4aa1-be56-efc8077becd8"
+ "2fd281ff-1e36-4fa4-96fd-e97cd9a79810"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221248Z:fa54ee1b-b3bc-4aa1-be56-efc8077becd8"
+ "WESTUS:20200205T205851Z:2fd281ff-1e36-4fa4-96fd-e97cd9a79810"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:48 GMT"
+ "Wed, 05 Feb 2020 20:58:50 GMT"
],
"Content-Length": [
- "681"
+ "680"
],
"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/dbName/containers/container1/userDefinedFunctions/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions//udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/udfs/TaYuALaZ3ToBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"5d00361f-0000-0700-0000-5e20dfa00000\\\"\",\r\n \"_ts\": 1579212704\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAYA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/udfs/vuUlAJZi3N0BAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0300b76c-0000-0700-0000-5e3b2c490000\\\"\",\r\n \"_ts\": 1580936265\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/dbName/containers/container1/triggers/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzLz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "91fdcf30-7091-4d9a-8a51-94d01fc44a37"
+ "c3982c97-5b0c-4fb8-92c8-4c1b06796ed3"
],
"Accept-Language": [
"en-US"
@@ -1600,7 +1600,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1620,34 +1620,34 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11979"
+ "11977"
],
"x-ms-request-id": [
- "f9a18d96-b58c-4b6c-8ba0-53837eb372a3"
+ "22022087-9c58-4926-97d0-cefb4e857d7e"
],
"x-ms-correlation-request-id": [
- "f9a18d96-b58c-4b6c-8ba0-53837eb372a3"
+ "22022087-9c58-4926-97d0-cefb4e857d7e"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221248Z:f9a18d96-b58c-4b6c-8ba0-53837eb372a3"
+ "WESTUS:20200205T205852Z:22022087-9c58-4926-97d0-cefb4e857d7e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:48 GMT"
+ "Wed, 05 Feb 2020 20:58:51 GMT"
],
"Content-Length": [
- "718"
+ "717"
],
"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/dbName/containers/container1/triggers/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers//trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"TaYuALaZ3ToBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/TaYuAA==/colls/TaYuALaZ3To=/triggers/TaYuALaZ3ToBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"5d003420-0000-0700-0000-5e20dfc10000\\\"\",\r\n \"_ts\": 1579212737\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"vuUlAJZi3N0BAAAAAAAAcA==\",\r\n \"_self\": \"dbs/vuUlAA==/colls/vuUlAJZi3N0=/triggers/vuUlAJZi3N0BAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0300b96c-0000-0700-0000-5e3b2c6b0000\\\"\",\r\n \"_ts\": 1580936299\r\n }\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
@@ -1657,7 +1657,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0c586207-2de3-44e9-b4df-20b53fb4699a"
+ "8ae053f9-cdeb-4093-bdfe-acb8c33f9187"
],
"Accept-Language": [
"en-US"
@@ -1666,7 +1666,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1677,13 +1677,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01"
],
"x-ms-request-id": [
- "f76f74e3-be01-4685-8135-8195cbb4e762"
+ "2dd39a45-1535-48a5-b988-9c619bcdf690"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1698,16 +1698,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "70e941e9-287d-4b1a-825c-58f4f43cd8e1"
+ "d5b4f50c-2381-410d-8938-f3920faf6edc"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221249Z:70e941e9-287d-4b1a-825c-58f4f43cd8e1"
+ "WESTUS:20200205T205852Z:d5b4f50c-2381-410d-8938-f3920faf6edc"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:12:48 GMT"
+ "Wed, 05 Feb 2020 20:58:51 GMT"
],
"Content-Length": [
"32"
@@ -1723,8 +1723,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZjc2Zjc0ZTMtYmUwMS00Njg1LTgxMzUtODE5NWNiYjRlNzYyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmRkMzlhNDUtMTUzNS00OGE1LWI5ODgtOWM2MTliY2RmNjkwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1732,7 +1732,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1752,22 +1752,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11978"
+ "11976"
],
"x-ms-request-id": [
- "8604489a-c7bb-427d-a0d8-0b623ee89e1e"
+ "5c096850-d42c-426e-ab6b-656c6177f2d4"
],
"x-ms-correlation-request-id": [
- "8604489a-c7bb-427d-a0d8-0b623ee89e1e"
+ "5c096850-d42c-426e-ab6b-656c6177f2d4"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221319Z:8604489a-c7bb-427d-a0d8-0b623ee89e1e"
+ "WESTUS:20200205T205923Z:5c096850-d42c-426e-ab6b-656c6177f2d4"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:18 GMT"
+ "Wed, 05 Feb 2020 20:59:22 GMT"
],
"Content-Length": [
"33"
@@ -1776,15 +1776,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlL29wZXJhdGlvblJlc3VsdHMvZjc2Zjc0ZTMtYmUwMS00Njg1LTgxMzUtODE5NWNiYjRlNzYyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlL29wZXJhdGlvblJlc3VsdHMvMmRkMzlhNDUtMTUzNS00OGE1LWI5ODgtOWM2MTliY2RmNjkwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1792,7 +1792,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1812,28 +1812,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11977"
+ "11975"
],
"x-ms-request-id": [
- "60546ac7-1127-43c5-83b0-376126a7d2dd"
+ "361e75b0-21f4-45d4-be6e-b7e8113b8ed0"
],
"x-ms-correlation-request-id": [
- "60546ac7-1127-43c5-83b0-376126a7d2dd"
+ "361e75b0-21f4-45d4-be6e-b7e8113b8ed0"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221319Z:60546ac7-1127-43c5-83b0-376126a7d2dd"
+ "WESTUS:20200205T205923Z:361e75b0-21f4-45d4-be6e-b7e8113b8ed0"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:19 GMT"
+ "Wed, 05 Feb 2020 20:59:23 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/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/f76f74e3-be01-4685-8135-8195cbb4e762?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/storedProcedures/storedProcedure/operationResults/2dd39a45-1535-48a5-b988-9c619bcdf690?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -1846,7 +1846,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "81514a59-f366-4dee-b5e9-106833091bec"
+ "73444da9-9c49-48be-b6b7-24bffee2ef82"
],
"Accept-Language": [
"en-US"
@@ -1855,7 +1855,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1866,13 +1866,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01"
],
"x-ms-request-id": [
- "770bd839-666a-4b6c-a182-e5e1a5229564"
+ "5e3af686-27d2-43d8-8c8f-03e0e0ddfd39"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1887,16 +1887,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "e830152b-e3f9-4dca-b065-4d383ad2ff49"
+ "65b4ad85-49c8-4dbe-b7fb-06b86d1a8570"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221320Z:e830152b-e3f9-4dca-b065-4d383ad2ff49"
+ "WESTUS:20200205T205923Z:65b4ad85-49c8-4dbe-b7fb-06b86d1a8570"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:20 GMT"
+ "Wed, 05 Feb 2020 20:59:23 GMT"
],
"Content-Length": [
"32"
@@ -1912,8 +1912,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNzcwYmQ4MzktNjY2YS00YjZjLWExODItZTVlMWE1MjI5NTY0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWUzYWY2ODYtMjdkMi00M2Q4LThjOGYtMDNlMGUwZGRmZDM5P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1921,7 +1921,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1941,22 +1941,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
+ "11997"
],
"x-ms-request-id": [
- "3ff7f48a-69a8-4042-96ba-07fdcb90662d"
+ "9f2dd840-7f7e-4467-be13-401d093cb8ce"
],
"x-ms-correlation-request-id": [
- "3ff7f48a-69a8-4042-96ba-07fdcb90662d"
+ "9f2dd840-7f7e-4467-be13-401d093cb8ce"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221351Z:3ff7f48a-69a8-4042-96ba-07fdcb90662d"
+ "WESTUS:20200205T205954Z:9f2dd840-7f7e-4467-be13-401d093cb8ce"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:50 GMT"
+ "Wed, 05 Feb 2020 20:59:53 GMT"
],
"Content-Length": [
"33"
@@ -1965,15 +1965,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzL3RyaWdnZXIvb3BlcmF0aW9uUmVzdWx0cy83NzBiZDgzOS02NjZhLTRiNmMtYTE4Mi1lNWUxYTUyMjk1NjQ/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzL3RyaWdnZXIvb3BlcmF0aW9uUmVzdWx0cy81ZTNhZjY4Ni0yN2QyLTQzZDgtOGM4Zi0wM2UwZTBkZGZkMzk/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1981,7 +1981,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2001,28 +2001,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
+ "11996"
],
"x-ms-request-id": [
- "9aec2e11-1340-48fe-b571-7132ec9dcbb6"
+ "ae8c753c-d174-4117-8bda-fcc4fdf57026"
],
"x-ms-correlation-request-id": [
- "9aec2e11-1340-48fe-b571-7132ec9dcbb6"
+ "ae8c753c-d174-4117-8bda-fcc4fdf57026"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221351Z:9aec2e11-1340-48fe-b571-7132ec9dcbb6"
+ "WESTUS:20200205T205954Z:ae8c753c-d174-4117-8bda-fcc4fdf57026"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:50 GMT"
+ "Wed, 05 Feb 2020 20:59:53 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/dbName/containers/container1/triggers/trigger/operationResults/770bd839-666a-4b6c-a182-e5e1a5229564?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/triggers/trigger/operationResults/5e3af686-27d2-43d8-8c8f-03e0e0ddfd39?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2035,7 +2035,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "f07a4cdc-256b-4fcd-854c-f047dad3c338"
+ "15502f7a-43c0-473b-967e-ea07d2878155"
],
"Accept-Language": [
"en-US"
@@ -2044,7 +2044,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2055,13 +2055,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01"
],
"x-ms-request-id": [
- "62909225-d15f-4721-8ceb-caaadb96287a"
+ "722cf9e7-3aa7-4e56-9714-5bda4dbdc3da"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2076,16 +2076,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "501108fe-ae71-41cd-9e45-b7c9b31d8c12"
+ "dee766a8-b7b6-4218-a3e4-889c26eb95e9"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221351Z:501108fe-ae71-41cd-9e45-b7c9b31d8c12"
+ "WESTUS:20200205T205955Z:dee766a8-b7b6-4218-a3e4-889c26eb95e9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:13:50 GMT"
+ "Wed, 05 Feb 2020 20:59:54 GMT"
],
"Content-Length": [
"32"
@@ -2101,8 +2101,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNjI5MDkyMjUtZDE1Zi00NzIxLThjZWItY2FhYWRiOTYyODdhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNzIyY2Y5ZTctM2FhNy00ZTU2LTk3MTQtNWJkYTRkYmRjM2RhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2110,7 +2110,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2133,19 +2133,19 @@
"11999"
],
"x-ms-request-id": [
- "8fcf6ad2-baa6-4b61-b631-31b865e877da"
+ "83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f"
],
"x-ms-correlation-request-id": [
- "8fcf6ad2-baa6-4b61-b631-31b865e877da"
+ "83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221422Z:8fcf6ad2-baa6-4b61-b631-31b865e877da"
+ "WESTUS:20200205T210025Z:83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:22 GMT"
+ "Wed, 05 Feb 2020 21:00:24 GMT"
],
"Content-Length": [
"33"
@@ -2154,15 +2154,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VkZi9vcGVyYXRpb25SZXN1bHRzLzYyOTA5MjI1LWQxNWYtNDcyMS04Y2ViLWNhYWFkYjk2Mjg3YT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VkZi9vcGVyYXRpb25SZXN1bHRzLzcyMmNmOWU3LTNhYTctNGU1Ni05NzE0LTViZGE0ZGJkYzNkYT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2170,7 +2170,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2193,25 +2193,25 @@
"11998"
],
"x-ms-request-id": [
- "35be201f-1702-4f73-9ff3-ef93ee7d4832"
+ "ad0e9127-1a61-43a3-9097-8238d3cd8299"
],
"x-ms-correlation-request-id": [
- "35be201f-1702-4f73-9ff3-ef93ee7d4832"
+ "ad0e9127-1a61-43a3-9097-8238d3cd8299"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221422Z:35be201f-1702-4f73-9ff3-ef93ee7d4832"
+ "WESTUS:20200205T210025Z:ad0e9127-1a61-43a3-9097-8238d3cd8299"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:22 GMT"
+ "Wed, 05 Feb 2020 21:00:24 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/dbName/containers/container1/userDefinedFunctions/udf/operationResults/62909225-d15f-4721-8ceb-caaadb96287a?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/userDefinedFunctions/udf/operationResults/722cf9e7-3aa7-4e56-9714-5bda4dbdc3da?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2224,7 +2224,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "10d31d6f-cfd9-43d7-ab7b-71b29b714ff2"
+ "54d891c1-6335-46f6-b974-908efb0910b2"
],
"Accept-Language": [
"en-US"
@@ -2233,7 +2233,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2244,13 +2244,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01"
],
"x-ms-request-id": [
- "7d37030c-25cc-46ed-8d37-1b8d047af09e"
+ "ed2a3118-b0d1-4e36-a111-90c55f7ed025"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2262,19 +2262,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
+ "14999"
],
"x-ms-correlation-request-id": [
- "afe07650-41ee-4db7-b7c8-9f6e8354a26e"
+ "299e7eea-87b3-4944-a812-ceb0301e69e2"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221422Z:afe07650-41ee-4db7-b7c8-9f6e8354a26e"
+ "WESTUS:20200205T210026Z:299e7eea-87b3-4944-a812-ceb0301e69e2"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:22 GMT"
+ "Wed, 05 Feb 2020 21:00:26 GMT"
],
"Content-Length": [
"32"
@@ -2290,8 +2290,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvN2QzNzAzMGMtMjVjYy00NmVkLThkMzctMWI4ZDA0N2FmMDllP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZWQyYTMxMTgtYjBkMS00ZTM2LWExMTEtOTBjNTVmN2VkMDI1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2299,7 +2299,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2319,22 +2319,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11999"
],
"x-ms-request-id": [
- "f4f083ee-3b4a-4a15-af9e-dd78c93f8600"
+ "0b2ca7c6-80fe-4839-983e-5f2469be3d9f"
],
"x-ms-correlation-request-id": [
- "f4f083ee-3b4a-4a15-af9e-dd78c93f8600"
+ "0b2ca7c6-80fe-4839-983e-5f2469be3d9f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221453Z:f4f083ee-3b4a-4a15-af9e-dd78c93f8600"
+ "WESTUS:20200205T210056Z:0b2ca7c6-80fe-4839-983e-5f2469be3d9f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:52 GMT"
+ "Wed, 05 Feb 2020 21:00:56 GMT"
],
"Content-Length": [
"33"
@@ -2343,15 +2343,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL29wZXJhdGlvblJlc3VsdHMvN2QzNzAzMGMtMjVjYy00NmVkLThkMzctMWI4ZDA0N2FmMDllP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL29wZXJhdGlvblJlc3VsdHMvZWQyYTMxMTgtYjBkMS00ZTM2LWExMTEtOTBjNTVmN2VkMDI1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2359,7 +2359,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2379,28 +2379,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11998"
],
"x-ms-request-id": [
- "8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca"
+ "8e0592b3-5dbe-4275-9c07-21f39aee91fe"
],
"x-ms-correlation-request-id": [
- "8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca"
+ "8e0592b3-5dbe-4275-9c07-21f39aee91fe"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221453Z:8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca"
+ "WESTUS:20200205T210057Z:8e0592b3-5dbe-4275-9c07-21f39aee91fe"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:52 GMT"
+ "Wed, 05 Feb 2020 21:00:56 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/dbName/containers/container1/operationResults/7d37030c-25cc-46ed-8d37-1b8d047af09e?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/containers/container1/operationResults/ed2a3118-b0d1-4e36-a111-90c55f7ed025?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2413,7 +2413,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4da6e9d0-7a86-4f07-9a97-771189277796"
+ "0b717e62-a056-4b2e-9e3c-57a9bf754d4c"
],
"Accept-Language": [
"en-US"
@@ -2422,7 +2422,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2433,13 +2433,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01"
],
"x-ms-request-id": [
- "76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1"
+ "588d5c7b-0720-40a1-84e6-abfb83891173"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2454,16 +2454,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "71ad4dd9-0060-466f-a42a-a0bb61d69f53"
+ "211d198f-5225-4dba-8d94-20869adf08d3"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221453Z:71ad4dd9-0060-466f-a42a-a0bb61d69f53"
+ "WESTUS:20200205T210057Z:211d198f-5225-4dba-8d94-20869adf08d3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:14:53 GMT"
+ "Wed, 05 Feb 2020 21:00:56 GMT"
],
"Content-Length": [
"32"
@@ -2479,8 +2479,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNzZlNGVkMGQtZDJmNi00MGY1LWE2ZDItOTZkMGMyM2M1NWYxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTg4ZDVjN2ItMDcyMC00MGExLTg0ZTYtYWJmYjgzODkxMTczP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2488,7 +2488,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2511,19 +2511,19 @@
"11999"
],
"x-ms-request-id": [
- "e68a25e8-bb93-4aa4-a437-2d563fa2b004"
+ "bd3294b6-ba00-4e10-949c-81a1bc4027e9"
],
"x-ms-correlation-request-id": [
- "e68a25e8-bb93-4aa4-a437-2d563fa2b004"
+ "bd3294b6-ba00-4e10-949c-81a1bc4027e9"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221524Z:e68a25e8-bb93-4aa4-a437-2d563fa2b004"
+ "WESTUS:20200205T210128Z:bd3294b6-ba00-4e10-949c-81a1bc4027e9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:15:23 GMT"
+ "Wed, 05 Feb 2020 21:01:28 GMT"
],
"Content-Length": [
"33"
@@ -2532,15 +2532,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy83NmU0ZWQwZC1kMmY2LTQwZjUtYTZkMi05NmQwYzIzYzU1ZjE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy81ODhkNWM3Yi0wNzIwLTQwYTEtODRlNi1hYmZiODM4OTExNzM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2548,7 +2548,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2571,25 +2571,25 @@
"11998"
],
"x-ms-request-id": [
- "d6cde6b7-80db-439e-bb90-6bef4d7d02be"
+ "bbb86882-b951-4dc2-9cda-9f5e82badb47"
],
"x-ms-correlation-request-id": [
- "d6cde6b7-80db-439e-bb90-6bef4d7d02be"
+ "bbb86882-b951-4dc2-9cda-9f5e82badb47"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221524Z:d6cde6b7-80db-439e-bb90-6bef4d7d02be"
+ "WESTUS:20200205T210128Z:bbb86882-b951-4dc2-9cda-9f5e82badb47"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:15:23 GMT"
+ "Wed, 05 Feb 2020 21:01:28 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/dbName/operationResults/76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName/operationResults/588d5c7b-0720-40a1-84e6-abfb83891173?api-version=2019-08-01"
]
},
"ResponseBody": "",
diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdletsUsingInputObject.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdletsUsingInputObject.json
index c25f000eee46..bf64d209bae8 100644
--- a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdletsUsingInputObject.json
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdletsUsingInputObject.json
@@ -7,7 +7,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2cf5adfd-3e08-49a3-b83f-13482e29c4a8"
+ "a6439069-9713-41c3-85d7-b744f0de72b0"
],
"Accept-Language": [
"en-US"
@@ -16,7 +16,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -36,22 +36,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11999"
],
"x-ms-request-id": [
- "f83257e5-8c40-47c4-aba5-cf1173b5225c"
+ "61d3fb64-040b-4254-9a76-05e28abbaa5d"
],
"x-ms-correlation-request-id": [
- "f83257e5-8c40-47c4-aba5-cf1173b5225c"
+ "61d3fb64-040b-4254-9a76-05e28abbaa5d"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221550Z:f83257e5-8c40-47c4-aba5-cf1173b5225c"
+ "WESTUS:20200205T210132Z:61d3fb64-040b-4254-9a76-05e28abbaa5d"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:15:49 GMT"
+ "Wed, 05 Feb 2020 21:01:31 GMT"
],
"Content-Length": [
"1783"
@@ -73,7 +73,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "d4b640d9-9873-4c70-8727-e12c0df60d9f"
+ "a0c88b76-8ffe-4d3d-a15c-f698416e6e5e"
],
"Accept-Language": [
"en-US"
@@ -82,7 +82,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,13 +99,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/5d5354b8-5ad3-4534-b91f-25b809dd6a12?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/95a18cb5-25d0-47f3-b10b-71123b2d718c?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d5354b8-5ad3-4534-b91f-25b809dd6a12?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/95a18cb5-25d0-47f3-b10b-71123b2d718c?api-version=2019-08-01"
],
"x-ms-request-id": [
- "5d5354b8-5ad3-4534-b91f-25b809dd6a12"
+ "95a18cb5-25d0-47f3-b10b-71123b2d718c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -120,16 +120,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "9bfbd40c-4013-452b-aa6d-ccef56291e02"
+ "1cb9a047-2fa2-4bab-b377-21eda25d46b8"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221551Z:9bfbd40c-4013-452b-aa6d-ccef56291e02"
+ "WESTUS:20200205T210132Z:1cb9a047-2fa2-4bab-b377-21eda25d46b8"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:15:50 GMT"
+ "Wed, 05 Feb 2020 21:01:31 GMT"
],
"Content-Length": [
"32"
@@ -145,8 +145,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d5354b8-5ad3-4534-b91f-25b809dd6a12?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWQ1MzU0YjgtNWFkMy00NTM0LWI5MWYtMjViODA5ZGQ2YTEyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/95a18cb5-25d0-47f3-b10b-71123b2d718c?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTVhMThjYjUtMjVkMC00N2YzLWIxMGItNzExMjNiMmQ3MThjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -154,7 +154,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -174,22 +174,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11998"
],
"x-ms-request-id": [
- "f0701f21-42e7-434c-ac19-527b4ec026c9"
+ "daf668c9-1847-4fbc-85f9-58b3a804ab04"
],
"x-ms-correlation-request-id": [
- "f0701f21-42e7-434c-ac19-527b4ec026c9"
+ "daf668c9-1847-4fbc-85f9-58b3a804ab04"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221621Z:f0701f21-42e7-434c-ac19-527b4ec026c9"
+ "WESTUS:20200205T210203Z:daf668c9-1847-4fbc-85f9-58b3a804ab04"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:20 GMT"
+ "Wed, 05 Feb 2020 21:02:02 GMT"
],
"Content-Length": [
"33"
@@ -198,7 +198,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d5354b8-5ad3-4534-b91f-25b809dd6a12?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/95a18cb5-25d0-47f3-b10b-71123b2d718c?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -214,7 +214,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -234,22 +234,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11997"
],
"x-ms-request-id": [
- "cddfedf0-5be4-4419-80bc-248df319a722"
+ "38135fb6-fe5f-45fb-a0f1-c77a2b146919"
],
"x-ms-correlation-request-id": [
- "cddfedf0-5be4-4419-80bc-248df319a722"
+ "38135fb6-fe5f-45fb-a0f1-c77a2b146919"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221621Z:cddfedf0-5be4-4419-80bc-248df319a722"
+ "WESTUS:20200205T210203Z:38135fb6-fe5f-45fb-a0f1-c77a2b146919"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:21 GMT"
+ "Wed, 05 Feb 2020 21:02:03 GMT"
],
"Content-Length": [
"446"
@@ -261,7 +261,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"fRsPAA==\",\r\n \"_self\": \"dbs/fRsPAA==/\",\r\n \"_etag\": \"\\\"0000c04e-0000-0700-0000-5e20e0980000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212952\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"GccHAA==\",\r\n \"_self\": \"dbs/GccHAA==/\",\r\n \"_etag\": \"\\\"00006701-0000-0700-0000-5e3b2d2e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936494\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -271,7 +271,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "234c9458-97c5-4caf-a6e6-06bf19214f83"
+ "51a42b46-5e98-4f06-8aaf-93dd6ff0e4e7"
],
"Accept-Language": [
"en-US"
@@ -280,7 +280,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -300,22 +300,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11987"
+ "11988"
],
"x-ms-request-id": [
- "e9560030-6e08-4873-867d-2845e9ebc2c9"
+ "af8b09be-efaa-4207-9d76-1e6653283935"
],
"x-ms-correlation-request-id": [
- "e9560030-6e08-4873-867d-2845e9ebc2c9"
+ "af8b09be-efaa-4207-9d76-1e6653283935"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221827Z:e9560030-6e08-4873-867d-2845e9ebc2c9"
+ "WESTUS:20200205T210409Z:af8b09be-efaa-4207-9d76-1e6653283935"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:27 GMT"
+ "Wed, 05 Feb 2020 21:04:09 GMT"
],
"Content-Length": [
"446"
@@ -327,7 +327,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"fRsPAA==\",\r\n \"_self\": \"dbs/fRsPAA==/\",\r\n \"_etag\": \"\\\"0000c04e-0000-0700-0000-5e20e0980000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212952\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"GccHAA==\",\r\n \"_self\": \"dbs/GccHAA==/\",\r\n \"_etag\": \"\\\"00006701-0000-0700-0000-5e3b2d2e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936494\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -337,7 +337,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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 }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c16abade-0ff4-4f6f-bc44-0ea3862b523f"
+ "82c499a0-08c0-4f6b-b42e-b3757ec624ef"
],
"Accept-Language": [
"en-US"
@@ -346,7 +346,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -363,13 +363,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/ad54e5da-36db-44f9-ac3a-573fbb6434af?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/1f071532-9003-4a22-be32-00f1ade94da3?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ad54e5da-36db-44f9-ac3a-573fbb6434af?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1f071532-9003-4a22-be32-00f1ade94da3?api-version=2019-08-01"
],
"x-ms-request-id": [
- "ad54e5da-36db-44f9-ac3a-573fbb6434af"
+ "1f071532-9003-4a22-be32-00f1ade94da3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -384,16 +384,16 @@
"1198"
],
"x-ms-correlation-request-id": [
- "2bc7198d-d9a9-4c27-b8b2-67b40e434921"
+ "79032750-45fd-4060-8ffe-660791c81164"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221622Z:2bc7198d-d9a9-4c27-b8b2-67b40e434921"
+ "WESTUS:20200205T210204Z:79032750-45fd-4060-8ffe-660791c81164"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:22 GMT"
+ "Wed, 05 Feb 2020 21:02:03 GMT"
],
"Content-Length": [
"32"
@@ -409,8 +409,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ad54e5da-36db-44f9-ac3a-573fbb6434af?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWQ1NGU1ZGEtMzZkYi00NGY5LWFjM2EtNTczZmJiNjQzNGFmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1f071532-9003-4a22-be32-00f1ade94da3?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMWYwNzE1MzItOTAwMy00YTIyLWJlMzItMDBmMWFkZTk0ZGEzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -418,7 +418,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -438,22 +438,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
+ "11996"
],
"x-ms-request-id": [
- "3c58af7e-77b9-499c-9cf7-2c91ba92d022"
+ "2be7277b-32b7-4240-965a-319c1ca1011b"
],
"x-ms-correlation-request-id": [
- "3c58af7e-77b9-499c-9cf7-2c91ba92d022"
+ "2be7277b-32b7-4240-965a-319c1ca1011b"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221652Z:3c58af7e-77b9-499c-9cf7-2c91ba92d022"
+ "WESTUS:20200205T210234Z:2be7277b-32b7-4240-965a-319c1ca1011b"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:52 GMT"
+ "Wed, 05 Feb 2020 21:02:33 GMT"
],
"Content-Length": [
"33"
@@ -462,7 +462,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ad54e5da-36db-44f9-ac3a-573fbb6434af?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1f071532-9003-4a22-be32-00f1ade94da3?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -478,7 +478,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -498,22 +498,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
+ "11995"
],
"x-ms-request-id": [
- "30dfa645-c185-451f-bf31-532cc856b69a"
+ "100c81c0-8f75-4bd1-b6f0-cfebba067438"
],
"x-ms-correlation-request-id": [
- "30dfa645-c185-451f-bf31-532cc856b69a"
+ "100c81c0-8f75-4bd1-b6f0-cfebba067438"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221653Z:30dfa645-c185-451f-bf31-532cc856b69a"
+ "WESTUS:20200205T210234Z:100c81c0-8f75-4bd1-b6f0-cfebba067438"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:53 GMT"
+ "Wed, 05 Feb 2020 21:02:34 GMT"
],
"Content-Length": [
"1034"
@@ -525,7 +525,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"fRsPAKYAcDU=\",\r\n \"_ts\": 1579212984,\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/\",\r\n \"_etag\": \"\\\"0000c24e-0000-0700-0000-5e20e0b80000\\\"\",\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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"GccHAIYo+QM=\",\r\n \"_ts\": 1580936530,\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/\",\r\n \"_etag\": \"\\\"00006901-0000-0700-0000-5e3b2d520000\\\"\",\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
},
{
@@ -535,7 +535,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "398173ae-35b3-4f46-8a3b-ae81f9b0fb58"
+ "2383ab74-d023-4fa8-b045-8813e756f4cb"
],
"Accept-Language": [
"en-US"
@@ -544,7 +544,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -564,22 +564,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11986"
+ "11987"
],
"x-ms-request-id": [
- "eb5a9886-cd26-47ba-a023-a172c8e6409c"
+ "349f19ed-fab3-4290-870f-ce1e6ce30920"
],
"x-ms-correlation-request-id": [
- "eb5a9886-cd26-47ba-a023-a172c8e6409c"
+ "349f19ed-fab3-4290-870f-ce1e6ce30920"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221827Z:eb5a9886-cd26-47ba-a023-a172c8e6409c"
+ "WESTUS:20200205T210409Z:349f19ed-fab3-4290-870f-ce1e6ce30920"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:27 GMT"
+ "Wed, 05 Feb 2020 21:04:09 GMT"
],
"Content-Length": [
"1034"
@@ -591,7 +591,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"fRsPAKYAcDU=\",\r\n \"_ts\": 1579212984,\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/\",\r\n \"_etag\": \"\\\"0000c24e-0000-0700-0000-5e20e0b80000\\\"\",\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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"GccHAIYo+QM=\",\r\n \"_ts\": 1580936530,\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/\",\r\n \"_etag\": \"\\\"00006901-0000-0700-0000-5e3b2d520000\\\"\",\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
},
{
@@ -601,7 +601,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e64666c7-241d-4c81-910f-580e88a549b6"
+ "d0cc4653-813f-4271-8435-06864947de8a"
],
"Accept-Language": [
"en-US"
@@ -610,7 +610,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -627,13 +627,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/cc40ad49-31a9-4c84-88af-52713c02866b?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/21ec11e8-3a27-4b57-807e-25e06632ac76?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cc40ad49-31a9-4c84-88af-52713c02866b?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/21ec11e8-3a27-4b57-807e-25e06632ac76?api-version=2019-08-01"
],
"x-ms-request-id": [
- "cc40ad49-31a9-4c84-88af-52713c02866b"
+ "21ec11e8-3a27-4b57-807e-25e06632ac76"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -648,16 +648,16 @@
"1197"
],
"x-ms-correlation-request-id": [
- "c4af40a2-ec2c-4899-aaae-dac254d5580a"
+ "e355c80a-3bd6-4868-973b-f9f54e8279cc"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221653Z:c4af40a2-ec2c-4899-aaae-dac254d5580a"
+ "WESTUS:20200205T210235Z:e355c80a-3bd6-4868-973b-f9f54e8279cc"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:16:53 GMT"
+ "Wed, 05 Feb 2020 21:02:34 GMT"
],
"Content-Length": [
"32"
@@ -673,8 +673,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cc40ad49-31a9-4c84-88af-52713c02866b?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2M0MGFkNDktMzFhOS00Yzg0LTg4YWYtNTI3MTNjMDI4NjZiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/21ec11e8-3a27-4b57-807e-25e06632ac76?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMjFlYzExZTgtM2EyNy00YjU3LTgwN2UtMjVlMDY2MzJhYzc2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -682,7 +682,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -702,22 +702,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
+ "11994"
],
"x-ms-request-id": [
- "ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7"
+ "73569b48-26c0-4e99-8ea0-b1152f591a04"
],
"x-ms-correlation-request-id": [
- "ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7"
+ "73569b48-26c0-4e99-8ea0-b1152f591a04"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221724Z:ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7"
+ "WESTUS:20200205T210305Z:73569b48-26c0-4e99-8ea0-b1152f591a04"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:23 GMT"
+ "Wed, 05 Feb 2020 21:03:05 GMT"
],
"Content-Length": [
"33"
@@ -726,7 +726,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cc40ad49-31a9-4c84-88af-52713c02866b?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/21ec11e8-3a27-4b57-807e-25e06632ac76?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -742,7 +742,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -762,22 +762,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
+ "11993"
],
"x-ms-request-id": [
- "9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba"
+ "863493ba-28f7-4187-a165-8df6ccc5b039"
],
"x-ms-correlation-request-id": [
- "9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba"
+ "863493ba-28f7-4187-a165-8df6ccc5b039"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221724Z:9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba"
+ "WESTUS:20200205T210305Z:863493ba-28f7-4187-a165-8df6ccc5b039"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:24 GMT"
+ "Wed, 05 Feb 2020 21:03:05 GMT"
],
"Content-Length": [
"699"
@@ -789,7 +789,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/sprocs/fRsPAKYAcDUBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"9800de85-0000-0700-0000-5e20e0d70000\\\"\",\r\n \"_ts\": 1579213015\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/sprocs/GccHAIYo+QMBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"07003a1a-0000-0700-0000-5e3b2d6d0000\\\"\",\r\n \"_ts\": 1580936557\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -799,7 +799,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "492558e5-9bb3-47e9-b182-b4ae3cc40af4"
+ "df68c7b4-3901-4dcb-b39c-f56965d6248b"
],
"Accept-Language": [
"en-US"
@@ -808,7 +808,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -828,22 +828,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11985"
+ "11986"
],
"x-ms-request-id": [
- "2210da35-51fc-4a24-8fe6-756d4292805e"
+ "3904a16f-4ece-40a9-99e5-f81aa8ad17f7"
],
"x-ms-correlation-request-id": [
- "2210da35-51fc-4a24-8fe6-756d4292805e"
+ "3904a16f-4ece-40a9-99e5-f81aa8ad17f7"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221828Z:2210da35-51fc-4a24-8fe6-756d4292805e"
+ "WESTUS:20200205T210410Z:3904a16f-4ece-40a9-99e5-f81aa8ad17f7"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:28 GMT"
+ "Wed, 05 Feb 2020 21:04:09 GMT"
],
"Content-Length": [
"699"
@@ -855,7 +855,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/sprocs/fRsPAKYAcDUBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"9800de85-0000-0700-0000-5e20e0d70000\\\"\",\r\n \"_ts\": 1579213015\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/sprocs/GccHAIYo+QMBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"07003a1a-0000-0700-0000-5e3b2d6d0000\\\"\",\r\n \"_ts\": 1580936557\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -865,7 +865,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5d597882-da11-42d6-872a-79b0e7a74291"
+ "32f2e5e2-24a9-4c4d-84dc-e02c22da1ea3"
],
"Accept-Language": [
"en-US"
@@ -874,7 +874,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -891,13 +891,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/22b1f6f1-e15a-4b21-a536-491b183b634a?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/ec41ce73-2261-4ff2-8dbd-9afc3dca8192?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/22b1f6f1-e15a-4b21-a536-491b183b634a?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec41ce73-2261-4ff2-8dbd-9afc3dca8192?api-version=2019-08-01"
],
"x-ms-request-id": [
- "22b1f6f1-e15a-4b21-a536-491b183b634a"
+ "ec41ce73-2261-4ff2-8dbd-9afc3dca8192"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -912,16 +912,16 @@
"1196"
],
"x-ms-correlation-request-id": [
- "bd88dd40-5340-473a-a590-277d904e467e"
+ "fbb2fea5-eb08-456f-b7d1-6e0af11c10a1"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221725Z:bd88dd40-5340-473a-a590-277d904e467e"
+ "WESTUS:20200205T210306Z:fbb2fea5-eb08-456f-b7d1-6e0af11c10a1"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:25 GMT"
+ "Wed, 05 Feb 2020 21:03:06 GMT"
],
"Content-Length": [
"32"
@@ -937,8 +937,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/22b1f6f1-e15a-4b21-a536-491b183b634a?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMjJiMWY2ZjEtZTE1YS00YjIxLWE1MzYtNDkxYjE4M2I2MzRhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec41ce73-2261-4ff2-8dbd-9afc3dca8192?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZWM0MWNlNzMtMjI2MS00ZmYyLThkYmQtOWFmYzNkY2E4MTkyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -946,7 +946,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -966,22 +966,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
+ "11992"
],
"x-ms-request-id": [
- "278748a6-7f95-4115-aa01-495971d9031b"
+ "14a47074-8f00-4eb6-a025-a415cb78705c"
],
"x-ms-correlation-request-id": [
- "278748a6-7f95-4115-aa01-495971d9031b"
+ "14a47074-8f00-4eb6-a025-a415cb78705c"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221755Z:278748a6-7f95-4115-aa01-495971d9031b"
+ "WESTUS:20200205T210337Z:14a47074-8f00-4eb6-a025-a415cb78705c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:54 GMT"
+ "Wed, 05 Feb 2020 21:03:36 GMT"
],
"Content-Length": [
"33"
@@ -990,7 +990,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/22b1f6f1-e15a-4b21-a536-491b183b634a?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec41ce73-2261-4ff2-8dbd-9afc3dca8192?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -1006,7 +1006,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1026,22 +1026,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11990"
+ "11991"
],
"x-ms-request-id": [
- "86f7dd38-e88e-4d81-b135-e90974839483"
+ "a4e2a45a-1bf4-46f6-8559-66a9f175dec5"
],
"x-ms-correlation-request-id": [
- "86f7dd38-e88e-4d81-b135-e90974839483"
+ "a4e2a45a-1bf4-46f6-8559-66a9f175dec5"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221756Z:86f7dd38-e88e-4d81-b135-e90974839483"
+ "WESTUS:20200205T210337Z:a4e2a45a-1bf4-46f6-8559-66a9f175dec5"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:55 GMT"
+ "Wed, 05 Feb 2020 21:03:37 GMT"
],
"Content-Length": [
"669"
@@ -1053,7 +1053,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/udfs/fRsPAKYAcDUBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"98007686-0000-0700-0000-5e20e0f60000\\\"\",\r\n \"_ts\": 1579213046\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/udfs/GccHAIYo+QMBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0700421a-0000-0700-0000-5e3b2d8c0000\\\"\",\r\n \"_ts\": 1580936588\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1063,7 +1063,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5324181e-e338-4473-b4bf-d8cd28743e71"
+ "f7931a2f-0cdd-448c-9a8e-4b130fd407a8"
],
"Accept-Language": [
"en-US"
@@ -1072,7 +1072,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1092,22 +1092,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11984"
+ "11985"
],
"x-ms-request-id": [
- "ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48"
+ "e16dd555-09f5-4700-bafc-a29e0fd24c8e"
],
"x-ms-correlation-request-id": [
- "ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48"
+ "e16dd555-09f5-4700-bafc-a29e0fd24c8e"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221828Z:ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48"
+ "WESTUS:20200205T210410Z:e16dd555-09f5-4700-bafc-a29e0fd24c8e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:28 GMT"
+ "Wed, 05 Feb 2020 21:04:10 GMT"
],
"Content-Length": [
"669"
@@ -1119,7 +1119,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/udfs/fRsPAKYAcDUBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"98007686-0000-0700-0000-5e20e0f60000\\\"\",\r\n \"_ts\": 1579213046\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/udfs/GccHAIYo+QMBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0700421a-0000-0700-0000-5e3b2d8c0000\\\"\",\r\n \"_ts\": 1580936588\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1129,7 +1129,7 @@
"RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4532497d-ba55-430e-ab5d-380cd1755cbe"
+ "ba62aff6-b825-418e-bbd0-42b3a48651d8"
],
"Accept-Language": [
"en-US"
@@ -1138,7 +1138,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1155,13 +1155,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/7f3b428f-f52a-4d6a-a529-64ed30465ed1?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/16835f20-1717-47df-9766-66fef75a3f6e?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7f3b428f-f52a-4d6a-a529-64ed30465ed1?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/16835f20-1717-47df-9766-66fef75a3f6e?api-version=2019-08-01"
],
"x-ms-request-id": [
- "7f3b428f-f52a-4d6a-a529-64ed30465ed1"
+ "16835f20-1717-47df-9766-66fef75a3f6e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1176,16 +1176,16 @@
"1195"
],
"x-ms-correlation-request-id": [
- "92660dfe-f3d6-4472-ac7b-c945792484a9"
+ "857e5ac5-e0fc-4355-99a7-fbf655e361e1"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221756Z:92660dfe-f3d6-4472-ac7b-c945792484a9"
+ "WESTUS:20200205T210338Z:857e5ac5-e0fc-4355-99a7-fbf655e361e1"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:17:55 GMT"
+ "Wed, 05 Feb 2020 21:03:38 GMT"
],
"Content-Length": [
"32"
@@ -1201,8 +1201,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7f3b428f-f52a-4d6a-a529-64ed30465ed1?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvN2YzYjQyOGYtZjUyYS00ZDZhLWE1MjktNjRlZDMwNDY1ZWQxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/16835f20-1717-47df-9766-66fef75a3f6e?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTY4MzVmMjAtMTcxNy00N2RmLTk3NjYtNjZmZWY3NWEzZjZlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1210,7 +1210,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1230,22 +1230,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11989"
+ "11990"
],
"x-ms-request-id": [
- "24febb10-1d2d-446f-a6ae-742317f0f38a"
+ "766c0b8d-5f33-4420-9c5a-53a3161e1afe"
],
"x-ms-correlation-request-id": [
- "24febb10-1d2d-446f-a6ae-742317f0f38a"
+ "766c0b8d-5f33-4420-9c5a-53a3161e1afe"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221827Z:24febb10-1d2d-446f-a6ae-742317f0f38a"
+ "WESTUS:20200205T210408Z:766c0b8d-5f33-4420-9c5a-53a3161e1afe"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:27 GMT"
+ "Wed, 05 Feb 2020 21:04:08 GMT"
],
"Content-Length": [
"33"
@@ -1254,7 +1254,7 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7f3b428f-f52a-4d6a-a529-64ed30465ed1?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/16835f20-1717-47df-9766-66fef75a3f6e?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
@@ -1270,7 +1270,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1290,22 +1290,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11988"
+ "11989"
],
"x-ms-request-id": [
- "a8ccdb6f-2c0b-415d-a323-b7c070e0fe14"
+ "05d751e3-702f-492a-9f22-629173dc1a5f"
],
"x-ms-correlation-request-id": [
- "a8ccdb6f-2c0b-415d-a323-b7c070e0fe14"
+ "05d751e3-702f-492a-9f22-629173dc1a5f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221827Z:a8ccdb6f-2c0b-415d-a323-b7c070e0fe14"
+ "WESTUS:20200205T210409Z:05d751e3-702f-492a-9f22-629173dc1a5f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:27 GMT"
+ "Wed, 05 Feb 2020 21:04:08 GMT"
],
"Content-Length": [
"706"
@@ -1317,7 +1317,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/triggers/fRsPAKYAcDUBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"98000e87-0000-0700-0000-5e20e1160000\\\"\",\r\n \"_ts\": 1579213078\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/triggers/GccHAIYo+QMBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0700431a-0000-0700-0000-5e3b2dab0000\\\"\",\r\n \"_ts\": 1580936619\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1327,7 +1327,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "f22f60ba-3918-443f-9298-d2cbd1165b4b"
+ "9e692fbc-5c24-4277-a866-de72cf9b618f"
],
"Accept-Language": [
"en-US"
@@ -1336,7 +1336,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1356,22 +1356,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11983"
+ "11984"
],
"x-ms-request-id": [
- "0049ac90-39f5-4b09-87b1-d4907a78c3fa"
+ "85f57431-57a8-4381-80c0-34dad790bfd7"
],
"x-ms-correlation-request-id": [
- "0049ac90-39f5-4b09-87b1-d4907a78c3fa"
+ "85f57431-57a8-4381-80c0-34dad790bfd7"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221828Z:0049ac90-39f5-4b09-87b1-d4907a78c3fa"
+ "WESTUS:20200205T210410Z:85f57431-57a8-4381-80c0-34dad790bfd7"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:28 GMT"
+ "Wed, 05 Feb 2020 21:04:10 GMT"
],
"Content-Length": [
"706"
@@ -1383,7 +1383,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/triggers/fRsPAKYAcDUBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"98000e87-0000-0700-0000-5e20e1160000\\\"\",\r\n \"_ts\": 1579213078\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/triggers/GccHAIYo+QMBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0700431a-0000-0700-0000-5e3b2dab0000\\\"\",\r\n \"_ts\": 1580936619\r\n }\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -1393,7 +1393,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4e27f55f-242c-45b8-908d-1552843dfcf6"
+ "55519b7e-ded6-429a-aec9-cf34d37533ff"
],
"Accept-Language": [
"en-US"
@@ -1402,7 +1402,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1422,22 +1422,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11982"
+ "11983"
],
"x-ms-request-id": [
- "f99223bf-5142-41dd-8f2c-b97d0d0a995b"
+ "00c97999-4bb6-4d9b-af04-7dfc88de7635"
],
"x-ms-correlation-request-id": [
- "f99223bf-5142-41dd-8f2c-b97d0d0a995b"
+ "00c97999-4bb6-4d9b-af04-7dfc88de7635"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221829Z:f99223bf-5142-41dd-8f2c-b97d0d0a995b"
+ "WESTUS:20200205T210411Z:00c97999-4bb6-4d9b-af04-7dfc88de7635"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:29 GMT"
+ "Wed, 05 Feb 2020 21:04:10 GMT"
],
"Content-Length": [
"970"
@@ -1449,7 +1449,7 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"fRsPAKYAcDU=\",\r\n \"_ts\": 1579212984,\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/\",\r\n \"_etag\": \"\\\"0000c24e-0000-0700-0000-5e20e0b80000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"container1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"container1\",\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\": \"GccHAIYo+QM=\",\r\n \"_ts\": 1580936530,\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/\",\r\n \"_etag\": \"\\\"00006901-0000-0700-0000-5e3b2d520000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
@@ -1459,7 +1459,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "740bc0bc-94c8-48d8-94e9-aa2cea7cbfe4"
+ "d74aa6aa-6237-4723-be9f-dde1d678b601"
],
"Accept-Language": [
"en-US"
@@ -1468,7 +1468,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1488,22 +1488,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11981"
+ "11982"
],
"x-ms-request-id": [
- "d8eb7401-c30f-46f3-92e2-ca9ef19d60c9"
+ "b6a00f14-e265-4f9e-9635-b9f2e581469d"
],
"x-ms-correlation-request-id": [
- "d8eb7401-c30f-46f3-92e2-ca9ef19d60c9"
+ "b6a00f14-e265-4f9e-9635-b9f2e581469d"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221829Z:d8eb7401-c30f-46f3-92e2-ca9ef19d60c9"
+ "WESTUS:20200205T210411Z:b6a00f14-e265-4f9e-9635-b9f2e581469d"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:29 GMT"
+ "Wed, 05 Feb 2020 21:04:10 GMT"
],
"Content-Length": [
"458"
@@ -1515,17 +1515,17 @@
"https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"fRsPAA==\",\r\n \"_self\": \"dbs/fRsPAA==/\",\r\n \"_etag\": \"\\\"0000c04e-0000-0700-0000-5e20e0980000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579212952\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"dbName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"dbName2\",\r\n \"_rid\": \"GccHAA==\",\r\n \"_self\": \"dbs/GccHAA==/\",\r\n \"_etag\": \"\\\"00006701-0000-0700-0000-5e3b2d2e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1580936494\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/dbName2/containers/container1/storedProcedures/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzLz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "53122ef4-3a63-4087-aadd-9f20fc6c577d"
+ "fe19c952-f9d1-44b8-a20c-517b6fbdeb37"
],
"Accept-Language": [
"en-US"
@@ -1534,7 +1534,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1554,44 +1554,44 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11980"
+ "11981"
],
"x-ms-request-id": [
- "b15769b2-cee5-4b41-9436-1056ebb68702"
+ "ba6597b1-b4ba-4a9f-a761-abff06c43b16"
],
"x-ms-correlation-request-id": [
- "b15769b2-cee5-4b41-9436-1056ebb68702"
+ "ba6597b1-b4ba-4a9f-a761-abff06c43b16"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221829Z:b15769b2-cee5-4b41-9436-1056ebb68702"
+ "WESTUS:20200205T210411Z:ba6597b1-b4ba-4a9f-a761-abff06c43b16"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:29 GMT"
+ "Wed, 05 Feb 2020 21:04:10 GMT"
],
"Content-Length": [
- "712"
+ "711"
],
"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/dbName2/containers/container1/storedProcedures/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures//storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/sprocs/fRsPAKYAcDUBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"9800de85-0000-0700-0000-5e20e0d70000\\\"\",\r\n \"_ts\": 1579213015\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedure\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedure\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/sprocs/GccHAIYo+QMBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"07003a1a-0000-0700-0000-5e3b2d6d0000\\\"\",\r\n \"_ts\": 1580936557\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/dbName2/containers/container1/userDefinedFunctions/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucy8/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "11442acd-af88-4761-be18-3010f8e750d0"
+ "4b4ad38a-8e0f-410c-80dc-c5ee47429ab2"
],
"Accept-Language": [
"en-US"
@@ -1600,7 +1600,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1620,44 +1620,44 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11979"
+ "11980"
],
"x-ms-request-id": [
- "6d76054e-c749-4681-a65c-90a48fa9b77c"
+ "11c9b545-cc81-4229-b462-0eb75e5ca4d6"
],
"x-ms-correlation-request-id": [
- "6d76054e-c749-4681-a65c-90a48fa9b77c"
+ "11c9b545-cc81-4229-b462-0eb75e5ca4d6"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221829Z:6d76054e-c749-4681-a65c-90a48fa9b77c"
+ "WESTUS:20200205T210411Z:11c9b545-cc81-4229-b462-0eb75e5ca4d6"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:29 GMT"
+ "Wed, 05 Feb 2020 21:04:11 GMT"
],
"Content-Length": [
- "682"
+ "681"
],
"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/dbName2/containers/container1/userDefinedFunctions/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions//udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/udfs/fRsPAKYAcDUBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"98007686-0000-0700-0000-5e20e0f60000\\\"\",\r\n \"_ts\": 1579213046\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"udf\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"udf\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/udfs/GccHAIYo+QMBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0700421a-0000-0700-0000-5e3b2d8c0000\\\"\",\r\n \"_ts\": 1580936588\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/dbName2/containers/container1/triggers/?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycy8/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0078c913-e301-4c32-bd61-091f28384aa6"
+ "d43628b8-5b88-487f-801e-4013c161505a"
],
"Accept-Language": [
"en-US"
@@ -1666,7 +1666,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1686,34 +1686,34 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11978"
+ "11979"
],
"x-ms-request-id": [
- "fbd67277-72b0-424f-8a82-7355b084f23b"
+ "cb1322e4-261a-41c1-9dfb-65f796f2e9a2"
],
"x-ms-correlation-request-id": [
- "fbd67277-72b0-424f-8a82-7355b084f23b"
+ "cb1322e4-261a-41c1-9dfb-65f796f2e9a2"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221830Z:fbd67277-72b0-424f-8a82-7355b084f23b"
+ "WESTUS:20200205T210412Z:cb1322e4-261a-41c1-9dfb-65f796f2e9a2"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:30 GMT"
+ "Wed, 05 Feb 2020 21:04:11 GMT"
],
"Content-Length": [
- "719"
+ "718"
],
"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/dbName2/containers/container1/triggers/?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers?api-version=2019-08-01"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers//trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"fRsPAKYAcDUBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/fRsPAA==/colls/fRsPAKYAcDU=/triggers/fRsPAKYAcDUBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"98000e87-0000-0700-0000-5e20e1160000\\\"\",\r\n \"_ts\": 1579213078\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"trigger\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"trigger\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"GccHAIYo+QMBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/GccHAA==/colls/GccHAIYo+QM=/triggers/GccHAIYo+QMBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0700431a-0000-0700-0000-5e3b2dab0000\\\"\",\r\n \"_ts\": 1580936619\r\n }\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
@@ -1723,7 +1723,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "710c2c2b-3a98-4c01-9ab2-2239cbac19a6"
+ "dda9c81c-0092-4418-84cd-bdfe970659e6"
],
"Accept-Language": [
"en-US"
@@ -1732,7 +1732,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1743,13 +1743,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01"
],
"x-ms-request-id": [
- "73c5ce15-f708-44be-a464-80cbc9a2f830"
+ "ec0c8e28-48c6-4b38-97d7-96e9397bc7fb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1764,16 +1764,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "eae1c6e8-4b47-44f8-ada8-c020c646c0be"
+ "fd2aa4dc-a3fc-4004-bde4-82731e23ac68"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221830Z:eae1c6e8-4b47-44f8-ada8-c020c646c0be"
+ "WESTUS:20200205T210412Z:fd2aa4dc-a3fc-4004-bde4-82731e23ac68"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:18:30 GMT"
+ "Wed, 05 Feb 2020 21:04:12 GMT"
],
"Content-Length": [
"32"
@@ -1789,8 +1789,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNzNjNWNlMTUtZjcwOC00NGJlLWE0NjQtODBjYmM5YTJmODMwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZWMwYzhlMjgtNDhjNi00YjM4LTk3ZDctOTZlOTM5N2JjN2ZiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1798,7 +1798,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1818,22 +1818,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11977"
+ "11978"
],
"x-ms-request-id": [
- "60b00421-cfe6-4921-85eb-b88580d5df0c"
+ "2dd5ca4c-fe5d-4ba0-a01b-80227c87f835"
],
"x-ms-correlation-request-id": [
- "60b00421-cfe6-4921-85eb-b88580d5df0c"
+ "2dd5ca4c-fe5d-4ba0-a01b-80227c87f835"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221901Z:60b00421-cfe6-4921-85eb-b88580d5df0c"
+ "WESTUS:20200205T210443Z:2dd5ca4c-fe5d-4ba0-a01b-80227c87f835"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:00 GMT"
+ "Wed, 05 Feb 2020 21:04:42 GMT"
],
"Content-Length": [
"33"
@@ -1842,15 +1842,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZS9vcGVyYXRpb25SZXN1bHRzLzczYzVjZTE1LWY3MDgtNDRiZS1hNDY0LTgwY2JjOWEyZjgzMD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZS9vcGVyYXRpb25SZXN1bHRzL2VjMGM4ZTI4LTQ4YzYtNGIzOC05N2Q3LTk2ZTkzOTdiYzdmYj9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1858,7 +1858,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1878,28 +1878,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11976"
+ "11977"
],
"x-ms-request-id": [
- "92775ee0-4851-43df-97c8-328b3f33bf40"
+ "d36c9087-2000-4c7d-a86b-6b571c745e32"
],
"x-ms-correlation-request-id": [
- "92775ee0-4851-43df-97c8-328b3f33bf40"
+ "d36c9087-2000-4c7d-a86b-6b571c745e32"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221901Z:92775ee0-4851-43df-97c8-328b3f33bf40"
+ "WESTUS:20200205T210443Z:d36c9087-2000-4c7d-a86b-6b571c745e32"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:00 GMT"
+ "Wed, 05 Feb 2020 21:04:42 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/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/73c5ce15-f708-44be-a464-80cbc9a2f830?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/storedProcedures/storedProcedure/operationResults/ec0c8e28-48c6-4b38-97d7-96e9397bc7fb?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -1912,7 +1912,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "1975467e-cbb1-4a94-aa0f-ef75ca535650"
+ "bf82b71c-ffa2-4047-8416-a591164fcceb"
],
"Accept-Language": [
"en-US"
@@ -1921,7 +1921,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -1932,13 +1932,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01"
],
"x-ms-request-id": [
- "110b38a5-073c-4033-ac5f-21d521bca91f"
+ "10fe1ac3-0512-40bb-8d66-4973fc26023a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1953,16 +1953,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "0720172b-d955-4f6f-b37a-56c56505989a"
+ "8b17b368-6f80-4a6b-9886-f0fa294178f9"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221901Z:0720172b-d955-4f6f-b37a-56c56505989a"
+ "WESTUS:20200205T210443Z:8b17b368-6f80-4a6b-9886-f0fa294178f9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:01 GMT"
+ "Wed, 05 Feb 2020 21:04:43 GMT"
],
"Content-Length": [
"32"
@@ -1978,8 +1978,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTEwYjM4YTUtMDczYy00MDMzLWFjNWYtMjFkNTIxYmNhOTFmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTBmZTFhYzMtMDUxMi00MGJiLThkNjYtNDk3M2ZjMjYwMjNhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -1987,7 +1987,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2010,19 +2010,19 @@
"11999"
],
"x-ms-request-id": [
- "07d5a2f3-5f91-4a77-8519-6b617f55e78a"
+ "09b87108-6128-4929-a764-fa8d14b92ddf"
],
"x-ms-correlation-request-id": [
- "07d5a2f3-5f91-4a77-8519-6b617f55e78a"
+ "09b87108-6128-4929-a764-fa8d14b92ddf"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221932Z:07d5a2f3-5f91-4a77-8519-6b617f55e78a"
+ "WESTUS:20200205T210514Z:09b87108-6128-4929-a764-fa8d14b92ddf"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:32 GMT"
+ "Wed, 05 Feb 2020 21:05:13 GMT"
],
"Content-Length": [
"33"
@@ -2031,15 +2031,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycy90cmlnZ2VyL29wZXJhdGlvblJlc3VsdHMvMTEwYjM4YTUtMDczYy00MDMzLWFjNWYtMjFkNTIxYmNhOTFmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycy90cmlnZ2VyL29wZXJhdGlvblJlc3VsdHMvMTBmZTFhYzMtMDUxMi00MGJiLThkNjYtNDk3M2ZjMjYwMjNhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2047,7 +2047,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2070,25 +2070,25 @@
"11998"
],
"x-ms-request-id": [
- "59f8e37b-dcc0-4fe8-b13b-dd85b042424e"
+ "a5153736-b1b8-47a4-ae9f-743857ad1d60"
],
"x-ms-correlation-request-id": [
- "59f8e37b-dcc0-4fe8-b13b-dd85b042424e"
+ "a5153736-b1b8-47a4-ae9f-743857ad1d60"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221932Z:59f8e37b-dcc0-4fe8-b13b-dd85b042424e"
+ "WESTUS:20200205T210515Z:a5153736-b1b8-47a4-ae9f-743857ad1d60"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:32 GMT"
+ "Wed, 05 Feb 2020 21:05:14 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/dbName2/containers/container1/triggers/trigger/operationResults/110b38a5-073c-4033-ac5f-21d521bca91f?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/triggers/trigger/operationResults/10fe1ac3-0512-40bb-8d66-4973fc26023a?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2101,7 +2101,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "11b3d00f-0075-44ba-9199-03dcea6dde08"
+ "4f4d618f-2012-4ecf-b519-4c0ce1bdf4ae"
],
"Accept-Language": [
"en-US"
@@ -2110,7 +2110,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2121,13 +2121,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01"
],
"x-ms-request-id": [
- "3a54aea5-e8ce-4aeb-9558-730c3b135db8"
+ "03d64a54-eb4f-4d3b-baf3-69357bdd0ce6"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2139,19 +2139,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
+ "14999"
],
"x-ms-correlation-request-id": [
- "85c8ffe8-62a3-4161-8316-85e69b3e25e6"
+ "c91b1ad6-34c2-4f5d-aa93-d5831bc5a5a5"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T221932Z:85c8ffe8-62a3-4161-8316-85e69b3e25e6"
+ "WESTUS:20200205T210516Z:c91b1ad6-34c2-4f5d-aa93-d5831bc5a5a5"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:19:32 GMT"
+ "Wed, 05 Feb 2020 21:05:15 GMT"
],
"Content-Length": [
"32"
@@ -2167,8 +2167,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvM2E1NGFlYTUtZThjZS00YWViLTk1NTgtNzMwYzNiMTM1ZGI4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDNkNjRhNTQtZWI0Zi00ZDNiLWJhZjMtNjkzNTdiZGQwY2U2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2176,7 +2176,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2196,22 +2196,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11999"
],
"x-ms-request-id": [
- "ba95b8d8-fa1e-426c-9acb-6fe4d1f4c843"
+ "f0b768c8-fc15-4dca-aa5f-51e8a6bdf899"
],
"x-ms-correlation-request-id": [
- "ba95b8d8-fa1e-426c-9acb-6fe4d1f4c843"
+ "f0b768c8-fc15-4dca-aa5f-51e8a6bdf899"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222002Z:ba95b8d8-fa1e-426c-9acb-6fe4d1f4c843"
+ "WESTUS:20200205T210547Z:f0b768c8-fc15-4dca-aa5f-51e8a6bdf899"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:02 GMT"
+ "Wed, 05 Feb 2020 21:05:46 GMT"
],
"Content-Length": [
"33"
@@ -2220,15 +2220,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucy91ZGYvb3BlcmF0aW9uUmVzdWx0cy8zYTU0YWVhNS1lOGNlLTRhZWItOTU1OC03MzBjM2IxMzVkYjg/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucy91ZGYvb3BlcmF0aW9uUmVzdWx0cy8wM2Q2NGE1NC1lYjRmLTRkM2ItYmFmMy02OTM1N2JkZDBjZTY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2236,7 +2236,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2256,28 +2256,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11998"
],
"x-ms-request-id": [
- "7d318895-64ef-4fe0-b6ce-2c624c3cf1aa"
+ "36714f86-979a-478b-9c36-e284fdb49119"
],
"x-ms-correlation-request-id": [
- "7d318895-64ef-4fe0-b6ce-2c624c3cf1aa"
+ "36714f86-979a-478b-9c36-e284fdb49119"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222003Z:7d318895-64ef-4fe0-b6ce-2c624c3cf1aa"
+ "WESTUS:20200205T210547Z:36714f86-979a-478b-9c36-e284fdb49119"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:02 GMT"
+ "Wed, 05 Feb 2020 21:05:46 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/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/3a54aea5-e8ce-4aeb-9558-730c3b135db8?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/userDefinedFunctions/udf/operationResults/03d64a54-eb4f-4d3b-baf3-69357bdd0ce6?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2290,7 +2290,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2cc119dd-9d7c-453f-a397-2f1b500216c5"
+ "4bb460d0-1ffb-40a6-ba1e-c59441d600b9"
],
"Accept-Language": [
"en-US"
@@ -2299,7 +2299,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2310,13 +2310,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01"
],
"x-ms-request-id": [
- "4b2e17de-c1a4-4614-ae17-84fa298d8444"
+ "f0055276-73b6-4b71-b9b8-5d33566a1a75"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2328,19 +2328,19 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
+ "14997"
],
"x-ms-correlation-request-id": [
- "3ea3ac67-cd31-4a67-8823-512dae3dcc62"
+ "3f5adbd0-34d0-4747-8258-97bbdfc6fdf8"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222003Z:3ea3ac67-cd31-4a67-8823-512dae3dcc62"
+ "WESTUS:20200205T210547Z:3f5adbd0-34d0-4747-8258-97bbdfc6fdf8"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:03 GMT"
+ "Wed, 05 Feb 2020 21:05:47 GMT"
],
"Content-Length": [
"32"
@@ -2356,8 +2356,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGIyZTE3ZGUtYzFhNC00NjE0LWFlMTctODRmYTI5OGQ4NDQ0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZjAwNTUyNzYtNzNiNi00YjcxLWI5YjgtNWQzMzU2NmExYTc1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2365,7 +2365,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2385,22 +2385,22 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
+ "11988"
],
"x-ms-request-id": [
- "06039f2a-995c-4f00-a0a9-138261f8f678"
+ "adc2b10f-015b-472c-8da0-6eebdb9a3cac"
],
"x-ms-correlation-request-id": [
- "06039f2a-995c-4f00-a0a9-138261f8f678"
+ "adc2b10f-015b-472c-8da0-6eebdb9a3cac"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222033Z:06039f2a-995c-4f00-a0a9-138261f8f678"
+ "WESTUS:20200205T210618Z:adc2b10f-015b-472c-8da0-6eebdb9a3cac"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:32 GMT"
+ "Wed, 05 Feb 2020 21:06:18 GMT"
],
"Content-Length": [
"33"
@@ -2409,15 +2409,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9vcGVyYXRpb25SZXN1bHRzLzRiMmUxN2RlLWMxYTQtNDYxNC1hZTE3LTg0ZmEyOThkODQ0ND9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9vcGVyYXRpb25SZXN1bHRzL2YwMDU1Mjc2LTczYjYtNGI3MS1iOWI4LTVkMzM1NjZhMWE3NT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2425,7 +2425,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2445,28 +2445,28 @@
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11987"
],
"x-ms-request-id": [
- "561db0be-5f54-4901-afa6-d35ccac0ac88"
+ "3b0f34cc-bd13-4378-8698-8bce7f3c9893"
],
"x-ms-correlation-request-id": [
- "561db0be-5f54-4901-afa6-d35ccac0ac88"
+ "3b0f34cc-bd13-4378-8698-8bce7f3c9893"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222033Z:561db0be-5f54-4901-afa6-d35ccac0ac88"
+ "WESTUS:20200205T210618Z:3b0f34cc-bd13-4378-8698-8bce7f3c9893"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:33 GMT"
+ "Wed, 05 Feb 2020 21:06:18 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/dbName2/containers/container1/operationResults/4b2e17de-c1a4-4614-ae17-84fa298d8444?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/containers/container1/operationResults/f0055276-73b6-4b71-b9b8-5d33566a1a75?api-version=2019-08-01"
]
},
"ResponseBody": "",
@@ -2479,7 +2479,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "186e092a-ea97-4a9c-bca1-664dc1486399"
+ "187e1966-f863-4c1a-9e2c-e53e12b88bd3"
],
"Accept-Language": [
"en-US"
@@ -2488,7 +2488,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2499,13 +2499,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01"
],
"Azure-AsyncOperation": [
- "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01"
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01"
],
"x-ms-request-id": [
- "ae70ac31-ff49-4e67-94af-9568999e2068"
+ "c59426e0-14a5-4ed2-95a3-2390b4f4f49e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -2520,16 +2520,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "84484405-39ca-4658-b908-b2ca8a2e1fc9"
+ "564541f2-5a2a-4712-ac4a-04749de7903f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222034Z:84484405-39ca-4658-b908-b2ca8a2e1fc9"
+ "WESTUS:20200205T210619Z:564541f2-5a2a-4712-ac4a-04749de7903f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:20:33 GMT"
+ "Wed, 05 Feb 2020 21:06:18 GMT"
],
"Content-Length": [
"32"
@@ -2545,8 +2545,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWU3MGFjMzEtZmY0OS00ZTY3LTk0YWYtOTU2ODk5OWUyMDY4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYzU5NDI2ZTAtMTRhNS00ZWQyLTk1YTMtMjM5MGI0ZjRmNDllP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2554,7 +2554,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2577,19 +2577,19 @@
"11998"
],
"x-ms-request-id": [
- "b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9"
+ "782d7cae-f63e-483b-bd4f-9b931634344f"
],
"x-ms-correlation-request-id": [
- "b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9"
+ "782d7cae-f63e-483b-bd4f-9b931634344f"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222104Z:b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9"
+ "WESTUS:20200205T210649Z:782d7cae-f63e-483b-bd4f-9b931634344f"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:21:04 GMT"
+ "Wed, 05 Feb 2020 21:06:49 GMT"
],
"Content-Length": [
"33"
@@ -2598,15 +2598,15 @@
"application/json"
],
"Content-Location": [
- "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01"
]
},
"ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvYWU3MGFjMzEtZmY0OS00ZTY3LTk0YWYtOTU2ODk5OWUyMDY4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvYzU5NDI2ZTAtMTRhNS00ZWQyLTk1YTMtMjM5MGI0ZjRmNDllP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -2614,7 +2614,7 @@
"FxVersion/4.6.27817.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/1.0.1.0"
]
},
"ResponseHeaders": {
@@ -2637,25 +2637,25 @@
"11997"
],
"x-ms-request-id": [
- "3a07865f-08ec-4fbe-9040-d56150d24a30"
+ "4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8"
],
"x-ms-correlation-request-id": [
- "3a07865f-08ec-4fbe-9040-d56150d24a30"
+ "4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8"
],
"x-ms-routing-request-id": [
- "WESTUS:20200116T222104Z:3a07865f-08ec-4fbe-9040-d56150d24a30"
+ "WESTUS:20200205T210650Z:4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Thu, 16 Jan 2020 22:21:04 GMT"
+ "Wed, 05 Feb 2020 21:06:49 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/dbName2/operationResults/ae70ac31-ff49-4e67-94af-9568999e2068?api-version=2019-08-01"
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/dbName2/operationResults/c59426e0-14a5-4ed2-95a3-2390b4f4f49e?api-version=2019-08-01"
]
},
"ResponseBody": "",
diff --git a/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdlets.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdlets.json
new file mode 100644
index 000000000000..794086d24f39
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdlets.json
@@ -0,0 +1,527 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table1\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a78e36a8-a159-4845-af62-efd3dfb42d74"
+ ],
+ "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": [
+ "96"
+ ]
+ },
+ "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/table1/operationResults/e2dd3bf7-e99b-43f2-9fad-5c162431fd9b?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e2dd3bf7-e99b-43f2-9fad-5c162431fd9b?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "e2dd3bf7-e99b-43f2-9fad-5c162431fd9b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "cad0df02-c010-4b77-9846-6956e08f995c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211210Z:cad0df02-c010-4b77-9846-6956e08f995c"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:10 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/table1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e2dd3bf7-e99b-43f2-9fad-5c162431fd9b?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTJkZDNiZjctZTk5Yi00M2YyLTlmYWQtNWMxNjI0MzFmZDliP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "d43b8a48-9da2-427e-8141-f11b8e0ad645"
+ ],
+ "x-ms-correlation-request-id": [
+ "d43b8a48-9da2-427e-8141-f11b8e0ad645"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211241Z:d43b8a48-9da2-427e-8141-f11b8e0ad645"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:41 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e2dd3bf7-e99b-43f2-9fad-5c162431fd9b?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTE/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "37c42cc3-57dd-461e-9a0e-fec0d2152815"
+ ],
+ "x-ms-correlation-request-id": [
+ "37c42cc3-57dd-461e-9a0e-fec0d2152815"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211241Z:37c42cc3-57dd-461e-9a0e-fec0d2152815"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:41 GMT"
+ ],
+ "Content-Length": [
+ "372"
+ ],
+ "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/table1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"table1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table1\",\r\n \"_rid\": \"bilIAIdLlGc=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-efe0cc0101d5\\\"\",\r\n \"_ts\": 1580937133\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "31da6653-93dd-4a89-9b3d-431580ba0dd8"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "10209df9-6af9-4101-a6ba-78a226a191e3"
+ ],
+ "x-ms-correlation-request-id": [
+ "10209df9-6af9-4101-a6ba-78a226a191e3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211241Z:10209df9-6af9-4101-a6ba-78a226a191e3"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:41 GMT"
+ ],
+ "Content-Length": [
+ "372"
+ ],
+ "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/table1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"table1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table1\",\r\n \"_rid\": \"bilIAIdLlGc=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-efe0cc0101d5\\\"\",\r\n \"_ts\": 1580937133\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "31a6afb6-e528-48eb-8bf8-017cb7613c61"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "1741193b-1911-4fc1-b8a9-e15e57e36954"
+ ],
+ "x-ms-correlation-request-id": [
+ "1741193b-1911-4fc1-b8a9-e15e57e36954"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211242Z:1741193b-1911-4fc1-b8a9-e15e57e36954"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:41 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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"table1\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"table1\",\r\n \"_rid\": \"bilIAIdLlGc=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-efe0cc0101d5\\\"\",\r\n \"_ts\": 1580937133\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/db2527/tables/table1?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "485d8f45-707a-438b-a5dc-08b7a4a51edc"
+ ],
+ "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/table1/operationResults/cf05bff3-13de-44d4-bc2c-7801361aec47?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cf05bff3-13de-44d4-bc2c-7801361aec47?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "cf05bff3-13de-44d4-bc2c-7801361aec47"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "9f805e64-7527-499f-850c-e1033d6bebeb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211243Z:9f805e64-7527-499f-850c-e1033d6bebeb"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:42 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/table1?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cf05bff3-13de-44d4-bc2c-7801361aec47?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2YwNWJmZjMtMTNkZS00NGQ0LWJjMmMtNzgwMTM2MWFlYzQ3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "8d58c45b-0540-4c0a-8f37-7f1548f0fab8"
+ ],
+ "x-ms-correlation-request-id": [
+ "8d58c45b-0540-4c0a-8f37-7f1548f0fab8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211313Z:8d58c45b-0540-4c0a-8f37-7f1548f0fab8"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:12 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cf05bff3-13de-44d4-bc2c-7801361aec47?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1/operationResults/cf05bff3-13de-44d4-bc2c-7801361aec47?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTEvb3BlcmF0aW9uUmVzdWx0cy9jZjA1YmZmMy0xM2RlLTQ0ZDQtYmMyYy03ODAxMzYxYWVjNDc/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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "1f723a2d-17df-4de9-90df-40888067255e"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f723a2d-17df-4de9-90df-40888067255e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211314Z:1f723a2d-17df-4de9-90df-40888067255e"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:13:13 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/table1/operationResults/cf05bff3-13de-44d4-bc2c-7801361aec47?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/TestTableOperationsCmdletsUsingInputObject.json b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdletsUsingInputObject.json
new file mode 100644
index 000000000000..d5e4cb927655
--- /dev/null
+++ b/src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdletsUsingInputObject.json
@@ -0,0 +1,593 @@
+{
+ "Entries": [
+ {
+ "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": [
+ "083b0929-b9be-4207-bafa-cb6e46907456"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "aff24d35-17ed-439d-82be-2d6c678add70"
+ ],
+ "x-ms-correlation-request-id": [
+ "aff24d35-17ed-439d-82be-2d6c678add70"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211105Z:aff24d35-17ed-439d-82be-2d6c678add70"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:04 GMT"
+ ],
+ "Content-Length": [
+ "1751"
+ ],
+ "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 \"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 \"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/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2\"\r\n },\r\n \"options\": {}\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fecc1107-64a0-48df-a8e6-1160dfbb6657"
+ ],
+ "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": [
+ "100"
+ ]
+ },
+ "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/tableName2/operationResults/8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "8039d595-11c6-4453-95f9-fdb7d1a26c1b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211106Z:8039d595-11c6-4453-95f9-fdb7d1a26c1b"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:05 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/tableName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOGNjNGI5YzktNWVkOC00ZDJlLThkZTMtNWM0NTFhYmRjMjhmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "bb873fa7-01a7-4943-a6a7-7f2b8d40aee6"
+ ],
+ "x-ms-correlation-request-id": [
+ "bb873fa7-01a7-4943-a6a7-7f2b8d40aee6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211137Z:bb873fa7-01a7-4943-a6a7-7f2b8d40aee6"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:36 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "7df7dc86-e7b3-482e-b5f0-72228f389d57"
+ ],
+ "x-ms-correlation-request-id": [
+ "7df7dc86-e7b3-482e-b5f0-72228f389d57"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211137Z:7df7dc86-e7b3-482e-b5f0-72228f389d57"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:37 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/tableName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2\",\r\n \"_rid\": \"bilIALJG7IE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-c8c9b80101d5\\\"\",\r\n \"_ts\": 1580937068\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1d1b5692-a9aa-4bc7-9a4e-2454d7985fe1"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "de9b4a16-53a5-464e-9b4d-2f31491994a7"
+ ],
+ "x-ms-correlation-request-id": [
+ "de9b4a16-53a5-464e-9b4d-2f31491994a7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211137Z:de9b4a16-53a5-464e-9b4d-2f31491994a7"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:37 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/tableName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2\",\r\n \"_rid\": \"bilIALJG7IE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-c8c9b80101d5\\\"\",\r\n \"_ts\": 1580937068\r\n }\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e5044367-2935-4c1b-8654-5216d41e8c64"
+ ],
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "725086eb-b263-4f83-ad42-565a400be527"
+ ],
+ "x-ms-correlation-request-id": [
+ "725086eb-b263-4f83-ad42-565a400be527"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211137Z:725086eb-b263-4f83-ad42-565a400be527"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:37 GMT"
+ ],
+ "Content-Length": [
+ "396"
+ ],
+ "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?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2\",\r\n \"_rid\": \"bilIALJG7IE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-dc68-c8c9b80101d5\\\"\",\r\n \"_ts\": 1580937068\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/db2527/tables/tableName2?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "94fe16ee-3e6e-4e25-b084-5d03b007b142"
+ ],
+ "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/tableName2/operationResults/343e963b-cacd-4399-ae89-70d1a9e3a4ec?api-version=2019-08-01"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/343e963b-cacd-4399-ae89-70d1a9e3a4ec?api-version=2019-08-01"
+ ],
+ "x-ms-request-id": [
+ "343e963b-cacd-4399-ae89-70d1a9e3a4ec"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-gatewayversion": [
+ "version=2.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "e2ade5b6-c4ff-4dad-bfaf-a3d02df035d1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211138Z:e2ade5b6-c4ff-4dad-bfaf-a3d02df035d1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:11:37 GMT"
+ ],
+ "Content-Length": [
+ "32"
+ ],
+ "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/tableName2?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Enqueued\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/343e963b-cacd-4399-ae89-70d1a9e3a4ec?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzQzZTk2M2ItY2FjZC00Mzk5LWFlODktNzBkMWE5ZTNhNGVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "2e2f2654-85c5-4111-9b16-c7809e652097"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e2f2654-85c5-4111-9b16-c7809e652097"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211208Z:2e2f2654-85c5-4111-9b16-c7809e652097"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:07 GMT"
+ ],
+ "Content-Length": [
+ "33"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Location": [
+ "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/343e963b-cacd-4399-ae89-70d1a9e3a4ec?api-version=2019-08-01"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {}\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2/operationResults/343e963b-cacd-4399-ae89-70d1a9e3a4ec?api-version=2019-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyL29wZXJhdGlvblJlc3VsdHMvMzQzZTk2M2ItY2FjZC00Mzk5LWFlODktNzBkMWE5ZTNhNGVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=",
+ "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.9.2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "3d152d8d-4d03-4f3e-95c8-e07a5b2b0746"
+ ],
+ "x-ms-correlation-request-id": [
+ "3d152d8d-4d03-4f3e-95c8-e07a5b2b0746"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200205T211208Z:3d152d8d-4d03-4f3e-95c8-e07a5b2b0746"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 05 Feb 2020 21:12:08 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/tableName2/operationResults/343e963b-cacd-4399-ae89-70d1a9e3a4ec?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 49c7ee5fe462..d4c899cf51e8 100644
--- a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1
+++ b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
-RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.7.1'; })
+RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.6.5'; })
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Microsoft.Azure.Management.CosmosDB.dll'
@@ -74,27 +74,49 @@ NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll')
FunctionsToExport = @()
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
- 'Get-AzCosmosDBSqlContainerThroughput', 'Get-AzCosmosDBSqlDatabase',
- 'Get-AzCosmosDBSqlDatabaseThroughput',
- 'Get-AzCosmosDBSqlStoredProcedure', 'Get-AzCosmosDBSqlTrigger',
- 'Get-AzCosmosDBSqlUserDefinedFunction',
- 'Set-AzCosmosDBSqlStoredProcedure', 'Set-AzCosmosDBSqlTrigger',
- 'Set-AzCosmosDBSqlUserDefinedFunction',
- 'Remove-AzCosmosDBSqlStoredProcedure',
- 'Remove-AzCosmosDBSqlTrigger',
- 'Remove-AzCosmosDBSqlUserDefinedFunction',
- 'New-AzCosmosDBSqlConflictResolutionPolicy',
- 'New-AzCosmosDBSqlIndexingPolicy', 'New-AzCosmosDBSqlUniqueKey',
- 'New-AzCosmosDBSqlUniqueKeyPolicy', 'Remove-AzCosmosDBSqlContainer',
- 'Remove-AzCosmosDBSqlDatabase', 'Set-AzCosmosDBSqlContainer',
- 'Set-AzCosmosDBSqlDatabase', 'New-AzCosmosDBAccount',
- 'Remove-AzCosmosDBAccount', 'Get-AzCosmosDBAccount',
- 'Get-AzCosmosDBAccountKey', 'New-AzCosmosDBAccountKey',
- 'Update-AzCosmosDBAccount', 'Update-AzCosmosDBAccountRegion',
- 'Update-AzCosmosDBAccountFailoverPriority',
- 'New-AzCosmosDBVirtualNetworkRule', 'New-AzCosmosDBLocationObject'
-
+CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
+ 'Get-AzCosmosDBSqlContainerThroughput', 'Get-AzCosmosDBSqlDatabase',
+ 'Get-AzCosmosDBSqlDatabaseThroughput',
+ 'Get-AzCosmosDBSqlStoredProcedure', 'Get-AzCosmosDBSqlTrigger',
+ 'Get-AzCosmosDBSqlUserDefinedFunction',
+ 'Set-AzCosmosDBSqlStoredProcedure', 'Set-AzCosmosDBSqlTrigger',
+ 'Set-AzCosmosDBSqlUserDefinedFunction',
+ 'Remove-AzCosmosDBSqlStoredProcedure',
+ 'Remove-AzCosmosDBSqlTrigger',
+ 'Remove-AzCosmosDBSqlUserDefinedFunction',
+ 'New-AzCosmosDBSqlConflictResolutionPolicy',
+ 'New-AzCosmosDBSqlIndexingPolicy', 'New-AzCosmosDBSqlUniqueKey',
+ 'New-AzCosmosDBSqlUniqueKeyPolicy', 'Remove-AzCosmosDBSqlContainer',
+ 'Remove-AzCosmosDBSqlDatabase', 'Set-AzCosmosDBSqlContainer',
+ 'Set-AzCosmosDBSqlDatabase', 'New-AzCosmosDBAccount',
+ 'Remove-AzCosmosDBAccount', 'Get-AzCosmosDBAccount',
+ 'Get-AzCosmosDBAccountKey', 'New-AzCosmosDBAccountKey',
+ 'Update-AzCosmosDBAccount', 'Update-AzCosmosDBAccountRegion',
+ 'Update-AzCosmosDBAccountFailoverPriority',
+ 'New-AzCosmosDBVirtualNetworkRule', 'New-AzCosmosDBLocationObject',
+ 'New-AzCosmosDBSqlSpatialSpec', 'New-AzCosmosDBSqlCompositePath',
+ 'New-AzCosmosDBSqlIncludedPath', 'New-AzCosmosDBSqlIncludedPathIndex',
+ 'Get-AzCosmosDBGremlinDatabase', 'Get-AzCosmosDBGremlinDatabaseThroughput',
+ 'Get-AzCosmosDBGremlinGraph', 'Get-AzCosmosDBGremlinGraphThroughput',
+ 'Remove-AzCosmosDBGremlinDatabase', 'Remove-AzCosmosDBGremlinGraph',
+ 'Set-AzCosmosDBGremlinDatabase', 'Set-AzCosmosDBGremlinGraph',
+ 'New-AzCosmosDBGremlinIndexingPolicy', 'New-AzCosmosDBGremlinUniqueKey',
+ 'New-AzCosmosDBGremlinUniqueKeyPolicy', 'New-AzCosmosDBGremlinSpatialSpec',
+ 'New-AzCosmosDBGremlinCompositePath', 'New-AzCosmosDBGremlinConflictResolutionPolicy',
+ 'New-AzCosmosDBGremlinIncludedPath', 'New-AzCosmosDBGremlinIncludedPathIndex',
+ 'Get-AzCosmosDBTable', 'Get-AzCosmosDBTableThroughput',
+ 'Remove-AzCosmosDBTable', 'Set-AzCosmosDBTable',
+ 'Get-AzCosmosDBCassandraKeyspace', 'Get-AzCosmosDBCassandraKeyspaceThroughput',
+ 'Get-AzCosmosDBCassandraTable', 'Get-AzCosmosDBCassandraTableThroughput',
+ 'New-AzCosmosDBCassandraClusterKey', 'New-AzCosmosDBCassandraColumn',
+ 'New-AzCosmosDBCassandraSchema', 'Remove-AzCosmosDBCassandraKeyspace',
+ 'Remove-AzCosmosDBCassandraTable', 'Set-AzCosmosDBCassandraKeyspace',
+ 'Set-AzCosmosDBCassandraTable', 'Get-AzCosmosDBMongoDBCollection',
+ 'Get-AzCosmosDBMongoDBCollectionThroughput', 'Get-AzCosmosDBMongoDBDatabase',
+ 'Get-AzCosmosDBMongoDBDatabaseThroughput', 'Remove-AzCosmosDBMongoDBCollection',
+ 'Remove-AzCosmosDBMongoDBDatabase', 'Set-AzCosmosDBMongoDBCollection',
+ 'Set-AzCosmosDBMongoDBDatabase', 'New-AzCosmosDBMongoDBIndex'
+
# Variables to export from this module
# VariablesToExport = @()
diff --git a/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspace.cs b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspace.cs
new file mode 100644
index 000000000000..f16e2de374ee
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspace.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraKeyspace", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSCassandraKeyspaceGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBCassandraKeyspace : 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, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraKeyspaceDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ CassandraKeyspaceGetResults cassandraKeyspaceGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraKeyspaceWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSCassandraKeyspaceGetResults(cassandraKeyspaceGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraKeyspaceThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable cassandraKeyspaces = CosmosDBManagementClient.CassandraResources.ListCassandraKeyspacesWithHttpMessagesAsync(ResourceGroupName, AccountName).GetAwaiter().GetResult().Body;
+
+ foreach (CassandraKeyspaceGetResults cassandraKeyspace in cassandraKeyspaces)
+ WriteObject(new PSCassandraKeyspaceGetResults(cassandraKeyspace));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspaceThroughput.cs b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspaceThroughput.cs
new file mode 100644
index 000000000000..4c0eab0cefa1
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspaceThroughput.cs
@@ -0,0 +1,60 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraKeyspaceThroughput", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBCassandraKeyspaceThroughput : 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, HelpMessage = Constants.KeyspaceNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraKeyspaceThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTable.cs b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTable.cs
new file mode 100644
index 000000000000..adc9de6ba32c
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTable.cs
@@ -0,0 +1,85 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Collections.Generic;
+using System.Management.Automation;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraTable", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSCassandraTableGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBCassandraTable : AzureCosmosDBCmdletBase
+ {
+ [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 = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraTableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.CassandraKeyspaceObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraKeyspaceGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraTableDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ KeyspaceName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ CassandraTableGetResults cassandraTableGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraTableWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSCassandraTableGetResults(cassandraTableGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable cassandraTables = CosmosDBManagementClient.CassandraResources.ListCassandraTablesWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName).GetAwaiter().GetResult().Body;
+
+ foreach(CassandraTableGetResults cassandraTable in cassandraTables)
+ WriteObject(new PSCassandraTableGetResults(cassandraTable));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTableThroughput.cs b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTableThroughput.cs
new file mode 100644
index 000000000000..0fb2434578f3
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTableThroughput.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.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;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraTableThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBCassandraTableThroughput : 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 KeyspaceName { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.CassandraTableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline =true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.CassandraTableObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraKeyspaceGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ KeyspaceName = ResourceIdentifierExtensions.GetCassandraKeyspaceName(resourceIdentifier);
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.CassandraResources.GetCassandraTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs
new file mode 100644
index 000000000000..276553ab39de
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs
@@ -0,0 +1,45 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraClusterKey"), OutputType(typeof(PSClusterKey))]
+ public class NewAzCosmosDBCassandraClusterKey : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.CassandraClusterKeyNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.CassandraClusterKeyOrderByHelpMessage)]
+ [PSArgumentCompleter("Asc", "Desc")]
+ [ValidateNotNullOrEmpty]
+ public string OrderBy { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ WriteObject(new PSClusterKey
+ {
+ Name = Name,
+ OrderBy = OrderBy
+ });
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraColumn.cs b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraColumn.cs
new file mode 100644
index 000000000000..ac535366f5a5
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraColumn.cs
@@ -0,0 +1,38 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraColumn"), OutputType(typeof(PSColumn))]
+ public class NewAzCosmosDBCassandraColumn : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.CassandraColumnNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.CassandraColumnTypeHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Type { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ WriteObject(new PSColumn { Name = Name, Type = Type });
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraSchema.cs b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraSchema.cs
new file mode 100644
index 000000000000..538a3fed9055
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraSchema.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraSchema"), OutputType(typeof(PSCassandraSchema))]
+ public class NewAzCosmosDBCassandraSchema : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraSchemaColumnHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSColumn[] Column { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraSchemaPartitionKeyHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string[] PartitionKey { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraSchemaClusterKeyHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSClusterKey[] ClusterKey { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSCassandraSchema psCassandraSchema = new PSCassandraSchema();
+
+ if(Column != null && Column.Length > 0)
+ {
+ psCassandraSchema.Columns = Column;
+ }
+
+ if(PartitionKey != null && PartitionKey.Length > 0)
+ {
+ List PSPartitionKeys = new List();
+
+ foreach(string partitionKey in PartitionKey)
+ {
+ PSPartitionKeys.Add(new PSCassandraPartitionKey { Name = partitionKey });
+ }
+ psCassandraSchema.PartitionKeys = PSPartitionKeys;
+ }
+
+ if (ClusterKey != null && ClusterKey.Length > 0)
+ {
+ psCassandraSchema.ClusterKeys = ClusterKey;
+ }
+
+ WriteObject(psCassandraSchema);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraKeyspace.cs b/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraKeyspace.cs
new file mode 100644
index 000000000000..7aa65670dac9
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraKeyspace.cs
@@ -0,0 +1,68 @@
+// ----------------------------------------------------------------------------------
+//
+// 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;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraKeyspace", SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBCassandraKeyspace : AzureCosmosDBCmdletBase
+ {
+ [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 Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.CassandraKeyspaceObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraKeyspaceGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB Cassandra Keyspace"))
+ {
+ CosmosDBManagementClient.CassandraResources.DeleteCassandraKeyspaceWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraTable.cs b/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraTable.cs
new file mode 100644
index 000000000000..e212df6a5a84
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraTable.cs
@@ -0,0 +1,59 @@
+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;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraTable", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBCassandraTable : 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 = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.CassandraTableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.CassandraTableObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraTableGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ 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);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB Cassandra Table"))
+ {
+ CosmosDBManagementClient.CassandraResources.DeleteCassandraTableWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs
new file mode 100644
index 000000000000..a0ba048fd590
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs
@@ -0,0 +1,83 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.CosmosDB.Models;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraKeyspace", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSCassandraKeyspaceGetResults))]
+ public class SetAzCosmosDBCassandraKeyspace : 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, HelpMessage = Constants.KeyspaceNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraKeyspaceThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ AccountName = resourceIdentifier.ResourceName;
+ }
+
+ IDictionary options = new Dictionary();
+
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ CassandraKeyspaceCreateUpdateParameters cassandraKeyspaceCreateUpdateParameters = new CassandraKeyspaceCreateUpdateParameters
+ {
+ Resource = new CassandraKeyspaceResource
+ {
+ Id = Name
+ },
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting a CosmosDB Cassandra Keyspace"))
+ {
+ CassandraKeyspaceGetResults cassandraKeyspaceGetResults = CosmosDBManagementClient.CassandraResources.CreateUpdateCassandraKeyspaceWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, cassandraKeyspaceCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSCassandraKeyspaceGetResults(cassandraKeyspaceGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs
new file mode 100644
index 000000000000..00a9a80a639a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs
@@ -0,0 +1,102 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+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(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraTable", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSCassandraTableGetResults))]
+ public class SetAzCosmosDBCassandraTable : 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 = true, HelpMessage = Constants.CassandraTableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CassandraTableThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.TtlInSecondsHelpMessage)]
+ public int? TtlInSeconds { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = Constants.CassandraSchemaHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraSchema Schema { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.CassandraKeyspaceObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSCassandraKeyspaceGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ KeyspaceName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ IDictionary options = new Dictionary();
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ CassandraTableResource cassandraTableResource = new CassandraTableResource
+ {
+ Id = Name,
+ DefaultTtl = TtlInSeconds
+ };
+ cassandraTableResource.Schema = PSCassandraSchema.ConvertPSCassandraSchemaToCassandraSchema(Schema);
+
+ CassandraTableCreateUpdateParameters cassandraTableCreateUpdateParameters = new CassandraTableCreateUpdateParameters
+ {
+ Resource = cassandraTableResource,
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB Cassandra Table"))
+ {
+ CassandraTableGetResults cassandraTableGetResults = CosmosDBManagementClient.CassandraResources.CreateUpdateCassandraTableWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name, cassandraTableCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSCassandraTableGetResults(cassandraTableGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/CosmosDB.csproj b/src/CosmosDB/CosmosDB/CosmosDB.csproj
index 87da4156a403..f25ac6819763 100644
--- a/src/CosmosDB/CosmosDB/CosmosDB.csproj
+++ b/src/CosmosDB/CosmosDB/CosmosDB.csproj
@@ -6,7 +6,7 @@
-
+
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs b/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs
index 2bae0d43fa85..f529910f25be 100644
--- a/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs
+++ b/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs
@@ -125,8 +125,8 @@ public override void ExecuteCmdlet()
{
if (!ApiKind.Equals("GlobalDocumentDB", StringComparison.OrdinalIgnoreCase) && !ApiKind.Equals("MongoDB", StringComparison.OrdinalIgnoreCase))
{
- WriteError(new ErrorRecord( new PSArgumentException("Gremlin, Cassandra and Table account creation not supported" +
- "in Azure Powershell"), string.Empty, ErrorCategory.CloseError, null));
+ WriteWarning("Gremlin, Cassandra and Table account creation not supported" +
+ "in Azure Powershell");
return;
}
}
@@ -155,7 +155,7 @@ public override void ExecuteCmdlet()
{
if(writeLocation != null)
{
- WriteError(new ErrorRecord(new PSArgumentException("Cannot accept Location and LocationObject simultaneously as parameters"), string.Empty, ErrorCategory.CloseError, null));
+ WriteWarning("Cannot accept Location and LocationObject simultaneously as parameters");
return;
}
@@ -171,7 +171,7 @@ public override void ExecuteCmdlet()
if(string.IsNullOrEmpty(writeLocation))
{
- WriteError(new ErrorRecord(new PSArgumentException("Cannot create Account without a Write Location."), string.Empty, ErrorCategory.CloseError, null));
+ WriteWarning("Cannot create Account without a Write Location.");
return;
}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabase.cs b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabase.cs
new file mode 100644
index 000000000000..e2842667a72e
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabase.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinDatabase", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSGremlinDatabaseGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBGremlinDatabase : 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, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.GremlinDatabaseDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ GremlinDatabaseGetResults gremlinDatabaseGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSGremlinDatabaseGetResults(gremlinDatabaseGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable gremlinDatabases = CosmosDBManagementClient.GremlinResources.ListGremlinDatabasesWithHttpMessagesAsync(ResourceGroupName, AccountName).GetAwaiter().GetResult().Body;
+
+ foreach (GremlinDatabaseGetResults gremlinDatabase in gremlinDatabases)
+ WriteObject(new PSGremlinDatabaseGetResults(gremlinDatabase));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabaseThroughput.cs b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabaseThroughput.cs
new file mode 100644
index 000000000000..3c34616b001b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabaseThroughput.cs
@@ -0,0 +1,60 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinDatabaseThroughput", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBGremlinDatabaseThroughput : 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, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraph.cs b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraph.cs
new file mode 100644
index 000000000000..4be5d821dca9
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraph.cs
@@ -0,0 +1,85 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Collections.Generic;
+using System.Management.Automation;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinGraph", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSGremlinGraphGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBGremlinGraph : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string AccountName;
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string DatabaseName;
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.GraphNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.GremlinDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSGremlinDatabaseGetResults InputObject{ get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.GremlinGraphDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ DatabaseName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ GremlinGraphGetResults gremlinGraphGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinGraphWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSGremlinGraphGetResults(gremlinGraphGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinGraphThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable gremlinGraphs = CosmosDBManagementClient.GremlinResources.ListGremlinGraphsWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName).GetAwaiter().GetResult().Body;
+
+ foreach(GremlinGraphGetResults gremlinGraph in gremlinGraphs)
+ WriteObject(new PSGremlinGraphGetResults(gremlinGraph));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraphThroughput.cs b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraphThroughput.cs
new file mode 100644
index 000000000000..d99191c465b5
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraphThroughput.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.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;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinGraphThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBGremlinGraphThroughput : 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, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.GremlinGraphObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSGremlinGraphGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ DatabaseName = ResourceIdentifierExtensions.GetGremlinDatabaseName(resourceIdentifier);
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.GremlinResources.GetGremlinGraphThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinCompositePath.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinCompositePath.cs
new file mode 100644
index 000000000000..d8e183117cb2
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinCompositePath.cs
@@ -0,0 +1,24 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinCompositePath"), OutputType(typeof(PSCompositePath))]
+ public class NewAzCosmosDBGremlinCompositePath : NewAzCosmosDBSqlCompositePath
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinConflictResolutionPolicy.cs
new file mode 100644
index 000000000000..59db8c99dfc2
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinConflictResolutionPolicy.cs
@@ -0,0 +1,54 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinConflictResolutionPolicy"), OutputType(typeof(PSConflictResolutionPolicy))]
+ public class NewAzCosmosDBGremlinConflictResolutionPolicy : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ [PSArgumentCompleter("LastWriterWins", "Custom", "Manual")]
+ public string Type { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyPathHelpMessage)]
+ public string Path { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyProcedureHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionProcedure { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSConflictResolutionPolicy conflictResolutionPolicy = new PSConflictResolutionPolicy
+ {
+ Mode = Type
+ };
+
+ if (!string.IsNullOrEmpty(Path))
+ conflictResolutionPolicy.ConflictResolutionPath = Path;
+
+ if (!string.IsNullOrEmpty(ConflictResolutionProcedure))
+ conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionProcedure;
+
+ WriteObject(conflictResolutionPolicy);
+ return;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPath.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPath.cs
new file mode 100644
index 000000000000..918e88aec224
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPath.cs
@@ -0,0 +1,24 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinIncludedPath"), OutputType(typeof(PSIncludedPath))]
+ public class NewAzCosmosDBGremlinIncludedPath : NewAzCosmosDBSqlIncludedPath
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPathIndex.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPathIndex.cs
new file mode 100644
index 000000000000..d89b4ec7bb70
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPathIndex.cs
@@ -0,0 +1,24 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinIncludedPathIndex"), OutputType(typeof(PSIndexes))]
+ public class NewAzCosmosDBGremlinIncludedPathIndex : NewAzCosmosDBSqlIncludedPathIndex
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs
new file mode 100644
index 000000000000..f37910774e99
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs
@@ -0,0 +1,85 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinIndexingPolicy"), OutputType(typeof(PSIndexingPolicy))]
+ public class NewAzCosmosDBGremlinIndexingPolicy : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIncludedPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSIncludedPath[] IncludedPath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicySpatialIndexHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSSpatialSpec[] SpatialSpec { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyCompositePathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSCompositePath[][] CompositePath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string[] ExcludedPath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyAutomaticHelpMessage)]
+ public bool? Automatic { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIndexingModeIndexHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string IndexingMode { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSIndexingPolicy indexingPolicy = new PSIndexingPolicy();
+
+ if (IncludedPath != null && IncludedPath.Length > 0)
+ {
+ indexingPolicy.IncludedPaths = new List(IncludedPath);
+ }
+
+ if (ExcludedPath != null && ExcludedPath.Length > 0)
+ {
+ indexingPolicy.ExcludedPaths = new List();
+ foreach (string path in ExcludedPath)
+ {
+ indexingPolicy.ExcludedPaths.Add(new PSExcludedPath{ Path = path });
+ }
+ }
+
+ if(SpatialSpec != null)
+ {
+ indexingPolicy.SpatialIndexes = SpatialSpec;
+ }
+
+ if(CompositePath != null)
+ {
+ indexingPolicy.CompositeIndexes = CompositePath;
+ }
+
+ indexingPolicy.Automatic = Automatic;
+
+ if (IndexingMode != null)
+ indexingPolicy.IndexingMode = IndexingMode;
+
+ WriteObject(indexingPolicy);
+ return;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs
new file mode 100644
index 000000000000..92906f0f5b11
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs
@@ -0,0 +1,24 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinSpatialSpec"), OutputType(typeof(PSSpatialSpec))]
+ public class NewAzCosmosDBGremlinSpatialSpec : NewAzCosmosDBSqlSpatialSpec
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs
new file mode 100644
index 000000000000..665adc9ea472
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs
@@ -0,0 +1,38 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinUniqueKey"), OutputType(typeof(PSUniqueKey))]
+ public class NewAzCosmosDBGremlinUniqueKey : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.UniqueKeyPathHelpMessage)]
+ public string[] Path { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSUniqueKey uniqueKey = new PSUniqueKey
+ {
+ Paths = Path
+ };
+
+ WriteObject(uniqueKey);
+ return;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs
new file mode 100644
index 000000000000..e60d93c1a4f9
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs
@@ -0,0 +1,38 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinUniqueKeyPolicy"), OutputType(typeof(PSUniqueKeyPolicy))]
+ public class NewAzCosmosDBGremlinUniqueKeyPolicy : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.UniqueKeysHelpMessage)]
+ public PSUniqueKey[] UniqueKey { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSUniqueKeyPolicy uniqueKeyPolicy = new PSUniqueKeyPolicy
+ {
+ UniqueKeys = UniqueKey
+ };
+
+ WriteObject(uniqueKeyPolicy);
+ return;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinDatabase.cs b/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinDatabase.cs
new file mode 100644
index 000000000000..29dad57bc59f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinDatabase.cs
@@ -0,0 +1,68 @@
+// ----------------------------------------------------------------------------------
+//
+// 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;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinDatabase" , SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBGremlinDatabase : AzureCosmosDBCmdletBase
+ {
+ [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 Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.GremlinDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSGremlinDatabaseGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB Gremlin Database"))
+ {
+ CosmosDBManagementClient.GremlinResources.DeleteGremlinDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinGraph.cs b/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinGraph.cs
new file mode 100644
index 000000000000..50a05b827d1a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinGraph.cs
@@ -0,0 +1,59 @@
+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;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinGraph", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBGremlinGraph : 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 = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.GraphNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.GremlinGraphObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSGremlinGraphGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ 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);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB Gremlin Graph"))
+ {
+ CosmosDBManagementClient.GremlinResources.DeleteGremlinGraphWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs
new file mode 100644
index 000000000000..7201db54b5ff
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs
@@ -0,0 +1,83 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.CosmosDB.Models;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinDatabase", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSGremlinDatabaseGetResults))]
+ public class SetAzCosmosDBGremlinDatabase : 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, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.GremlinDatabaseThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ AccountName = resourceIdentifier.ResourceName;
+ }
+
+ IDictionary options = new Dictionary();
+
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ GremlinDatabaseCreateUpdateParameters gremlinDatabaseCreateUpdateParameters = new GremlinDatabaseCreateUpdateParameters
+ {
+ Resource = new GremlinDatabaseResource
+ {
+ Id = Name
+ },
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB Gremlin Database"))
+ {
+ GremlinDatabaseGetResults gremlinDatabaseGetResults = CosmosDBManagementClient.GremlinResources.CreateUpdateGremlinDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, gremlinDatabaseCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSGremlinDatabaseGetResults(gremlinDatabaseGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs
new file mode 100644
index 000000000000..1d69c69242ae
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs
@@ -0,0 +1,269 @@
+// ----------------------------------------------------------------------------------
+//
+// 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(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBGremlinGraph", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSGremlinGraphGetResults))]
+ public class SetAzCosmosDBGremlinGraph : 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 = true, HelpMessage = Constants.GraphNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.IndexingPolicyHelpMessage)]
+ [ValidateNotNull]
+ public PSIndexingPolicy IndexingPolicy { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PartitionKeyVersionHelpMessage)]
+ public int? PartitionKeyVersion { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.PartitionKeyKindHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string PartitionKeyKind { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.PartitionKeyPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string[] PartitionKeyPath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.GremlinGraphThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.TtlInSecondsHelpMessage)]
+ public int? TtlInSeconds { get; set; }
+
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.UniqueKeyPolciyHelpMessage)]
+ [ValidateNotNull]
+ public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)]
+ [PSArgumentCompleter("Custom", "LastWriterWins", "Manual")]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyMode { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyPath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyProcedureHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyProcedure { get; set; }
+
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.ConflictResolutionPolicyHelpMessage)]
+ [ValidateNotNull]
+ public PSConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.GremlinDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSGremlinDatabaseGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ DatabaseName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ List Paths = new List();
+
+ foreach (string path in PartitionKeyPath)
+ Paths.Add(path);
+
+ GremlinGraphResource gremlinGraphResource = new GremlinGraphResource
+ {
+ Id = Name,
+ PartitionKey = new ContainerPartitionKey
+ {
+ Kind = PartitionKeyKind,
+ Paths = Paths,
+ Version = PartitionKeyVersion
+ }
+ };
+
+ if (UniqueKeyPolicy != null)
+ {
+ UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy
+ {
+ UniqueKeys = new List()
+ };
+
+ foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys)
+ {
+ UniqueKey key = new UniqueKey
+ {
+ Paths = new List()
+ };
+
+ foreach (string path in uniqueKey.Paths)
+ {
+ key.Paths.Add(path);
+ }
+
+ uniqueKeyPolicy.UniqueKeys.Add(key);
+ }
+
+ gremlinGraphResource.UniqueKeyPolicy = uniqueKeyPolicy;
+ }
+
+ if (TtlInSeconds != null)
+ {
+ gremlinGraphResource.DefaultTtl = TtlInSeconds;
+ }
+
+ if (ConflictResolutionPolicy != null)
+ {
+ ConflictResolutionPolicyMode = ConflictResolutionPolicy.Mode;
+
+ if (ConflictResolutionPolicy.ConflictResolutionPath != null)
+ {
+ ConflictResolutionPolicyPath = ConflictResolutionPolicy.ConflictResolutionPath;
+ }
+
+ if (ConflictResolutionPolicy.ConflictResolutionProcedure != null)
+ {
+ ConflictResolutionPolicyProcedure = ConflictResolutionPolicy.ConflictResolutionProcedure;
+ }
+ }
+
+ if (ConflictResolutionPolicyMode != null)
+ {
+ ConflictResolutionPolicy conflictResolutionPolicy = new ConflictResolutionPolicy
+ {
+ Mode = ConflictResolutionPolicyMode
+ };
+
+ if (ConflictResolutionPolicyMode.Equals("LastWriterWins", StringComparison.OrdinalIgnoreCase))
+ {
+ conflictResolutionPolicy.ConflictResolutionPath = ConflictResolutionPolicyPath;
+ }
+ else if (ConflictResolutionPolicyMode.Equals("Custom", StringComparison.OrdinalIgnoreCase))
+ {
+ conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionPolicyProcedure;
+ }
+
+ gremlinGraphResource.ConflictResolutionPolicy = conflictResolutionPolicy;
+ }
+
+ if (IndexingPolicy != null)
+ {
+ IndexingPolicy indexingPolicy = new IndexingPolicy
+ {
+ Automatic = IndexingPolicy.Automatic,
+ IndexingMode = IndexingPolicy.IndexingMode,
+ };
+
+ if (IndexingPolicy.IncludedPaths != null)
+ {
+ IList includedPaths = new List();
+ foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths)
+ {
+ includedPaths.Add(new IncludedPath
+ {
+ Path = pSIncludedPath.Path,
+ Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes)
+ });
+ }
+
+ indexingPolicy.IncludedPaths = new List(includedPaths);
+ }
+
+ if (IndexingPolicy.ExcludedPaths != null && IndexingPolicy.ExcludedPaths.Count > 0)
+ {
+ IList excludedPaths = new List();
+ foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths)
+ {
+ excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path });
+ }
+
+ indexingPolicy.ExcludedPaths = new List(excludedPaths);
+ }
+
+ if (IndexingPolicy.CompositeIndexes != null)
+ {
+ IList> compositeIndexes = new List>();
+ foreach (IList pSCompositePathList in IndexingPolicy.CompositeIndexes)
+ {
+ IList compositePathList = new List();
+ foreach (PSCompositePath pSCompositePath in pSCompositePathList)
+ {
+ compositePathList.Add(new CompositePath { Order = pSCompositePath.Order, Path = pSCompositePath.Path });
+ }
+
+ compositeIndexes.Add(compositePathList);
+ }
+
+ indexingPolicy.CompositeIndexes = new List>(compositeIndexes);
+ }
+
+ if (IndexingPolicy.SpatialIndexes != null && IndexingPolicy.SpatialIndexes.Count > 0)
+ {
+ IList spatialIndexes = new List();
+
+ foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes)
+ {
+ spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types });
+ }
+
+ indexingPolicy.SpatialIndexes = new List(spatialIndexes);
+ }
+
+ gremlinGraphResource.IndexingPolicy = indexingPolicy;
+ }
+
+ IDictionary options = new Dictionary();
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ GremlinGraphCreateUpdateParameters gremlinGraphCreateUpdateParameters = new GremlinGraphCreateUpdateParameters
+ {
+ Resource = gremlinGraphResource,
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB Gremlin Graph"))
+ {
+ GremlinGraphGetResults gremlinGraphGetResults = CosmosDBManagementClient.GremlinResources.CreateUpdateGremlinGraphWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, gremlinGraphCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSGremlinGraphGetResults(gremlinGraphGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Helpers/Constants.cs b/src/CosmosDB/CosmosDB/Helpers/Constants.cs
index c121d8718189..c8a6f0914585 100644
--- a/src/CosmosDB/CosmosDB/Helpers/Constants.cs
+++ b/src/CosmosDB/CosmosDB/Helpers/Constants.cs
@@ -54,9 +54,12 @@ internal static class Constants
public const string StoredProcedureNameHelpMessage = "Stored Prcodecure Name.";
public const string UserDefinedFunctionNameHelpMessage = "User Defined Function Name.";
public const string TriggerNameHelpMessage = "Trigger name.";
- public const string IndexingPolicyHelpMessage = "Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlIndexingPolicy.";
- public const string UniqueKeyPolciyHelpMessage = "UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlUniqueKeyPolicy. ";
- public const string ConflictResolutionPolicyHelpMessage = "ConflictResolutionPolicy Object of type PSSqlConflictResolutionPolicy. ";
+ public const string SqlIndexingPolicyHelpMessage = "Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlIndexingPolicy.";
+ public const string IndexingPolicyHelpMessage = "Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSIndexingPolicy.";
+ public const string SqlUniqueKeyPolciyHelpMessage = "UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlUniqueKeyPolicy. ";
+ public const string UniqueKeyPolciyHelpMessage = "UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSUniqueKeyPolicy. ";
+ public const string SqlConflictResolutionPolicyHelpMessage = "ConflictResolutionPolicy Object of type PSSqlConflictResolutionPolicy, when provided this is set as the ConflictResolutionPolicy of the container.";
+ public const string ConflictResolutionPolicyHelpMessage = "ConflictResolutionPolicy Object of type PSConflictResolutionPolicy, when provided this is set as the ConflictResolutionPolicy of the container.";
public const string PartitionKeyPathHelpMessage = "Partition Key Path, e.g., '/address/zipcode'.";
public const string SqlContainerThroughputHelpMessage = "The throughput of SQL container (RU/s). Default value is 400.";
public const string TtlInSecondsHelpMessage = "Default Ttl in seconds. If the value is missing or set to - 1, items don’t expire. If the value is set to n, items will expire n seconds after last modified time. ";
@@ -65,14 +68,17 @@ internal static class Constants
public const string SqlContainerObjectHelpMessage = "Sql Container object.";
public const string SqlDatabaseThroughputHelpMessage = "The throughput of SQL database (RU/s). Default value is 400.";
public const string SqlDatabaseDetailedParamHelpMessage = "If provided then, the cmdlet returns the container with the throughput value. ";
- public const string ConflictResolutionPolicyTypeHelpMessage = "Can have the values: LastWriterWins, Custom, Manual.";
- public const string ConflictResolutionPolicyPathHelpMessage = "To be provided when the type is LastWriterWins.";
- public const string ConflictResolutionPolicyStoredProcedureNameHelpMessage = "To be provided when the type is custom.";
+ public const string SqlConflictResolutionPolicyModeHelpMessage = "Can have the values: LastWriterWins, Custom, Manual. If provided along with ConflictResolutionPolicy parameter, it is ignored.";
+ public const string SqlConflictResolutionPolicyPathHelpMessage = "To be provided when the type is LastWriterWins. If provided along with ConflictResolutionPolicy parameter, it is ignored.";
+ public const string SqlConflictResolutionPolicyProcedureHelpMessage = "To be provided when the type is custom. If provided along with ConflictResolutionPolicy parameter, it is ignored.";
public const string UniqueKeyPathHelpMessage = "Array of string of path values";
+ public const string SqlUniqueKeysHelpMessage = "Array of objects of type PSSqlUniqueKey.";
public const string IndexingPolicyIncludedPathHelpMessage = "Array of strings containing includedPath (Specifies a path within a JSON document to be included in the Azure Cosmos DB service.) elements. ";
public const string IndexingPolicyExcludedPathHelpMessage = "Array of strings containing excludedPath(Specifies a path within a JSON document to be excluded in the Azure Cosmos DB service.) elements. ";
public const string IndexingPolicyAutomaticHelpMessage = "Bool to indicate if the indexing policy is automatic";
- public const string IndexingPolicyIndexingModeIndexHelpMessage = " indicates the indexing mode. Possible values include: 'Consistent', 'Lazy', 'None'";
+ public const string IndexingPolicyIndexingModeIndexHelpMessage = "Indicates the indexing mode. Possible values include: 'Consistent', 'Lazy', 'None'";
+ public const string IndexingPolicySpatialIndexHelpMessage = "Array of objects of type Microsoft.Azure.Commands.CosmosDB.PSSpatialSpec";
+ public const string IndexingPolicyCompositePathHelpMessage = "Array of array of objects of type Microsoft.Azure.Commands.CosmosDB.PSCompositePath";
public const string SpatialTypeHelpMessage = "Array of strings with acceptable values: Point, LineString, Polygon, MultiPolygon. Represent’s paths spatial type.";
public const string SpatialPathHelpMessage = "Path in JSON document to index.";
public const string SortOrderHelpMessage = "The sort order of the CompositeIndex";
@@ -82,10 +88,68 @@ internal static class Constants
public const string StoredProcedureBodyHelpMessage = "The body of the Stored Procedure.";
public const string UserDefinedFunctionBodyHelpMessage = "The body of the User Defined Function.";
public const string TriggerBodyHelpMessage = "The body of the Trigger.";
- public const string TriggerOperationHelpMessage = "The operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'. If the value is not provided, then it defaults to 'All'.";
- public const string TriggerTypeHelpMessage = "Type of the Trigger. Possible values include: 'Pre', 'Post'. If the value is not provided, then it defaults to 'Pre'.";
+ public const string TriggerOperationHelpMessage = "The operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace' ";
+ public const string TriggerTypeHelpMessage = "Type of the Trigger. Possible values include: 'Pre', 'Post'";
public const string SqlUserDefinedFunctionObjectHelpMessage = "Sql User Defined Function Object";
public const string SqlTriggerObjectHelpMessage = "Sql trigger Object";
public const string SqlStoredProcedureObjectHelpMessage = "Sql Stored Procedure Object";
+ public const string IncludedPathIndexesDataTypeHelpMessage = "Datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'";
+ public const string IncludedPathIndexesPrecisionHelpMessage = "The precision of the index. -1 is maximum precision.";
+ public const string IncludedPathIndexesKindHelpMessage = "Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'";
+ public const string IncludedPathHelpMessage = "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)";
+ public const string IncludedPathIndexesHelpMessage = "List of indexes for this path";
+ public const string CompositePathHelpMessage = "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)";
+ public const string CompositePathOrderTypeHelpMessage = " Gets or sets sort order for composite paths. Possible values include: 'Ascending', 'Descending'";
+
+ //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 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.";
+ public const string MongoIndexTtlInSeconds = "Number of seconds after which the index expires.";
+ public const string MongoIndexUnique = "Bool to indicate if the index is unique or not.";
+ public const string MongoIndexKey = "Array of key values as strings.";
+ public const string MongoIndexHelpMessage = "Array of PSMongoIndex objects.";
+ public const string MongoCollectionThroughputHelpMessage = "The throughput of Mongo collection (RU/s). Default value is 400.";
+ public const string MongoDatabaseThroughputHelpMessage = "The throughput of Mongo database (RU/s). Default value is 400.";
+
+ //Table cmdlets help messages
+ public const string TableNameHelpMessage = "Name of the Table.";
+ public const string TableThroughputHelpMessage = "The throughput of Table (RU/s). Default value is 400.";
+ public const string TableDetailedParamHelpMessage = "If provided then, the cmdlet returns the Table with the corresponding throughput value.";
+ public const string TableObjectHelpMessage = "Table Object.";
+
+ //Cassandra cmdlets help messages
+ public const string KeyspaceNameHelpMessage = "Cassandra Keyspace Name.";
+ public const string CassandraTableNameHelpMessage = "Cassandra Table Name.";
+ public const string CassandraKeyspaceDetailedParamHelpMessage = "If provided then, the cmdlet returns the Keyspace with the corresponding throughput value.";
+ public const string CassandraKeyspaceObjectHelpMessage = "Cassandra Keyspace object.";
+ public const string CassandraTableObjectHelpMessage = "Cassandra Table object.";
+ public const string CassandraTableDetailedParamHelpMessage = "If provided then, the cmdlet returns the Cassandra Table with the corresponding throughput value.";
+ public const string CassandraKeyspaceThroughputHelpMessage = "The throughput of Cassandra Keyspace (RU/s). Default value is 400.";
+ public const string CassandraTableThroughputHelpMessage = "The throughput of Cassandra Keyspace (RU/s). Default value is 400.";
+ public const string CassandraSchemaHelpMessage = "PSCassandraSchema object. Use New-AzCosmosDBCassandraSchema to create this object.";
+ public const string CassandraClusterKeyNameHelpMessage = "Name of Cassandra Cluster Key.";
+ public const string CassandraClusterKeyOrderByHelpMessage = "Ordering of Cassandra Cluster key. Possible values include: 'Asc', 'Desc'";
+ public const string CassandraColumnNameHelpMessage = "Name of Cassandra Column.";
+ public const string CassandraColumnTypeHelpMessage = "Type of Cassandra Column.";
+ public const string CassandraSchemaColumnHelpMessage = "PSColumn object.";
+ public const string CassandraSchemaPartitionKeyHelpMessage = "Array of strings containing Partition Keys.";
+ public const string CassandraSchemaClusterKeyHelpMessage = "Array of PSClusterKey objects.";
+
+ //Gremlin cmdlets help messages
+ public const string GraphNameHelpMessage = "Gremlin Graph Name.";
+ public const string GremlinDatabaseDetailedParamHelpMessage = "If provided then, the cmdlet returns the Database with the corresponding throughput value.";
+ public const string GremlinDatabaseObjectHelpMessage = "Gremlin Database object.";
+ public const string GremlinGraphObjectHelpMessage = "Gremlin Graph object.";
+ public const string GremlinGraphDetailedParamHelpMessage = "If provided then, the cmdlet returns the Gremlin Graph with the corresponding throughput value.";
+ public const string GremlinDatabaseThroughputHelpMessage = "The throughput of Gremlin Database (RU/s). Default value is 400.";
+ public const string GremlinGraphThroughputHelpMessage = "The throughput of Gremlin Graph (RU/s). Default value is 400.";
+ public const string ConflictResolutionPolicyModeHelpMessage = "Can have the values: LastWriterWins, Custom, Manual.";
+ public const string ConflictResolutionPolicyPathHelpMessage = "To be provided when the type is LastWriterWins.";
+ public const string ConflictResolutionPolicyProcedureHelpMessage = "To be provided when the type is custom.";
+ public const string UniqueKeysHelpMessage = "Array of objects of type PSUniqueKey.";
}
}
diff --git a/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs b/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs
index 48fd7e0dd980..a1abd1c57745 100644
--- a/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs
+++ b/src/CosmosDB/CosmosDB/Helpers/ResourceIdentifierExtensions.cs
@@ -26,6 +26,12 @@ public static class ResourceIdentifierExtensions
private const string StoredProcedures = "storedProcedures";
private const string UserDefinedFunctions = "userDefinedFunctions";
private const string Triggers = "triggers";
+ private const string GremlinDatabases = "gremlinDatabases";
+ private const string Graphs = "graphs";
+ private const string MongoDBDatabases = "mongodbDatabases";
+ private const string Collections = "collections";
+ private const string CassandraKeyspaces = "cassandraKeyspaces";
+ private const string Tables = "tables";
public static string GetDatabaseAccountName(this ResourceIdentifier resourceId)
{
@@ -57,11 +63,39 @@ public static string GetSqlTriggerFunctionName(this ResourceIdentifier resourceI
return GetChildResourceName(resourceId, Triggers);
}
+ public static string GetGremlinDatabaseName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, GremlinDatabases);
+ }
+ public static string GetGremlinGraphName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, Graphs);
+ }
+
+ public static string GetMongoDBCollectionName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, Collections);
+ }
+
+ public static string GetMongoDBDatabaseName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, MongoDBDatabases);
+ }
+ public static string GetCassandraTableName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, Tables);
+ }
+
+ public static string GetCassandraKeyspaceName(this ResourceIdentifier resourceId)
+ {
+ return GetChildResourceName(resourceId, CassandraKeyspaces);
+ }
+
private static string GetChildResourceName(this ResourceIdentifier resourceId, string resourceType)
{
var parentResource = resourceId.ParentResource.Split(new[] { '/' });
- for (int idx = 0; idx < parentResource.Length - 1; idx++)
+ for (int idx = 0; idx < parentResource.Length; idx++)
{
if (parentResource[idx].Equals(resourceType, StringComparison.OrdinalIgnoreCase))
{
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetPropertiesResource.cs
new file mode 100644
index 000000000000..097f673b1051
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetPropertiesResource.cs
@@ -0,0 +1,47 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSCassandraKeyspaceGetPropertiesResource
+ {
+ public PSCassandraKeyspaceGetPropertiesResource(CassandraKeyspaceGetPropertiesResource cassandraKeyspaceGetPropertiesResource)
+ {
+ Id = cassandraKeyspaceGetPropertiesResource.Id;
+ _rid = cassandraKeyspaceGetPropertiesResource._rid;
+ _ts = cassandraKeyspaceGetPropertiesResource._ts;
+ _etag = cassandraKeyspaceGetPropertiesResource._etag;
+ }
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Cassandra keyspace
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs
new file mode 100644
index 000000000000..5abd9947817b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs
@@ -0,0 +1,58 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
+ using Microsoft.Azure.Management.CosmosDB.Models;
+ using System.Collections.Generic;
+
+ public class PSCassandraKeyspaceGetResults
+ {
+ public PSCassandraKeyspaceGetResults()
+ {
+ }
+
+ public PSCassandraKeyspaceGetResults(CassandraKeyspaceGetResults cassandraKeyspaceGetResults)
+ {
+ Name = cassandraKeyspaceGetResults.Name;
+ Id = cassandraKeyspaceGetResults.Id;
+ Location = cassandraKeyspaceGetResults.Location;
+ Tags = cassandraKeyspaceGetResults.Tags;
+ Resource = new PSCassandraKeyspaceGetPropertiesResource(cassandraKeyspaceGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB Cassandra keyspace
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// Gets or sets Id of the Cosmos DB Cassandra keyspace
+ ///
+ public string Id { get; set; }
+
+ ///
+ /// Gets or sets Location of the Cosmos DB Cassandra keyspace
+ ///
+ public string Location { get; set; }
+
+ ///
+ /// Gets or sets Tags of the Cosmos DB Cassandra keyspace
+ ///
+ public IDictionary Tags { get; set; }
+
+ public PSCassandraKeyspaceGetPropertiesResource Resource { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraPartitionKey.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraPartitionKey.cs
new file mode 100644
index 000000000000..b2ad8fb248ec
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraPartitionKey.cs
@@ -0,0 +1,43 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSCassandraPartitionKey
+ {
+ public PSCassandraPartitionKey()
+ {
+ }
+
+ public PSCassandraPartitionKey(CassandraPartitionKey cassandraPartitionKey)
+ {
+ Name = cassandraPartitionKey.Name;
+ }
+
+ static public CassandraPartitionKey ConvertPSCassandraPartitionKeyToCassandraPartitionKey(PSCassandraPartitionKey psCassandraPartitionKey)
+ {
+ return new CassandraPartitionKey
+ {
+ Name = psCassandraPartitionKey.Name
+ };
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Cassandra table partition key
+ public string Name { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs
new file mode 100644
index 000000000000..b26b6e02dd0f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs
@@ -0,0 +1,71 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSCassandraSchema
+ {
+ public PSCassandraSchema()
+ {
+ }
+
+ public PSCassandraSchema(CassandraSchema cassandraSchema)
+ {
+ }
+
+ //
+ // Summary:
+ // Gets or sets list of Cassandra table columns.
+ public IList Columns { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of partition key.
+ public IList PartitionKeys { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of cluster key.
+ public IList ClusterKeys { get; set; }
+
+ static public CassandraSchema ConvertPSCassandraSchemaToCassandraSchema(PSCassandraSchema pSCassandraSchema)
+ {
+ List column = new List();
+ foreach (PSColumn pSColumn in pSCassandraSchema.Columns)
+ {
+ column.Add(PSColumn.ConvertPSColumnToColumn(pSColumn));
+ }
+
+ List partitionKeys = new List();
+ foreach (PSCassandraPartitionKey pSCassandraPartitionKey in pSCassandraSchema.PartitionKeys)
+ {
+ partitionKeys.Add(PSCassandraPartitionKey.ConvertPSCassandraPartitionKeyToCassandraPartitionKey(pSCassandraPartitionKey));
+ }
+
+ List clusterKeys = new List();
+ foreach (PSClusterKey pSClusterKey in pSCassandraSchema.ClusterKeys)
+ {
+ clusterKeys.Add(PSClusterKey.ConvertPSCassandraSchemaToCassandraSchema(pSClusterKey));
+ }
+
+ return new CassandraSchema
+ {
+ Columns = column,
+ PartitionKeys = partitionKeys,
+ ClusterKeys = clusterKeys
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetPropertiesResource.cs
new file mode 100644
index 000000000000..bb7da497b158
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetPropertiesResource.cs
@@ -0,0 +1,62 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSCassandraTableGetPropertiesResource
+ {
+ PSCassandraTableGetPropertiesResource()
+ {
+ }
+
+ public PSCassandraTableGetPropertiesResource(CassandraTableGetPropertiesResource cassandraTableGetPropertiesResource)
+ {
+ Id = cassandraTableGetPropertiesResource.Id;
+ DefaultTtl = cassandraTableGetPropertiesResource.DefaultTtl;
+ Schema = new PSCassandraSchema(cassandraTableGetPropertiesResource.Schema);
+ _rid = cassandraTableGetPropertiesResource._rid;
+ _ts = cassandraTableGetPropertiesResource._ts;
+ _etag = cassandraTableGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Cassandra table
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets time to live of the Cosmos DB Cassandra table
+ public int? DefaultTtl { get; set; }
+ //
+ // Summary:
+ // Gets or sets schema of the Cosmos DB Cassandra table
+ public PSCassandraSchema Schema { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs
new file mode 100644
index 000000000000..e3b21dd158c7
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs
@@ -0,0 +1,58 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using System;
+ using System.Collections.Generic;
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSCassandraTableGetResults
+ {
+ public PSCassandraTableGetResults()
+ {
+ }
+
+ public PSCassandraTableGetResults(CassandraTableGetResults cassandraTableGetResults)
+ {
+ Name = cassandraTableGetResults.Name;
+ Id = cassandraTableGetResults.Id;
+ Tags = cassandraTableGetResults.Tags;
+ Location = cassandraTableGetResults.Location;
+ Resource = new PSCassandraTableGetPropertiesResource(cassandraTableGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB Cassandra table
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// Gets or sets Id of the Cosmos DB Cassandra table
+ ///
+ public string Id { get; set; }
+
+ ///
+ /// Gets or sets Location of the Cosmos DB Cassandra table
+ ///
+ public string Location { get; set; }
+
+ ///
+ /// Gets or sets Tags of the Cosmos DB Cassandra table
+ ///
+ public IDictionary Tags { get; set; }
+
+ public PSCassandraTableGetPropertiesResource Resource { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSClusterKey.cs b/src/CosmosDB/CosmosDB/Models/PSClusterKey.cs
new file mode 100644
index 000000000000..ed4b54c75cf3
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSClusterKey.cs
@@ -0,0 +1,51 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSClusterKey
+ {
+ public PSClusterKey()
+ {
+ }
+
+ public PSClusterKey(ClusterKey clusterKey)
+ {
+ Name = clusterKey.Name;
+ OrderBy = clusterKey.OrderBy;
+ }
+
+ static public ClusterKey ConvertPSCassandraSchemaToCassandraSchema(PSClusterKey psClusterKey)
+ {
+ return new ClusterKey
+ {
+ Name = psClusterKey.Name,
+ OrderBy = psClusterKey.OrderBy
+ };
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Cassandra table cluster key
+ public string Name { get; set; }
+ //
+ // Summary:
+ // Gets or sets order of the Cosmos DB Cassandra table cluster key, only support
+ // "Asc" and "Desc"
+ public string OrderBy { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSColumn.cs b/src/CosmosDB/CosmosDB/Models/PSColumn.cs
new file mode 100644
index 000000000000..a36233e82910
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSColumn.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSColumn
+ {
+ public PSColumn()
+ {
+ }
+
+ public PSColumn(Column column)
+ {
+ Name = column.Name;
+ Type = column.Type;
+ }
+
+ static public Column ConvertPSColumnToColumn(PSColumn psColumn)
+ {
+ return new Column
+ {
+ Name = psColumn.Name,
+ Type = psColumn.Type
+ };
+ }
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Cassandra table column
+ public string Name { get; set; }
+ //
+ // Summary:
+ // Gets or sets type of the Cosmos DB Cassandra table column
+ public string Type { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSCompositePath.cs b/src/CosmosDB/CosmosDB/Models/PSCompositePath.cs
new file mode 100644
index 000000000000..a321b0a9fb4a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSCompositePath.cs
@@ -0,0 +1,43 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSCompositePath
+ {
+ public PSCompositePath()
+ {
+ }
+
+ public PSCompositePath(CompositePath compositePath)
+ {
+ Path = compositePath.Path;
+ Order = compositePath.Order;
+ }
+
+ //
+ // Summary:
+ // Gets or sets the path for which the indexing behavior applies to. Index paths
+ // typically start with root and end with wildcard (/path/*)
+ public string Path { get; set; }
+ //
+ // Summary:
+ // Gets or sets sort order for composite paths. Possible values include: 'Ascending',
+ // 'Descending'
+ public string Order { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSConflictResolutionPolicy.cs
new file mode 100644
index 000000000000..2202965022a3
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSConflictResolutionPolicy.cs
@@ -0,0 +1,47 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSConflictResolutionPolicy
+ {
+ public PSConflictResolutionPolicy()
+ {
+ }
+
+ public PSConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy)
+ {
+ Mode = conflictResolutionPolicy.Mode;
+ ConflictResolutionPath = conflictResolutionPolicy.ConflictResolutionPath;
+ ConflictResolutionProcedure = conflictResolutionPolicy.ConflictResolutionProcedure;
+ }
+
+ //
+ // Summary:
+ // Gets or sets indicates the conflict resolution mode. Possible values include:
+ // 'LastWriterWins', 'Custom'
+ public string Mode { get; set; }
+ //
+ // Summary:
+ // Gets or sets the conflict resolution path in the case of LastWriterWins mode.
+ public string ConflictResolutionPath { get; set; }
+ //
+ // Summary:
+ // Gets or sets the procedure to resolve conflicts in the case of custom mode.
+ public string ConflictResolutionProcedure { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSContainerPartitionKey.cs b/src/CosmosDB/CosmosDB/Models/PSContainerPartitionKey.cs
new file mode 100644
index 000000000000..b223f8100a9a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSContainerPartitionKey.cs
@@ -0,0 +1,47 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSContainerPartitionKey
+ {
+ public PSContainerPartitionKey()
+ {
+ }
+
+ public PSContainerPartitionKey(ContainerPartitionKey containerPartitionKey)
+ {
+ Paths = containerPartitionKey.Paths;
+ Kind = containerPartitionKey.Kind;
+ Version = containerPartitionKey.Version;
+ }
+
+ //
+ // Summary:
+ // Gets or sets list of paths using which data within the container can be partitioned
+ public IList Paths { get; set; }
+ //
+ // Summary:
+ // Gets or sets indicates the kind of algorithm used for partitioning. Possible
+ // values include: 'Hash', 'Range'
+ public string Kind { get; set; }
+ //
+ // Summary:
+ // Gets or sets indicates the version of the partition key definition
+ public int? Version { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSDatabaseAccount.cs b/src/CosmosDB/CosmosDB/Models/PSDatabaseAccount.cs
index 1cc42bc55e71..bcc8d86d098a 100644
--- a/src/CosmosDB/CosmosDB/Models/PSDatabaseAccount.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSDatabaseAccount.cs
@@ -27,6 +27,8 @@ public PSDatabaseAccount(DatabaseAccountGetResults databaseAccountGetResults)
{
Id = databaseAccountGetResults.Id;
Name = databaseAccountGetResults.Name;
+ Tags = databaseAccountGetResults.Tags;
+ Location = databaseAccountGetResults.Location;
EnableCassandraConnector = databaseAccountGetResults.EnableCassandraConnector;
FailoverPolicies = databaseAccountGetResults.FailoverPolicies;
ReadLocations = databaseAccountGetResults.ReadLocations;
@@ -56,6 +58,14 @@ public PSDatabaseAccount(DatabaseAccountGetResults databaseAccountGetResults)
// Summary:
// Gets or sets the Name of the CosmosDB Account
public string Name { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB CosmosDB Account
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB CosmosDB Account
+ ///
+ public IDictionary Tags { get; set; }
//
//
// Summary:
diff --git a/src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs b/src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs
new file mode 100644
index 000000000000..79ee2cce6c07
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs
@@ -0,0 +1,36 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSExcludedPath
+ {
+ public PSExcludedPath()
+ {
+ }
+
+ public PSExcludedPath(ExcludedPath excludedPath )
+ {
+ Path = excludedPath.Path;
+ }
+ //
+ // Summary:
+ // Gets or sets the path for which the indexing behavior applies to. Index paths
+ // typically start with root and end with wildcard (/path/*)
+ public string Path { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetPropertiesResource.cs
new file mode 100644
index 000000000000..4d42a2a44a3f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetPropertiesResource.cs
@@ -0,0 +1,48 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSGremlinDatabaseGetPropertiesResource
+ {
+ public PSGremlinDatabaseGetPropertiesResource(GremlinDatabaseGetPropertiesResource gremlinDatabaseGetPropertiesResource)
+ {
+ Id = gremlinDatabaseGetPropertiesResource.Id;
+ _rid = gremlinDatabaseGetPropertiesResource._rid;
+ _ts = gremlinDatabaseGetPropertiesResource._ts;
+ _etag = gremlinDatabaseGetPropertiesResource._etag;
+ }
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Gremlin database
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs
new file mode 100644
index 000000000000..bf0000155023
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs
@@ -0,0 +1,55 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+ using System.Collections.Generic;
+
+ public class PSGremlinDatabaseGetResults
+ {
+ public PSGremlinDatabaseGetResults()
+ {
+ }
+
+ public PSGremlinDatabaseGetResults(GremlinDatabaseGetResults gremlinDatabaseGetResults)
+ {
+ Name = gremlinDatabaseGetResults.Name;
+ Id = gremlinDatabaseGetResults.Id;
+ Tags = gremlinDatabaseGetResults.Tags;
+ Location = gremlinDatabaseGetResults.Location;
+ Resource = new PSGremlinDatabaseGetPropertiesResource(gremlinDatabaseGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB Gremlin database
+ ///
+ public string Name { get; set; }
+ ///
+ /// Gets or sets Id of the Cosmos DB Gremlin database
+ ///
+ public string Id { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB Gremlin database
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB Gremlin database
+ ///
+ public IDictionary Tags { get; set; }
+ //
+ public PSGremlinDatabaseGetPropertiesResource Resource { get; set; }
+
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetPropertiesResource.cs
new file mode 100644
index 000000000000..ff2464323f7b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetPropertiesResource.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSGremlinGraphGetPropertiesResource
+ {
+ public PSGremlinGraphGetPropertiesResource()
+ {
+ }
+
+ public PSGremlinGraphGetPropertiesResource(GremlinGraphGetPropertiesResource gremlinGraphGetPropertiesResource)
+ {
+ Id = gremlinGraphGetPropertiesResource.Id;
+ IndexingPolicy = new PSIndexingPolicy(gremlinGraphGetPropertiesResource.IndexingPolicy);
+ PartitionKey = new PSContainerPartitionKey(gremlinGraphGetPropertiesResource.PartitionKey);
+ DefaultTtl = gremlinGraphGetPropertiesResource.DefaultTtl;
+ UniqueKeyPolicy = new PSUniqueKeyPolicy(gremlinGraphGetPropertiesResource.UniqueKeyPolicy);
+ ConflictResolutionPolicy = new PSConflictResolutionPolicy(gremlinGraphGetPropertiesResource.ConflictResolutionPolicy);
+ _rid = gremlinGraphGetPropertiesResource._rid;
+ _ts = gremlinGraphGetPropertiesResource._ts;
+ _etag = gremlinGraphGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB Gremlin graph
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets the configuration of the indexing policy. By default, the indexing
+ // is automatic for all document paths within the graph
+ public PSIndexingPolicy IndexingPolicy { get; set; }
+ //
+ // Summary:
+ // Gets or sets the configuration of the partition key to be used for partitioning
+ // data into multiple partitions
+ public PSContainerPartitionKey PartitionKey { get; set; }
+ //
+ // Summary:
+ // Gets or sets default time to live
+ public int? DefaultTtl { get; set; }
+ //
+ // Summary:
+ // Gets or sets the unique key policy configuration for specifying uniqueness constraints
+ // on documents in the collection in the Azure Cosmos DB service.
+ public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; }
+ //
+ // Summary:
+ // Gets or sets the conflict resolution policy for the graph.
+ public PSConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs
new file mode 100644
index 000000000000..64fabc4005c0
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs
@@ -0,0 +1,55 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using System.Collections.Generic;
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSGremlinGraphGetResults
+ {
+ public PSGremlinGraphGetResults()
+ {
+ }
+
+ public PSGremlinGraphGetResults(GremlinGraphGetResults gremlinGraphGetResults)
+ {
+ Name = gremlinGraphGetResults.Name;
+ Id = gremlinGraphGetResults.Id;
+ Location = gremlinGraphGetResults.Location;
+ Tags = gremlinGraphGetResults.Tags;
+ Resource = new PSGremlinGraphGetPropertiesResource(gremlinGraphGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB Gremlin graph
+ ///
+ public string Name { get; set; }
+ ///
+ /// Gets or sets Id of the Cosmos DB Gremlin graph
+ ///
+ public string Id { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB Gremlin graph
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB Gremlin graph
+ ///
+ public IDictionary Tags { get; set; }
+ //
+ public PSGremlinGraphGetPropertiesResource Resource { get; set; }
+
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs b/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs
new file mode 100644
index 000000000000..29dde8c39d46
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs
@@ -0,0 +1,60 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSIncludedPath
+ {
+ public PSIncludedPath()
+ {
+ }
+
+ public PSIncludedPath(IncludedPath includedPath )
+ {
+ Path = includedPath.Path;
+ if (includedPath.Indexes != null)
+ {
+ Indexes = new List();
+ foreach (Indexes indexes in includedPath.Indexes)
+ {
+ Indexes.Add(new PSIndexes(indexes));
+ }
+ }
+ }
+ //
+ // Summary:
+ // Gets or sets the path for which the indexing behavior applies to. Index paths
+ // typically start with root and end with wildcard (/path/*)
+ public string Path { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of indexes for this path
+ public IList Indexes { get; set; }
+
+ static public List ConvertPSIndexesToIndexes(IList pSIndexes)
+ {
+ List indexes = new List();
+ foreach(PSIndexes pSIndex in pSIndexes)
+ {
+ indexes.Add(PSIndexes.ConvertPSIndexesToIndexes(pSIndex));
+ }
+
+ return indexes;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSIndexes.cs b/src/CosmosDB/CosmosDB/Models/PSIndexes.cs
new file mode 100644
index 000000000000..3046ea151e16
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSIndexes.cs
@@ -0,0 +1,58 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSIndexes
+ {
+ public PSIndexes()
+ {
+ }
+
+ public PSIndexes(Indexes indexes )
+ {
+ DataType = indexes.DataType;
+ Precision = indexes.Precision;
+ Kind = indexes.Kind;
+ }
+
+ //
+ // Summary:
+ // Gets or sets the datatype for which the indexing behavior is applied to. Possible
+ // values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'
+ public string DataType { get; set; }
+ //
+ // Summary:
+ // Gets or sets the precision of the index. -1 is maximum precision.
+ public int? Precision { get; set; }
+ //
+ // Summary:
+ // Gets or sets indicates the type of index. Possible values include: 'Hash', 'Range',
+ // 'Spatial'
+ public string Kind { get; set; }
+
+ static public Indexes ConvertPSIndexesToIndexes(PSIndexes pSIndexes)
+ {
+ return new Indexes
+ {
+ DataType = pSIndexes.DataType,
+ Precision = pSIndexes.Precision,
+ Kind = pSIndexes.Kind
+ };
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSIndexingPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSIndexingPolicy.cs
new file mode 100644
index 000000000000..82147bab4854
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSIndexingPolicy.cs
@@ -0,0 +1,99 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSIndexingPolicy
+ {
+ public PSIndexingPolicy()
+ {
+ }
+
+ public PSIndexingPolicy(IndexingPolicy indexingPolicy)
+ {
+ Automatic = indexingPolicy.Automatic;
+ IndexingMode = indexingPolicy.IndexingMode;
+
+ if (indexingPolicy.IncludedPaths != null)
+ {
+ IncludedPaths = new List();
+ foreach (IncludedPath includedPath in indexingPolicy.IncludedPaths)
+ {
+ IncludedPaths.Add(new PSIncludedPath(includedPath));
+ }
+ }
+
+ if (indexingPolicy.ExcludedPaths != null)
+ {
+ ExcludedPaths = new List();
+ foreach (ExcludedPath excludedPath in indexingPolicy.ExcludedPaths)
+ {
+ ExcludedPaths.Add(new PSExcludedPath(excludedPath));
+ }
+ }
+
+ if (indexingPolicy.CompositeIndexes != null)
+ {
+ CompositeIndexes = new List>();
+ foreach (IList compositePathList in indexingPolicy.CompositeIndexes)
+ {
+ List pSCompositePathList = new List();
+ foreach (CompositePath compositePath in compositePathList)
+ {
+ pSCompositePathList.Add(new PSCompositePath(compositePath));
+ }
+ CompositeIndexes.Add(pSCompositePathList);
+ }
+ }
+
+ if (indexingPolicy.SpatialIndexes != null)
+ {
+ SpatialIndexes = new List();
+ foreach (SpatialSpec spatialSpec in indexingPolicy.SpatialIndexes)
+ {
+ SpatialIndexes.Add(new PSSpatialSpec(spatialSpec));
+ }
+ }
+ }
+
+ //
+ // Summary:
+ // Gets or sets indicates if the indexing policy is automatic
+ public bool? Automatic { get; set; }
+ //
+ // Summary:
+ // Gets or sets indicates the indexing mode. Possible values include: 'Consistent',
+ // 'Lazy', 'None'
+ public string IndexingMode { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of paths to include in the indexing
+ public IList IncludedPaths { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of paths to exclude from indexing
+ public IList ExcludedPaths { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of composite path list
+ public IList> CompositeIndexes { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of spatial specifics
+ public IList SpatialIndexes { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetPropertiesResource.cs
new file mode 100644
index 000000000000..7efc4f992e3a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetPropertiesResource.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSMongoDBCollectionGetPropertiesResource
+ {
+ public PSMongoDBCollectionGetPropertiesResource(MongoDBCollectionGetPropertiesResource mongoDBCollectionGetPropertiesResource)
+ {
+ List psMongoIndex = new List();
+ if (mongoDBCollectionGetPropertiesResource.Indexes != null)
+ {
+ foreach (MongoIndex mongoIndex in mongoDBCollectionGetPropertiesResource.Indexes)
+ {
+ psMongoIndex.Add(new PSMongoIndex(mongoIndex));
+ }
+ }
+
+ Indexes = psMongoIndex;
+ _rid = mongoDBCollectionGetPropertiesResource._rid;
+ _ts = mongoDBCollectionGetPropertiesResource._ts;
+ _etag = mongoDBCollectionGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB MongoDB collection
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets a key-value pair of shard keys to be applied for the request.
+ public IDictionary ShardKey { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of index keys
+ public IList Indexes { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs
new file mode 100644
index 000000000000..2b9f43974ef7
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs
@@ -0,0 +1,55 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using System;
+ using System.Collections.Generic;
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSMongoDBCollectionGetResults
+ {
+ public PSMongoDBCollectionGetResults()
+ {
+ }
+
+ public PSMongoDBCollectionGetResults(MongoDBCollectionGetResults mongoDBCollectionGetResults)
+ {
+ Name = mongoDBCollectionGetResults.Name;
+ Id = mongoDBCollectionGetResults.Id;
+ Location = mongoDBCollectionGetResults.Location;
+ Tags = mongoDBCollectionGetResults.Tags;
+ Resource = new PSMongoDBCollectionGetPropertiesResource(mongoDBCollectionGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB MongoDB Collection
+ ///
+ public string Name { get; set; }
+ ///
+ /// Gets or sets Id of the Cosmos DB MongoDB Collection
+ ///
+ public string Id { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB MongoDB Collection
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB MongoDB Collection
+ ///
+ public IDictionary Tags { get; set; }
+ //
+ public PSMongoDBCollectionGetPropertiesResource Resource { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetPropertiesResource.cs
new file mode 100644
index 000000000000..982e7c5dc4ac
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetPropertiesResource.cs
@@ -0,0 +1,52 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSMongoDBDatabaseGetPropertiesResource
+ {
+ public PSMongoDBDatabaseGetPropertiesResource()
+ {
+ }
+
+ public PSMongoDBDatabaseGetPropertiesResource(MongoDBDatabaseGetPropertiesResource mongoDBDatabaseGetPropertiesResource)
+ {
+ Id = mongoDBDatabaseGetPropertiesResource.Id;
+ _rid = mongoDBDatabaseGetPropertiesResource._rid;
+ _ts = mongoDBDatabaseGetPropertiesResource._ts;
+ _etag = mongoDBDatabaseGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB MongoDB database
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs
new file mode 100644
index 000000000000..24617007da3a
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs
@@ -0,0 +1,54 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+ using System.Collections.Generic;
+
+ public class PSMongoDBDatabaseGetResults
+ {
+ public PSMongoDBDatabaseGetResults()
+ {
+ }
+
+ public PSMongoDBDatabaseGetResults(MongoDBDatabaseGetResults mongoDBDatabaseGetResults)
+ {
+ Name = mongoDBDatabaseGetResults.Name;
+ Id = mongoDBDatabaseGetResults.Id;
+ Location = mongoDBDatabaseGetResults.Location;
+ Tags = mongoDBDatabaseGetResults.Tags;
+ Resource = new PSMongoDBDatabaseGetPropertiesResource(mongoDBDatabaseGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB MongoDB database
+ ///
+ public string Name { get; set; }
+ ///
+ /// Gets or sets Id of the Cosmos DB MongoDB database
+ ///
+ public string Id { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB MongoDB database
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB MongoDB database
+ ///
+ public IDictionary Tags { get; set; }
+ //
+ public PSMongoDBDatabaseGetPropertiesResource Resource { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs b/src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs
new file mode 100644
index 000000000000..27dd97fefc75
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs
@@ -0,0 +1,57 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSMongoIndex
+ {
+ public PSMongoIndex()
+ {
+ }
+
+ public PSMongoIndex(MongoIndex mongoIndex)
+ {
+ Key = new PSMongoIndexKeys(mongoIndex.Key);
+ Options = new PSMongoIndexOptions(mongoIndex.Options);
+ }
+
+ static public MongoIndex ConvertPSMongoIndexToMongoIndex(PSMongoIndex psMongoIndex)
+ {
+ MongoIndex mongoIndex = new MongoIndex();
+
+ if(psMongoIndex.Key != null)
+ {
+ mongoIndex.Key = PSMongoIndexKeys.ConvertPSMongoIndexKeysToMongoIndexKeys(psMongoIndex.Key);
+ }
+
+ if(psMongoIndex.Options != null)
+ {
+ mongoIndex.Options = PSMongoIndexOptions.CovertPSMongoIndexOptionsToMongoIndexOptions(psMongoIndex.Options);
+ }
+
+ return mongoIndex;
+ }
+
+ //
+ // Summary:
+ // Gets or sets cosmos DB MongoDB collection index keys
+ public PSMongoIndexKeys Key { get; set; }
+ //
+ // Summary:
+ // Gets or sets cosmos DB MongoDB collection index key options
+ public PSMongoIndexOptions Options { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoIndexKeys.cs b/src/CosmosDB/CosmosDB/Models/PSMongoIndexKeys.cs
new file mode 100644
index 000000000000..9855cc015ecc
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoIndexKeys.cs
@@ -0,0 +1,42 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSMongoIndexKeys
+ {
+ public PSMongoIndexKeys()
+ {
+ }
+
+ public PSMongoIndexKeys(MongoIndexKeys mongoIndexKeys)
+ {
+ Keys = mongoIndexKeys.Keys;
+ }
+
+ static public MongoIndexKeys ConvertPSMongoIndexKeysToMongoIndexKeys(PSMongoIndexKeys psMongoIndexKeys)
+ {
+ return new MongoIndexKeys{ Keys = psMongoIndexKeys.Keys };
+ }
+
+ //
+ // Summary:
+ // Gets or sets list of keys for each MongoDB collection in the Azure Cosmos DB
+ // service
+ public IList Keys { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoIndexOptions.cs b/src/CosmosDB/CosmosDB/Models/PSMongoIndexOptions.cs
new file mode 100644
index 000000000000..46aa2cc4ec1d
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSMongoIndexOptions.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSMongoIndexOptions
+ {
+ public PSMongoIndexOptions()
+ {
+ }
+
+ public PSMongoIndexOptions(MongoIndexOptions mongoIndexOptions)
+ {
+ ExpireAfterSeconds = mongoIndexOptions.ExpireAfterSeconds;
+ Unique = mongoIndexOptions.Unique;
+ }
+
+ static public MongoIndexOptions CovertPSMongoIndexOptionsToMongoIndexOptions(PSMongoIndexOptions psMongoIndexOptions)
+ {
+ return new MongoIndexOptions
+ {
+ ExpireAfterSeconds = psMongoIndexOptions.ExpireAfterSeconds,
+ Unique = psMongoIndexOptions.Unique
+ };
+ }
+
+ //
+ // Summary:
+ // Gets or sets expire after seconds
+ public int? ExpireAfterSeconds { get; set; }
+ //
+ // Summary:
+ // Gets or sets is unique or not
+ public bool? Unique { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSSpatialSpec.cs b/src/CosmosDB/CosmosDB/Models/PSSpatialSpec.cs
new file mode 100644
index 000000000000..d01d837724cd
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSpatialSpec.cs
@@ -0,0 +1,43 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSSpatialSpec
+ {
+ public PSSpatialSpec()
+ {
+ }
+
+ public PSSpatialSpec(SpatialSpec indexes )
+ {
+ Path = indexes.Path;
+ Types = indexes.Types;
+ }
+
+ //
+ // Summary:
+ // Gets or sets the path for which the indexing behavior applies to. Index paths
+ // typically start with root and end with wildcard (/path/*)
+ public string Path { get; set; }
+ //
+ // Summary:
+ // Gets or sets list of path's spatial type
+ public IList Types { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs
index f3cca74cac27..cc93347fe6ba 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs
@@ -12,31 +12,19 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Management.CosmosDB.Models;
+
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
-
- public class PSSqlConflictResolutionPolicy
+ // This class was added to avoid breaking changes in consecutive versions, it should be eventually removed
+ public class PSSqlConflictResolutionPolicy : PSConflictResolutionPolicy
{
- public PSSqlConflictResolutionPolicy()
- {
- }
-
- public PSSqlConflictResolutionPolicy(string type)
+ public PSSqlConflictResolutionPolicy() : base()
{
- Type = type;
}
- public PSSqlConflictResolutionPolicy(string type, string path, string conflictResolutionProcedure)
+ public PSSqlConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy) : base(conflictResolutionPolicy)
{
- Type = type;
- Path = path;
- ConflictResolutionProcedure = conflictResolutionProcedure;
}
-
- public string Type { get; set; }
-
- public string Path { get; set; }
-
- public string ConflictResolutionProcedure { get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetPropertiesResource.cs
new file mode 100644
index 000000000000..8dbce56df08b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetPropertiesResource.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSSqlContainerGetPropertiesResource
+ {
+ public PSSqlContainerGetPropertiesResource()
+ {
+ }
+
+ public PSSqlContainerGetPropertiesResource(SqlContainerGetPropertiesResource sqlContainerGetPropertiesResource)
+ {
+ Id = sqlContainerGetPropertiesResource.Id;
+ IndexingPolicy = new PSIndexingPolicy(sqlContainerGetPropertiesResource.IndexingPolicy);
+ PartitionKey = new PSContainerPartitionKey(sqlContainerGetPropertiesResource.PartitionKey);
+ DefaultTtl = sqlContainerGetPropertiesResource.DefaultTtl;
+ UniqueKeyPolicy = new PSUniqueKeyPolicy(sqlContainerGetPropertiesResource.UniqueKeyPolicy);
+ ConflictResolutionPolicy = new PSConflictResolutionPolicy(sqlContainerGetPropertiesResource.ConflictResolutionPolicy);
+ _rid = sqlContainerGetPropertiesResource._rid;
+ _ts = sqlContainerGetPropertiesResource._ts;
+ _etag = sqlContainerGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB SQL container
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets the configuration of the indexing policy. By default, the indexing
+ // is automatic for all document paths within the container
+ public PSIndexingPolicy IndexingPolicy { get; set; }
+ //
+ // Summary:
+ // Gets or sets the configuration of the partition key to be used for partitioning
+ // data into multiple partitions
+ public PSContainerPartitionKey PartitionKey { get; set; }
+ //
+ // Summary:
+ // Gets or sets default time to live
+ public int? DefaultTtl { get; set; }
+ //
+ // Summary:
+ // Gets or sets the unique key policy configuration for specifying uniqueness constraints
+ // on documents in the collection in the Azure Cosmos DB service.
+ public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; }
+ //
+ // Summary:
+ // Gets or sets the conflict resolution policy for the container.
+ public PSConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetResults.cs
index 2a516e3bedca..5e026d9d4b0b 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlContainerGetResults.cs
@@ -14,7 +14,7 @@
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- using System;
+ using System.Collections.Generic;
using Microsoft.Azure.Management.CosmosDB.Models;
public class PSSqlContainerGetResults
@@ -27,15 +27,9 @@ public PSSqlContainerGetResults(SqlContainerGetResults sqlContainerGetResults)
{
Name = sqlContainerGetResults.Name;
Id = sqlContainerGetResults.Id;
- SqlContainerGetResultsId = sqlContainerGetResults.SqlContainerGetResultsId;
- IndexingPolicy = sqlContainerGetResults.IndexingPolicy;
- PartitionKey = sqlContainerGetResults.PartitionKey;
- DefaultTtl = sqlContainerGetResults.DefaultTtl;
- UniqueKeyPolicy = sqlContainerGetResults.UniqueKeyPolicy;
- ConflictResolutionPolicy = sqlContainerGetResults.ConflictResolutionPolicy;
- _rid = sqlContainerGetResults._rid;
- _ts = sqlContainerGetResults._ts;
- _etag = sqlContainerGetResults._etag;
+ Location = sqlContainerGetResults.Location;
+ Tags = sqlContainerGetResults.Tags;
+ Resource = new PSSqlContainerGetPropertiesResource(sqlContainerGetResults.Resource);
}
///
@@ -49,55 +43,15 @@ public PSSqlContainerGetResults(SqlContainerGetResults sqlContainerGetResults)
public string Id { get; set; }
///
- /// Gets or sets name of the Cosmos DB SQL container
+ /// Gets or sets Location of the Cosmos DB SQL container
///
- public string SqlContainerGetResultsId { get; set; }
+ public string Location { get; set; }
///
- /// Gets or sets the configuration of the indexing policy. By default,
- /// the indexing is automatic for all document paths within the
- /// container
+ /// Gets or sets Tags of the Cosmos DB SQL container
///
- public IndexingPolicy IndexingPolicy { get; set; }
+ public IDictionary Tags { get; set; }
- ///
- /// Gets or sets the configuration of the partition key to be used for
- /// partitioning data into multiple partitions
- ///
- public ContainerPartitionKey PartitionKey { get; set; }
-
- ///
- /// Gets or sets default time to live
- ///
- public int? DefaultTtl { get; set; }
-
- ///
- /// Gets or sets the unique key policy configuration for specifying
- /// uniqueness constraints on documents in the collection in the Azure
- /// Cosmos DB service.
- ///
- public UniqueKeyPolicy UniqueKeyPolicy { get; set; }
-
- ///
- /// Gets or sets the conflict resolution policy for the container.
- ///
- public ConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
-
- ///
- /// Gets or sets a system generated property. A unique identifier.
- ///
- public string _rid { get; set; }
-
- ///
- /// Gets or sets a system generated property that denotes the last updated
- /// timestamp of the resource.
- ///
- public object _ts { get; set; }
-
- ///
- /// Gets or sets a system generated property representing the resource etag
- /// required for optimistic concurrency control.
- ///
- public string _etag { get; set; }
+ public PSSqlContainerGetPropertiesResource Resource { get; set; }
}
}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetPropertiesResource.cs
new file mode 100644
index 000000000000..a4d614938198
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetPropertiesResource.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSSqlDatabaseGetPropertiesResource
+ {
+ public PSSqlDatabaseGetPropertiesResource()
+ {
+ }
+
+ public PSSqlDatabaseGetPropertiesResource(SqlDatabaseGetPropertiesResource sqlDatabaseGetPropertiesResource)
+ {
+ Id = sqlDatabaseGetPropertiesResource.Id;
+ _rid = sqlDatabaseGetPropertiesResource._rid;
+ _ts = sqlDatabaseGetPropertiesResource._ts;
+ _etag = sqlDatabaseGetPropertiesResource._etag;
+ _colls = sqlDatabaseGetPropertiesResource._colls;
+ _users = sqlDatabaseGetPropertiesResource._users;
+ }
+
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB SQL database
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; set; }
+ //
+ // Summary:
+ // Gets or sets a system generated property that specified the addressable path
+ // of the collections resource.
+ public string _colls { get; set; }
+ //
+ // Summary:
+ // Gets or sets a system generated property that specifies the addressable path
+ // of the users resource.
+ public string _users { get; set; }
+
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetResults.cs
index 5524fa911006..5330c20f4945 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetResults.cs
@@ -14,7 +14,7 @@
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- using System;
+ using System.Collections.Generic;
using Microsoft.Azure.Management.CosmosDB.Models;
public class PSSqlDatabaseGetResults
@@ -27,12 +27,9 @@ public PSSqlDatabaseGetResults(SqlDatabaseGetResults sqlDatabaseGetResults)
{
Name = sqlDatabaseGetResults.Name;
Id = sqlDatabaseGetResults.Id;
- SqlDatabaseGetResultsId = sqlDatabaseGetResults.SqlDatabaseGetResultsId;
- _rid = sqlDatabaseGetResults._rid;
- _ts = sqlDatabaseGetResults._ts;
- _etag = sqlDatabaseGetResults._etag;
- _colls = sqlDatabaseGetResults._colls;
- _users = sqlDatabaseGetResults._users;
+ Location = sqlDatabaseGetResults.Location;
+ Tags = sqlDatabaseGetResults.Tags;
+ Resource = new PSSqlDatabaseGetPropertiesResource(sqlDatabaseGetResults.Resource);
}
///
@@ -46,37 +43,16 @@ public PSSqlDatabaseGetResults(SqlDatabaseGetResults sqlDatabaseGetResults)
public string Id { get; set; }
///
- /// Gets or sets name of the Cosmos DB SQL database
+ /// Gets or sets Location of the Cosmos DB SQL database
///
- public string SqlDatabaseGetResultsId { get; set; }
+ public string Location { get; set; }
///
- /// Gets a system generated property. A unique identifier.
+ /// Gets or sets Tags of the Cosmos DB SQL database
///
- public string _rid { get; set; }
+ public IDictionary Tags { get; set; }
- ///
- /// Gets a system generated property that denotes the last updated
- /// timestamp of the resource.
- ///
- public object _ts { get; set; }
-
- ///
- /// Gets a system generated property representing the resource etag
- /// required for optimistic concurrency control.
- ///
- public string _etag { get; set; }
+ public PSSqlDatabaseGetPropertiesResource Resource { get; set; }
- ///
- /// Gets or sets a system generated property that specified the
- /// addressable path of the collections resource.
- ///
- public string _colls { get; set; }
-
- ///
- /// Gets or sets a system generated property that specifies the
- /// addressable path of the users resource.
- ///
- public string _users { get; set; }
}
}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs
index 9f28bc9f76db..6d851fdad1d2 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs
@@ -13,43 +13,17 @@
// ----------------------------------------------------------------------------------
using Microsoft.Azure.Management.CosmosDB.Models;
-using System.Collections.Generic;
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- public class PSSqlIndexingPolicy
+ public class PSSqlIndexingPolicy : PSIndexingPolicy
{
- public PSSqlIndexingPolicy()
+ public PSSqlIndexingPolicy() : base()
{
}
- public PSSqlIndexingPolicy(string[] includedPaths, string[] excludedPaths, bool? automatic, string indexingMode)
+ public PSSqlIndexingPolicy(IndexingPolicy indexingPolicy) : base(indexingPolicy)
{
- IncludedPaths = includedPaths;
- ExcludedPaths = excludedPaths;
- Automatic = automatic;
- IndexingMode = indexingMode;
}
-
- ///
- /// Gets or sets indicates if the indexing policy is automatic
- ///
- public bool? Automatic { get; set; }
-
- ///
- /// Gets or sets indicates the indexing mode. Possible values include:
- /// 'Consistent', 'Lazy', 'None'
- ///
- public string IndexingMode { get; set; }
-
- ///
- /// Gets or sets list of paths to include in the indexing
- ///
- public string[] IncludedPaths { get; set; }
-
- ///
- /// Gets or sets list of paths to exclude from indexing
- ///
- public string[] ExcludedPaths { get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetPropertiesResource.cs
new file mode 100644
index 000000000000..b61bfa39dcea
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetPropertiesResource.cs
@@ -0,0 +1,58 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSSqlStoredProcedureGetPropertiesResource
+ {
+ public PSSqlStoredProcedureGetPropertiesResource()
+ {
+ }
+
+ public PSSqlStoredProcedureGetPropertiesResource(SqlStoredProcedureGetPropertiesResource sqlStoredProcedureGetPropertiesResource)
+ {
+ Id = sqlStoredProcedureGetPropertiesResource.Id;
+ Body = sqlStoredProcedureGetPropertiesResource.Body;
+ _rid = sqlStoredProcedureGetPropertiesResource._rid;
+ _ts = sqlStoredProcedureGetPropertiesResource._ts;
+ _etag = sqlStoredProcedureGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB SQL storedProcedure
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets body of the Stored Procedure
+ public string Body { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; set; }
+
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetResults.cs
index d4ef1748cea5..fab3869c0eca 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetResults.cs
@@ -14,8 +14,8 @@
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- using System;
using Microsoft.Azure.Management.CosmosDB.Models;
+ using System.Collections.Generic;
public class PSSqlStoredProcedureGetResults
{
@@ -27,48 +27,28 @@ public PSSqlStoredProcedureGetResults(SqlStoredProcedureGetResults sqlStoredProc
{
Name = sqlStoredProcedureGetResults.Name;
Id = sqlStoredProcedureGetResults.Id;
- SqlStoredProcedureGetResultsId = sqlStoredProcedureGetResults.SqlStoredProcedureGetResultsId;
- Body = sqlStoredProcedureGetResults.Body;
- _rid = sqlStoredProcedureGetResults._rid;
- _ts = sqlStoredProcedureGetResults._ts;
- _etag = sqlStoredProcedureGetResults._etag;
+ Location = sqlStoredProcedureGetResults.Location;
+ Tags = sqlStoredProcedureGetResults.Tags;
+ Resource = new PSSqlStoredProcedureGetPropertiesResource(sqlStoredProcedureGetResults.Resource);
}
///
/// Gets or sets Name the Cosmos DB SQL storedProcedure
///
public string Name { get; set; }
-
///
/// Gets or sets Id of the Cosmos DB SQL storedProcedure
///
public string Id { get; set; }
-
- ///
- /// Gets or sets name of the Cosmos DB SQL storedProcedure
- ///
- public string SqlStoredProcedureGetResultsId { get; set; }
-
- ///
- /// Gets or sets body of the Stored Procedure
- ///
- public string Body { get; set; }
-
- ///
- /// Gets a system generated property. A unique identifier.
- ///
- public string _rid { get; set; }
-
///
- /// Gets a system generated property that denotes the last updated
- /// timestamp of the resource.
+ /// Gets or sets Location of the Cosmos DB SQL storedProcedure
///
- public object _ts { get; set; }
-
+ public string Location { get; set; }
///
- /// Gets a system generated property representing the resource etag
- /// required for optimistic concurrency control.
+ /// Gets or sets Tags of the Cosmos DB SQL storedProcedure
///
- public string _etag { get; set; }
+ public IDictionary Tags { get; set; }
+ //
+ public PSSqlStoredProcedureGetPropertiesResource Resource { get; set; }
}
}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetPropertiesResource.cs
new file mode 100644
index 000000000000..9493b05c1c84
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetPropertiesResource.cs
@@ -0,0 +1,70 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSSqlTriggerGetPropertiesResource
+ {
+ public PSSqlTriggerGetPropertiesResource()
+ {
+ }
+
+ public PSSqlTriggerGetPropertiesResource(SqlTriggerGetPropertiesResource sqlTriggerGetPropertiesResource)
+ {
+ Id = sqlTriggerGetPropertiesResource.Id;
+ Body = sqlTriggerGetPropertiesResource.Body;
+ TriggerType = sqlTriggerGetPropertiesResource.TriggerType;
+ TriggerOperation = sqlTriggerGetPropertiesResource.TriggerOperation;
+ _rid = sqlTriggerGetPropertiesResource._rid;
+ _ts = sqlTriggerGetPropertiesResource._ts;
+ _etag = sqlTriggerGetPropertiesResource._etag;
+ }
+
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB SQL trigger
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets body of the Trigger
+ public string Body { get; set; }
+ //
+ // Summary:
+ // Gets or sets type of the Trigger. Possible values include: 'Pre', 'Post'
+ public string TriggerType { get; set; }
+ //
+ // Summary:
+ // Gets or sets the operation the trigger is associated with. Possible values include:
+ // 'All', 'Create', 'Update', 'Delete', 'Replace'
+ public string TriggerOperation { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; set; }
+
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetResults.cs
index bab5b6d42983..0ed32e8d9a76 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetResults.cs
@@ -15,6 +15,7 @@
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
using Microsoft.Azure.Management.CosmosDB.Models;
+ using System.Collections.Generic;
public class PSSqlTriggerGetResults
{
@@ -26,62 +27,28 @@ public PSSqlTriggerGetResults(SqlTriggerGetResults sqlTriggerGetResults)
{
Name = sqlTriggerGetResults.Name;
Id = sqlTriggerGetResults.Id;
- SqlTriggerGetResultsId = sqlTriggerGetResults.SqlTriggerGetResultsId;
- Body = sqlTriggerGetResults.Body;
- TriggerType = sqlTriggerGetResults.TriggerType;
- TriggerOperation = sqlTriggerGetResults.TriggerOperation;
- _rid = sqlTriggerGetResults._rid;
- _ts = sqlTriggerGetResults._ts;
- _etag = sqlTriggerGetResults._etag;
+ Location = sqlTriggerGetResults.Location;
+ Tags = sqlTriggerGetResults.Tags;
+ Resource = new PSSqlTriggerGetPropertiesResource(sqlTriggerGetResults.Resource);
}
///
/// Gets or sets Name the Cosmos DB SQL Trigger
///
public string Name { get; set; }
-
///
/// Gets or sets Id of the Cosmos DB SQL Trigger
///
public string Id { get; set; }
-
- ///
- /// Gets or sets name of the Cosmos DB SQL trigger
- ///
- public string SqlTriggerGetResultsId { get; set; }
-
- ///
- /// Gets or sets body of the Trigger
- ///
- public string Body { get; set; }
-
- ///
- /// Gets or sets type of the Trigger. Possible values include: 'Pre',
- /// 'Post'
- ///
- public string TriggerType { get; set; }
-
- ///
- /// Gets or sets the operation the trigger is associated with. Possible
- /// values include: 'All', 'Create', 'Update', 'Delete', 'Replace'
- ///
- public string TriggerOperation { get; set; }
-
///
- /// Gets a system generated property. A unique identifier.
+ /// Gets or sets Location of the Cosmos DB SQL Trigger
///
- public string _rid { get; set; }
-
- ///
- /// Gets a system generated property that denotes the last updated
- /// timestamp of the resource.
- ///
- public object _ts { get; set; }
-
+ public string Location { get; set; }
///
- /// Gets a system generated property representing the resource etag
- /// required for optimistic concurrency control.
+ /// Gets or sets Tags of the Cosmos DB SQL Trigger
///
- public string _etag { get; set; }
+ public IDictionary Tags { get; set; }
+ //
+ public PSSqlTriggerGetPropertiesResource Resource { get; set; }
}
}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs
index 5da3a89f1994..2e9268974f61 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs
@@ -12,22 +12,18 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Management.CosmosDB.Models;
+
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- public class PSSqlUniqueKey
+ public class PSSqlUniqueKey : PSUniqueKey
{
- public PSSqlUniqueKey()
+ public PSSqlUniqueKey() : base()
{
}
- public PSSqlUniqueKey(string[] path)
+ public PSSqlUniqueKey(UniqueKey uniqueKey) : base(uniqueKey)
{
- Path = path;
}
-
- ///
- /// Gets or sets the Path for the UniqueKey
- ///
- public string[] Path { get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs
index 55f35d641452..18c7fcb949ec 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs
@@ -11,23 +11,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Management.CosmosDB.Models;
+
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
- public class PSSqlUniqueKeyPolicy
+ public class PSSqlUniqueKeyPolicy : PSUniqueKeyPolicy
{
- public PSSqlUniqueKeyPolicy()
+ public PSSqlUniqueKeyPolicy() : base()
{
}
- public PSSqlUniqueKeyPolicy(PSSqlUniqueKey[] uniqueKey)
+ public PSSqlUniqueKeyPolicy(UniqueKeyPolicy uniqueKey) : base(uniqueKey)
{
- UniqueKey = uniqueKey;
}
-
- ///
- /// Gets or sets the UniqueKey for the SqlUniqueKeyPolicy
- ///
- public PSSqlUniqueKey[] UniqueKey { get; set; }
}
}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetPropertiesResource.cs
new file mode 100644
index 000000000000..3c10ee2fe4e6
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetPropertiesResource.cs
@@ -0,0 +1,57 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ using Microsoft.Azure.Management.CosmosDB.Models;
+
+ public class PSSqlUserDefinedFunctionGetPropertiesResource
+ {
+ public PSSqlUserDefinedFunctionGetPropertiesResource()
+ {
+ }
+
+ public PSSqlUserDefinedFunctionGetPropertiesResource(SqlUserDefinedFunctionGetPropertiesResource sqlUserDefinedFunctionGetPropertiesResource)
+ {
+ Id = sqlUserDefinedFunctionGetPropertiesResource.Id;
+ Body = sqlUserDefinedFunctionGetPropertiesResource.Body;
+ _rid = sqlUserDefinedFunctionGetPropertiesResource._rid;
+ _ts = sqlUserDefinedFunctionGetPropertiesResource._ts;
+ _etag = sqlUserDefinedFunctionGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB SQL userDefinedFunction
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets or sets body of the User Defined Function
+ public string Body { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetResults.cs
index 1458c2541d07..cc5f0c8a2007 100644
--- a/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetResults.cs
@@ -15,6 +15,7 @@
namespace Microsoft.Azure.Commands.CosmosDB.Models
{
using System;
+ using System.Collections.Generic;
using Microsoft.Azure.Management.CosmosDB.Models;
public class PSSqlUserDefinedFunctionGetResults
@@ -27,11 +28,9 @@ public PSSqlUserDefinedFunctionGetResults(SqlUserDefinedFunctionGetResults sqlUs
{
Name = sqlUserDefinedFunctionGetResults.Name;
Id = sqlUserDefinedFunctionGetResults.Id;
- SqlUserDefinedFunctionGetResultsId = sqlUserDefinedFunctionGetResults.SqlUserDefinedFunctionGetResultsId;
- Body = sqlUserDefinedFunctionGetResults.Body;
- _rid = sqlUserDefinedFunctionGetResults._rid;
- _ts = sqlUserDefinedFunctionGetResults._ts;
- _etag = sqlUserDefinedFunctionGetResults._etag;
+ Location = sqlUserDefinedFunctionGetResults.Location;
+ Tags = sqlUserDefinedFunctionGetResults.Tags;
+ Resource = new PSSqlUserDefinedFunctionGetPropertiesResource(sqlUserDefinedFunctionGetResults.Resource);
}
///
@@ -43,32 +42,16 @@ public PSSqlUserDefinedFunctionGetResults(SqlUserDefinedFunctionGetResults sqlUs
/// Gets or sets Id of the User Defined Function
///
public string Id { get; set; }
-
- ///
- /// Gets or sets name of the Cosmos DB SQL userDefinedFunction
- ///
- public string SqlUserDefinedFunctionGetResultsId { get; set; }
-
- ///
- /// Gets or sets body of the User Defined Function
- ///
- public string Body { get; set; }
-
///
- /// Gets a system generated property. A unique identifier.
+ /// Gets or sets Location of the Cosmos DB SQL User Defined Function
///
- public string _rid { get; set; }
-
+ public string Location { get; set; }
///
- /// Gets a system generated property that denotes the last updated
- /// timestamp of the resource.
+ /// Gets or sets Tags of the Cosmos DB SQL User Defined Function
///
- public object _ts { get; set; }
+ public IDictionary Tags { get; set; }
+ //
+ public PSSqlUserDefinedFunctionGetPropertiesResource Resource { get; set; }
- ///
- /// Gets a system generated property representing the resource etag
- /// required for optimistic concurrency control.
- ///
- public string _etag { get; set; }
}
}
diff --git a/src/CosmosDB/CosmosDB/Models/PSTableGetPropertiesResource.cs b/src/CosmosDB/CosmosDB/Models/PSTableGetPropertiesResource.cs
new file mode 100644
index 000000000000..ba202f3e4f65
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSTableGetPropertiesResource.cs
@@ -0,0 +1,52 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSTableGetPropertiesResource
+ {
+ public PSTableGetPropertiesResource()
+ {
+ }
+
+ public PSTableGetPropertiesResource(TableGetPropertiesResource tableGetPropertiesResource)
+ {
+ Id = tableGetPropertiesResource.Id;
+ _rid = tableGetPropertiesResource._rid;
+ _ts = tableGetPropertiesResource._ts;
+ _etag = tableGetPropertiesResource._etag;
+ }
+
+ //
+ // Summary:
+ // Gets or sets name of the Cosmos DB table
+ public string Id { get; set; }
+ //
+ // Summary:
+ // Gets a system generated property. A unique identifier.
+ public string _rid { get; }
+ //
+ // Summary:
+ // Gets a system generated property that denotes the last updated timestamp of the
+ // resource.
+ public object _ts { get; }
+ //
+ // Summary:
+ // Gets a system generated property representing the resource etag required for
+ // optimistic concurrency control.
+ public string _etag { get; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs
new file mode 100644
index 000000000000..48e1e2bf3702
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs
@@ -0,0 +1,54 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSTableGetResults
+ {
+ public PSTableGetResults()
+ {
+ }
+
+ public PSTableGetResults(TableGetResults tableGetResults)
+ {
+ Name = tableGetResults.Name;
+ Id = tableGetResults.Id;
+ Location = tableGetResults.Location;
+ Tags = tableGetResults.Tags;
+ Resource = new PSTableGetPropertiesResource(tableGetResults.Resource);
+ }
+
+ ///
+ /// Gets or sets Name of the Cosmos DB Table
+ ///
+ public string Name { get; set; }
+ ///
+ /// Gets or sets Id of the Cosmos DB Table
+ ///
+ public string Id { get; set; }
+ ///
+ /// Gets or sets Location of the Cosmos DB Table
+ ///
+ public string Location { get; set; }
+ ///
+ /// Gets or sets Tags of the Cosmos DB Table
+ ///
+ public IDictionary Tags { get; set; }
+ //
+ public PSTableGetPropertiesResource Resource { get; set; }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Models/PSThroughputSettingsGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSThroughputSettingsGetResults.cs
index fed2a58975b6..aba2569eff1e 100644
--- a/src/CosmosDB/CosmosDB/Models/PSThroughputSettingsGetResults.cs
+++ b/src/CosmosDB/CosmosDB/Models/PSThroughputSettingsGetResults.cs
@@ -26,9 +26,9 @@ public PSThroughputSettingsGetResults(ThroughputSettingsGetResults throughputSet
{
Name = throughputSettingsGetResults.Name;
Id = throughputSettingsGetResults.Id;
- Throughput = throughputSettingsGetResults.Throughput;
- MinimumThroughput = throughputSettingsGetResults.MinimumThroughput;
- OfferReplacePending = throughputSettingsGetResults.OfferReplacePending;
+ Throughput = throughputSettingsGetResults.Resource.Throughput;
+ MinimumThroughput = throughputSettingsGetResults.Resource.MinimumThroughput;
+ OfferReplacePending = throughputSettingsGetResults.Resource.OfferReplacePending;
}
///
diff --git a/src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs b/src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs
new file mode 100644
index 000000000000..087dc3b16be7
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs
@@ -0,0 +1,36 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+ public class PSUniqueKey
+ {
+ public PSUniqueKey()
+ {
+ }
+
+ public PSUniqueKey(UniqueKey uniqueKey)
+ {
+ Paths = uniqueKey.Paths;
+ }
+
+ ///
+ /// Gets or sets the Path for the UniqueKey
+ ///
+ public IList Paths { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs
new file mode 100644
index 000000000000..e36097d024ca
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs
@@ -0,0 +1,45 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 Microsoft.Azure.Management.CosmosDB.Models;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB.Models
+{
+
+ public class PSUniqueKeyPolicy
+ {
+ public PSUniqueKeyPolicy()
+ {
+ }
+
+ public PSUniqueKeyPolicy(UniqueKeyPolicy uniqueKey)
+ {
+ UniqueKeys = new List();
+ if (uniqueKey.UniqueKeys != null)
+ {
+ foreach (UniqueKey key in uniqueKey.UniqueKeys)
+ {
+ UniqueKeys.Add(new PSUniqueKey(key));
+ }
+ }
+ }
+
+ //
+ // Summary:
+ // Gets or sets list of unique keys on that enforces uniqueness constraint on documents
+ // in the collection in the Azure Cosmos DB service.
+ public IList UniqueKeys { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollection.cs b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollection.cs
new file mode 100644
index 000000000000..8aab7ac7516f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollection.cs
@@ -0,0 +1,85 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Collections.Generic;
+using System.Management.Automation;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBCollection", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSMongoDBCollectionGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBMongoDBCollection : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string AccountName;
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string DatabaseName;
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CollectionNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.MongoDatabaseObjectHelpMessage )]
+ [ValidateNotNull]
+ public PSMongoDBDatabaseGetResults InputObject{ get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoCollectionDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ DatabaseName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ MongoDBCollectionGetResults mongoDBCollectionGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBCollectionWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSMongoDBCollectionGetResults(mongoDBCollectionGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBCollectionThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable mongoDBCollections = CosmosDBManagementClient.MongoDBResources.ListMongoDBCollectionsWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName).GetAwaiter().GetResult().Body;
+
+ foreach(MongoDBCollectionGetResults mongoDBCollection in mongoDBCollections)
+ WriteObject(new PSMongoDBCollectionGetResults(mongoDBCollection));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollectionThroughput.cs b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollectionThroughput.cs
new file mode 100644
index 000000000000..88941bb85c62
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollectionThroughput.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.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;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBCollectionThroughput", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBMongoDBCollectionThroughput : 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, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.MongoCollectionDetailedParamHelpMessage)]
+ [ValidateNotNull]
+ public PSMongoDBCollectionGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ DatabaseName = ResourceIdentifierExtensions.GetMongoDBDatabaseName(resourceIdentifier);
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBCollectionThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabase.cs b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabase.cs
new file mode 100644
index 000000000000..f2c55472fa14
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabase.cs
@@ -0,0 +1,81 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using System.Threading.Tasks;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBDatabase", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSMongoDBDatabaseGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBMongoDBDatabase : 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, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoDatabaseDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ MongoDBDatabaseGetResults mongoDBDatabaseGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSMongoDBDatabaseGetResults(mongoDBDatabaseGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable mongoDBDatabases= CosmosDBManagementClient.MongoDBResources.ListMongoDBDatabasesWithHttpMessagesAsync(ResourceGroupName, AccountName).GetAwaiter().GetResult().Body;
+
+ foreach (MongoDBDatabaseGetResults mongoDBDatabase in mongoDBDatabases)
+ WriteObject(new PSMongoDBDatabaseGetResults(mongoDBDatabase));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabaseThroughput.cs b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabaseThroughput.cs
new file mode 100644
index 000000000000..032d6614316b
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabaseThroughput.cs
@@ -0,0 +1,60 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBDatabaseThroughput", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBMongoDBDatabaseThroughput : 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, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.MongoDBResources.GetMongoDBDatabaseThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/NewAzCosmosDBMongoDBIndex.cs b/src/CosmosDB/CosmosDB/MongoDB/NewAzCosmosDBMongoDBIndex.cs
new file mode 100644
index 000000000000..9254a04d82c9
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/NewAzCosmosDBMongoDBIndex.cs
@@ -0,0 +1,65 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBIndex"), OutputType(typeof(PSMongoIndex))]
+ public class NewAzCosmosDBMongoDBIndex : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoIndexTtlInSeconds)]
+ public int? TtlInSeconds { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoIndexUnique)]
+ public bool? Unique{ get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoIndexKey)]
+ [ValidateNotNullOrEmpty]
+ public string[] Key { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSMongoIndex pSMongoIndex = new PSMongoIndex();
+
+ if(Key != null && Key.Length > 0)
+ {
+ pSMongoIndex.Key = new PSMongoIndexKeys
+ {
+ Keys = new List()
+ };
+
+ foreach (string key in Key)
+ {
+ pSMongoIndex.Key.Keys.Add(key);
+ }
+ }
+
+ if(TtlInSeconds != null || Unique != null )
+ {
+ pSMongoIndex.Options = new PSMongoIndexOptions
+ {
+ ExpireAfterSeconds = TtlInSeconds,
+ Unique = Unique
+ };
+ }
+
+ WriteObject(pSMongoIndex);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBCollection.cs b/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBCollection.cs
new file mode 100644
index 000000000000..9f6311f32d1d
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBCollection.cs
@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Management.Automation;
+using System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBCollection", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBMongoDBCollection : 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 = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.CollectionNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.MongoCollectionObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSMongoDBCollectionGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ 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);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB MongoDB Collection"))
+ {
+ CosmosDBManagementClient.MongoDBResources.DeleteMongoDBCollectionWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBDatabase.cs b/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBDatabase.cs
new file mode 100644
index 000000000000..7683cc708639
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBDatabase.cs
@@ -0,0 +1,73 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBDatabase" , SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBMongoDBDatabase : AzureCosmosDBCmdletBase
+ {
+ [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 Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.MongoDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSMongoDBDatabaseGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB MongoDB Database"))
+ {
+ CosmosDBManagementClient.MongoDBResources.DeleteMongoDBDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs
new file mode 100644
index 000000000000..ae6d03c0f98c
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs
@@ -0,0 +1,113 @@
+// ----------------------------------------------------------------------------------
+//
+// 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(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBCollection", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSMongoDBCollectionGetResults))]
+ public class SetAzCosmosDBMongoDBCollection : 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 = true, HelpMessage = Constants.CollectionNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.SqlContainerThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoShardKeyHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Shard { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoIndexHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSMongoIndex[] Index { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.MongoDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSMongoDBDatabaseGetResults InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ DatabaseName = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ MongoDBCollectionResource mongoDBCollectionResource = new MongoDBCollectionResource
+ {
+ Id = Name
+ };
+
+ if(Shard != null)
+ {
+ mongoDBCollectionResource.ShardKey = new Dictionary { { Shard, "Hash" } };
+ }
+
+ if(Index != null)
+ {
+ List Indexes = new List();
+ foreach(PSMongoIndex psMongoIndex in Index)
+ {
+ Indexes.Add(PSMongoIndex.ConvertPSMongoIndexToMongoIndex(psMongoIndex));
+ }
+
+ mongoDBCollectionResource.Indexes = Indexes;
+ }
+
+ IDictionary options = new Dictionary();
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ MongoDBCollectionCreateUpdateParameters mongoDBCollectionCreateUpdateParameters = new MongoDBCollectionCreateUpdateParameters
+ {
+ Resource = mongoDBCollectionResource,
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB MongoDB Collection"))
+ {
+ MongoDBCollectionGetResults mongoDBCollectionGetResults = CosmosDBManagementClient.MongoDBResources.CreateUpdateMongoDBCollectionWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, mongoDBCollectionCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSMongoDBCollectionGetResults(mongoDBCollectionGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs
new file mode 100644
index 000000000000..1cd489bf0cee
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.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.Collections.Generic;
+using System.Management.Automation;
+using System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+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(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBMongoDBDatabase", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSMongoDBDatabaseGetResults))]
+ public class SetAzCosmosDBMongoDBDatabase : 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, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.MongoDatabaseThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ AccountName = resourceIdentifier.ResourceName;
+ }
+
+ IDictionary options = new Dictionary();
+
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ MongoDBDatabaseCreateUpdateParameters mongoDBDatabaseCreateUpdateParameters = new MongoDBDatabaseCreateUpdateParameters
+ {
+ Resource = new MongoDBDatabaseResource
+ {
+ Id = Name
+ },
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB MongoDB Database"))
+ {
+ MongoDBDatabaseGetResults mongoDBDatabaseGetResults = CosmosDBManagementClient.MongoDBResources.CreateUpdateMongoDBDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, mongoDBDatabaseCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSMongoDBDatabaseGetResults(mongoDBDatabaseGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlCompositePath.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlCompositePath.cs
new file mode 100644
index 000000000000..543d94dbf363
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlCompositePath.cs
@@ -0,0 +1,50 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlCompositePath"), OutputType(typeof(PSCompositePath))]
+ public class NewAzCosmosDBSqlCompositePath : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = Constants.CompositePathHelpMessage)]
+ public string Path { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.CompositePathOrderTypeHelpMessage)]
+ [PSArgumentCompleter("Ascending", "Descending")]
+ public string Order { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSCompositePath pSCompositePath = new PSCompositePath();
+
+ if(Path != null)
+ {
+ pSCompositePath.Path = Path;
+ }
+
+ if(Order != null)
+ {
+ pSCompositePath.Order = Order;
+ }
+
+ WriteObject(pSCompositePath);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs
index d810806f83f1..f51e973a15d8 100644
--- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.CosmosDB
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlConflictResolutionPolicy"), OutputType(typeof(PSSqlConflictResolutionPolicy))]
public class NewAzCosmosDBSqlConflictResolutionPolicy : AzureCosmosDBCmdletBase
{
- [Parameter(Mandatory = true, HelpMessage = Constants.ConflictResolutionPolicyTypeHelpMessage)]
+ [Parameter(Mandatory = true, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)]
[ValidateNotNullOrEmpty]
[PSArgumentCompleter("LastWriterWins", "Custom", "Manual")]
public string Type { get; set; }
@@ -30,16 +30,19 @@ public class NewAzCosmosDBSqlConflictResolutionPolicy : AzureCosmosDBCmdletBase
[Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyPathHelpMessage)]
public string Path { get; set; }
- [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyStoredProcedureNameHelpMessage)]
+ [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyProcedureHelpMessage)]
[ValidateNotNullOrEmpty]
public string ConflictResolutionProcedure { get; set; }
public override void ExecuteCmdlet()
{
- PSSqlConflictResolutionPolicy conflictResolutionPolicy = new PSSqlConflictResolutionPolicy(Type);
+ PSSqlConflictResolutionPolicy conflictResolutionPolicy = new PSSqlConflictResolutionPolicy
+ {
+ Mode = Type
+ };
if (!string.IsNullOrEmpty(Path))
- conflictResolutionPolicy.Path = Path;
+ conflictResolutionPolicy.ConflictResolutionPath = Path;
if (!string.IsNullOrEmpty(ConflictResolutionProcedure))
conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionProcedure;
@@ -49,4 +52,4 @@ public override void ExecuteCmdlet()
}
}
-}
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPath.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPath.cs
new file mode 100644
index 000000000000..8421f1822836
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPath.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIncludedPath"), OutputType(typeof(PSIncludedPath))]
+ public class NewAzCosmosDBSqlIncludedPath : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = Constants.IncludedPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Path { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IncludedPathIndexesHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSIndexes[] Index { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSIncludedPath pSIncludedPath = new PSIncludedPath();
+
+ if (Path != null)
+ pSIncludedPath.Path = Path;
+
+ if(Index != null && Index.Length > 0)
+ {
+ pSIncludedPath.Indexes = new List(Index);
+ }
+
+ WriteObject(pSIncludedPath);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPathIndex.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPathIndex.cs
new file mode 100644
index 000000000000..07a45683d7ec
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPathIndex.cs
@@ -0,0 +1,52 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIncludedPathIndex"), OutputType(typeof(PSIndexes))]
+ public class NewAzCosmosDBSqlIncludedPathIndex : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.IncludedPathIndexesDataTypeHelpMessage)]
+ [PSArgumentCompleter("String", "Number", "Point", "Polygon", "LineString", "MultiPolygon")]
+ [ValidateNotNullOrEmpty]
+ public string DataType { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IncludedPathIndexesPrecisionHelpMessage)]
+ public int? Precision { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.IncludedPathIndexesKindHelpMessage)]
+ [PSArgumentCompleter("Hash", "Range", "Spatial")]
+ [ValidateNotNullOrEmpty]
+ public string Kind { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ PSIndexes pSIndexes = new PSIndexes
+ {
+ DataType = DataType,
+ Precision = Precision,
+ Kind = Kind
+ };
+
+ WriteObject(pSIndexes);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs
index 49eaf91ec991..f1a53d40c54c 100644
--- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs
@@ -16,22 +16,34 @@
using Microsoft.Azure.Commands.CosmosDB.Models;
using Microsoft.Azure.Commands.CosmosDB.Helpers;
using System;
+using System.Collections.Generic;
namespace Microsoft.Azure.Commands.CosmosDB
{
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIndexingPolicy"), OutputType(typeof(PSSqlIndexingPolicy))]
public class NewAzCosmosDBSqlIndexingPolicy : AzureCosmosDBCmdletBase
{
- [Parameter(Mandatory = true, HelpMessage = Constants.IndexingPolicyIncludedPathHelpMessage)]
- public string[] IncludedPath { get; set; }
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIncludedPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSIncludedPath[] IncludedPath { get; set; }
- [Parameter(Mandatory = true, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)]
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicySpatialIndexHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSSpatialSpec[] SpatialSpec { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyCompositePathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public PSCompositePath[][] CompositePath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
public string[] ExcludedPath { get; set; }
[Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyAutomaticHelpMessage)]
public bool? Automatic { get; set; }
- [Parameter(Mandatory = true, HelpMessage = Constants.IndexingPolicyIndexingModeIndexHelpMessage)]
+ [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIndexingModeIndexHelpMessage)]
+ [ValidateNotNullOrEmpty]
public string IndexingMode { get; set; }
public override void ExecuteCmdlet()
@@ -39,10 +51,29 @@ public override void ExecuteCmdlet()
PSSqlIndexingPolicy sqlIndexingPolicy = new PSSqlIndexingPolicy();
if (IncludedPath != null && IncludedPath.Length > 0)
- sqlIndexingPolicy.IncludedPaths = IncludedPath;
+ {
+ sqlIndexingPolicy.IncludedPaths = new List(IncludedPath);
+ }
+
if (ExcludedPath != null && ExcludedPath.Length > 0)
- sqlIndexingPolicy.ExcludedPaths = ExcludedPath;
+ {
+ sqlIndexingPolicy.ExcludedPaths = new List();
+ foreach (string path in ExcludedPath)
+ {
+ sqlIndexingPolicy.ExcludedPaths.Add(new PSExcludedPath{ Path = path });
+ }
+ }
+
+ if(SpatialSpec != null)
+ {
+ sqlIndexingPolicy.SpatialIndexes = SpatialSpec;
+ }
+
+ if(CompositePath != null)
+ {
+ sqlIndexingPolicy.CompositeIndexes = CompositePath;
+ }
sqlIndexingPolicy.Automatic = Automatic;
@@ -53,4 +84,4 @@ public override void ExecuteCmdlet()
return;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlSpatialSpec.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlSpatialSpec.cs
new file mode 100644
index 000000000000..6458214ed6ef
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlSpatialSpec.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlSpatialSpec"), OutputType(typeof(PSSpatialSpec))]
+ public class NewAzCosmosDBSqlSpatialSpec : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = Constants.SpatialPathHelpMessage)]
+ public string Path { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = Constants.SpatialTypeHelpMessage)]
+ public string[] Type { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ IList Types = new List();
+ foreach (string type in Type)
+ {
+ Types.Add(type);
+ }
+
+ PSSpatialSpec pSSpatialSpec = new PSSpatialSpec
+ {
+ Path = Path,
+ Types = Types
+ };
+
+ WriteObject(pSSpatialSpec);
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs
index d0f8480b8659..c1cad83d3332 100644
--- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs
@@ -26,9 +26,13 @@ public class NewAzCosmosDBSqlUniqueKey : AzureCosmosDBCmdletBase
public override void ExecuteCmdlet()
{
- PSSqlUniqueKey uniqueKey = new PSSqlUniqueKey(Path);
+ PSSqlUniqueKey uniqueKey = new PSSqlUniqueKey
+ {
+ Paths = Path
+ };
+
WriteObject(uniqueKey);
return;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs
index e13960d70690..33458e6eca39 100644
--- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs
+++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs
@@ -21,18 +21,18 @@ namespace Microsoft.Azure.Commands.CosmosDB
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKeyPolicy"), OutputType(typeof(PSSqlUniqueKeyPolicy))]
public class NewAzCosmosDBSqlUniqueKeyPolicy : AzureCosmosDBCmdletBase
{
- [Parameter(Mandatory = true, HelpMessage = Constants.DatabaseNameHelpMessage)]
+ [Parameter(Mandatory = true, HelpMessage = Constants.SqlUniqueKeysHelpMessage)]
public PSSqlUniqueKey[] UniqueKey { get; set; }
public override void ExecuteCmdlet()
{
PSSqlUniqueKeyPolicy uniqueKeyPolicy = new PSSqlUniqueKeyPolicy
{
- UniqueKey = UniqueKey
+ UniqueKeys = UniqueKey
};
WriteObject(uniqueKeyPolicy);
return;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs
index a2ea32b23b8b..8ad6d7259d19 100644
--- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs
+++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs
@@ -43,7 +43,7 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase
[ValidateNotNullOrEmpty]
public string Name { get; set; }
- [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.IndexingPolicyHelpMessage)]
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.SqlIndexingPolicyHelpMessage)]
[ValidateNotNull]
public PSSqlIndexingPolicy IndexingPolicy { get; set; }
@@ -63,11 +63,24 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase
[Parameter(Mandatory = false, HelpMessage = Constants.TtlInSecondsHelpMessage)]
public int? TtlInSeconds { get; set; }
- [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.UniqueKeyPolciyHelpMessage)]
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.SqlUniqueKeyPolciyHelpMessage)]
[ValidateNotNull]
public PSSqlUniqueKeyPolicy UniqueKeyPolicy { get; set; }
- [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.ConflictResolutionPolicyHelpMessage)]
+ [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyModeHelpMessage)]
+ [PSArgumentCompleter("Custom", "LastWriterWins", "Manual")]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyMode { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyPathHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyPath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyProcedureHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string ConflictResolutionPolicyProcedure { get; set; }
+
+ [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.SqlConflictResolutionPolicyHelpMessage)]
[ValidateNotNull]
public PSSqlConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
@@ -86,6 +99,7 @@ public override void ExecuteCmdlet()
}
List Paths = new List();
+
foreach (string path in PartitionKeyPath)
Paths.Add(path);
@@ -102,11 +116,23 @@ public override void ExecuteCmdlet()
if (UniqueKeyPolicy != null)
{
- UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy();
+ UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy
+ {
+ UniqueKeys = new List()
+ };
- foreach (PSSqlUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKey)
+ foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys)
{
- UniqueKey key = new UniqueKey(uniqueKey.Path);
+ UniqueKey key = new UniqueKey
+ {
+ Paths = new List()
+ };
+
+ foreach(string path in uniqueKey.Paths)
+ {
+ key.Paths.Add(path);
+ }
+
uniqueKeyPolicy.UniqueKeys.Add(key);
}
@@ -118,44 +144,103 @@ public override void ExecuteCmdlet()
sqlContainerResource.DefaultTtl = TtlInSeconds;
}
- if (ConflictResolutionPolicy != null)
+ if(ConflictResolutionPolicy != null)
+ {
+ ConflictResolutionPolicyMode = ConflictResolutionPolicy.Mode;
+
+ if (ConflictResolutionPolicy.ConflictResolutionPath != null)
+ {
+ ConflictResolutionPolicyPath = ConflictResolutionPolicy.ConflictResolutionPath;
+ }
+
+ if (ConflictResolutionPolicy.ConflictResolutionProcedure != null)
+ {
+ ConflictResolutionPolicyProcedure = ConflictResolutionPolicy.ConflictResolutionProcedure;
+ }
+ }
+
+ if (ConflictResolutionPolicyMode != null)
{
ConflictResolutionPolicy conflictResolutionPolicy = new ConflictResolutionPolicy
{
- Mode = ConflictResolutionPolicy.Type
+ Mode = ConflictResolutionPolicyMode
};
- if (ConflictResolutionPolicy.Type.Equals("LastWriterWins", StringComparison.OrdinalIgnoreCase))
+ if (ConflictResolutionPolicyMode.Equals("LastWriterWins", StringComparison.OrdinalIgnoreCase))
{
- conflictResolutionPolicy.ConflictResolutionPath = ConflictResolutionPolicy.Path;
+ conflictResolutionPolicy.ConflictResolutionPath = ConflictResolutionPolicyPath;
}
- else if (ConflictResolutionPolicy.Type.Equals("Custom", StringComparison.OrdinalIgnoreCase))
+ else if (ConflictResolutionPolicyMode.Equals("Custom", StringComparison.OrdinalIgnoreCase))
{
- conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionPolicy.ConflictResolutionProcedure;
+ conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionPolicyProcedure;
}
sqlContainerResource.ConflictResolutionPolicy = conflictResolutionPolicy;
}
- if(IndexingPolicy != null)
+ if (IndexingPolicy != null)
{
- IList includedPaths = new List();
- IList excludedPaths = new List();
-
- foreach (string path in IndexingPolicy.IncludedPaths)
- includedPaths.Add(new IncludedPath(path: path));
-
- foreach (string path in IndexingPolicy.ExcludedPaths)
- excludedPaths.Add(new ExcludedPath(path: path));
-
IndexingPolicy indexingPolicy = new IndexingPolicy
{
Automatic = IndexingPolicy.Automatic,
IndexingMode = IndexingPolicy.IndexingMode,
- IncludedPaths = includedPaths,
- ExcludedPaths = excludedPaths
};
+ if (IndexingPolicy.IncludedPaths != null)
+ {
+ IList includedPaths = new List();
+ foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths)
+ {
+ includedPaths.Add(new IncludedPath
+ {
+ Path = pSIncludedPath.Path,
+ Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes)
+ });
+ }
+
+ indexingPolicy.IncludedPaths = new List(includedPaths);
+ }
+
+ if (IndexingPolicy.ExcludedPaths != null && IndexingPolicy.ExcludedPaths.Count > 0)
+ {
+ IList excludedPaths = new List();
+ foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths)
+ {
+ excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path });
+ }
+
+ indexingPolicy.ExcludedPaths = new List(excludedPaths);
+ }
+
+ if (IndexingPolicy.CompositeIndexes != null)
+ {
+ IList> compositeIndexes = new List>();
+ foreach (IList pSCompositePathList in IndexingPolicy.CompositeIndexes)
+ {
+ IList compositePathList = new List();
+ foreach (PSCompositePath pSCompositePath in pSCompositePathList)
+ {
+ compositePathList.Add(new CompositePath { Order = pSCompositePath.Order, Path = pSCompositePath.Path });
+ }
+
+ compositeIndexes.Add(compositePathList);
+ }
+
+ indexingPolicy.CompositeIndexes = new List>(compositeIndexes);
+ }
+
+ if (IndexingPolicy.SpatialIndexes != null && IndexingPolicy.SpatialIndexes.Count > 0)
+ {
+ IList spatialIndexes = new List();
+
+ foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes)
+ {
+ spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types });
+ }
+
+ indexingPolicy.SpatialIndexes = new List(spatialIndexes);
+ }
+
sqlContainerResource.IndexingPolicy = indexingPolicy;
}
@@ -171,7 +256,7 @@ public override void ExecuteCmdlet()
Options = options
};
- if (ShouldProcess(Name, "Creating or Updating CosmosDB Sql Container"))
+ if (ShouldProcess(Name, "Setting CosmosDB Sql Container"))
{
SqlContainerGetResults sqlContainerGetResults = CosmosDBManagementClient.SqlResources.CreateUpdateSqlContainerWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, sqlContainerCreateUpdateParameters).GetAwaiter().GetResult().Body;
WriteObject(new PSSqlContainerGetResults(sqlContainerGetResults));
diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlDatabase.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlDatabase.cs
index b2fc1bcfda78..895c16a01803 100644
--- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlDatabase.cs
+++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlDatabase.cs
@@ -70,7 +70,7 @@ public override void ExecuteCmdlet()
Options = options
};
- if (ShouldProcess(Name, "Creating or Updating CosmosDB Sql Database"))
+ if (ShouldProcess(Name, "Setting CosmosDB Sql Database"))
{
SqlDatabaseGetResults sqlDatabaseGetResults = CosmosDBManagementClient.SqlResources.CreateUpdateSqlDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, sqlDatabaseCreateUpdateParameters).GetAwaiter().GetResult().Body;
WriteObject(new PSSqlDatabaseGetResults(sqlDatabaseGetResults));
diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlStoredProcedure.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlStoredProcedure.cs
index ef5ba037b706..618c8600b677 100644
--- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlStoredProcedure.cs
+++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlStoredProcedure.cs
@@ -75,7 +75,7 @@ public override void ExecuteCmdlet()
Options = new Dictionary() { }
};
- if (ShouldProcess(Name, "Creating or Updating CosmosDB Sql Stored Procedure"))
+ if (ShouldProcess(Name, "Setting CosmosDB Sql Stored Procedure"))
{
SqlStoredProcedureGetResults sqlStoredProcedureGetResults = CosmosDBManagementClient.SqlResources.CreateUpdateSqlStoredProcedureWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, ContainerName, Name, sqlStoredProcedureCreateUpdateParameters).GetAwaiter().GetResult().Body;
WriteObject(new PSSqlStoredProcedureGetResults(sqlStoredProcedureGetResults));
diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlTrigger.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlTrigger.cs
index f7653f6c95d9..0cc5a049dd1c 100644
--- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlTrigger.cs
+++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlTrigger.cs
@@ -98,7 +98,7 @@ public override void ExecuteCmdlet()
Options = new Dictionary() { }
};
- if (ShouldProcess(Name, "Creating or Updating CosmosDB Sql Trigger"))
+ if (ShouldProcess(Name, "Setting CosmosDB Sql Trigger"))
{
SqlTriggerGetResults sqlTriggerGetResults = CosmosDBManagementClient.SqlResources.CreateUpdateSqlTriggerWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, ContainerName, Name, sqlTriggerCreateUpdateParameters).GetAwaiter().GetResult().Body;
WriteObject(new PSSqlTriggerGetResults(sqlTriggerGetResults));
diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlUserDefinedFunction.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlUserDefinedFunction.cs
index bb18e02d7460..1cc52c762221 100644
--- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlUserDefinedFunction.cs
+++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlUserDefinedFunction.cs
@@ -80,7 +80,7 @@ public override void ExecuteCmdlet()
Options = new Dictionary() { }
};
- if (ShouldProcess(Name, "Creating or Updating CosmosDB Sql User Defined Function"))
+ if (ShouldProcess(Name, "Setting CosmosDB Sql User Defined Function"))
{
SqlUserDefinedFunctionGetResults sqlUserDefinedFunctionGetResults = CosmosDBManagementClient.SqlResources.CreateUpdateSqlUserDefinedFunctionWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, ContainerName, Name, sqlStoredProcedureCreateUpdateParameters).GetAwaiter().GetResult().Body;
WriteObject(new PSSqlUserDefinedFunctionGetResults(sqlUserDefinedFunctionGetResults));
diff --git a/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTable.cs b/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTable.cs
new file mode 100644
index 000000000000..a1ddcc2de214
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTable.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Management.CosmosDB.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBTable", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSTableGetResults), typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBTable : 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, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.TableDetailedParamHelpMessage)]
+ public SwitchParameter Detailed { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ if (!string.IsNullOrEmpty(Name))
+ {
+ TableGetResults tableGetResults = CosmosDBManagementClient.TableResources.GetTableWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSTableGetResults(tableGetResults));
+
+ if (Detailed)
+ {
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.TableResources.GetTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(throughputSettingsGetResults);
+ }
+ }
+ else
+ {
+ IEnumerable tables = CosmosDBManagementClient.TableResources.ListTablesWithHttpMessagesAsync(ResourceGroupName, AccountName).GetAwaiter().GetResult().Body;
+
+ foreach (TableGetResults table in tables)
+ WriteObject(new PSTableGetResults(table));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTableThroughput.cs b/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTableThroughput.cs
new file mode 100644
index 000000000000..4063b1370574
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTableThroughput.cs
@@ -0,0 +1,60 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Management.Automation;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.CosmosDB.Models;
+using System;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBTableThroughput", DefaultParameterSetName = NameParameterSet), OutputType(typeof(PSThroughputSettingsGetResults))]
+ public class GetAzCosmosDBTableThroughput : 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, HelpMessage = Constants.TableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ AccountName = resourceIdentifier.ResourceName;
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ }
+
+ ThroughputSettingsGetResults throughputSettingsGetResults = CosmosDBManagementClient.TableResources.GetTableThroughputWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult().Body;
+ WriteObject(new PSThroughputSettingsGetResults(throughputSettingsGetResults));
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs b/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs
new file mode 100644
index 000000000000..14cd945e9929
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs
@@ -0,0 +1,73 @@
+// ----------------------------------------------------------------------------------
+//
+// 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 System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Commands.CosmosDB.Helpers;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+
+namespace Microsoft.Azure.Commands.CosmosDB
+{
+ [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBTable" , SupportsShouldProcess = true), OutputType(typeof(void), typeof(bool))]
+ public class RemoveAzCosmosDBTable : AzureCosmosDBCmdletBase
+ {
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.AccountNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string AccountName { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.TableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ObjectParameterSet, HelpMessage = Constants.SqlDatabaseObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSTableGetResults InputObject { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.PassThruHelpMessage)]
+ public SwitchParameter PassThru { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (ParameterSetName.Equals(ObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ Name = resourceIdentifier.ResourceName;
+ AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier);
+ }
+
+ if (ShouldProcess(Name, "Deleting CosmosDB Table"))
+ {
+ CosmosDBManagementClient.TableResources.DeleteTableWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult();
+
+ if (PassThru)
+ WriteObject(true);
+ }
+
+ return;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs b/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs
new file mode 100644
index 000000000000..21fdb17de8f5
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.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.Collections.Generic;
+using System.Management.Automation;
+using System.Text;
+using System.Linq;
+using Microsoft.Azure.Commands.CosmosDB.Models;
+using System.Reflection;
+using Microsoft.Rest.Azure;
+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(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBTable", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSTableGetResults))]
+ public class SetAzCosmosDBTable : 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, HelpMessage = Constants.TableNameHelpMessage)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = Constants.TableThroughputHelpMessage)]
+ public int? Throughput { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.AccountObjectHelpMessage)]
+ [ValidateNotNull]
+ public PSDatabaseAccount InputObject { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if(ParameterSetName.Equals(ParentObjectParameterSet, StringComparison.Ordinal))
+ {
+ ResourceIdentifier resourceIdentifier = new ResourceIdentifier(InputObject.Id);
+ ResourceGroupName = resourceIdentifier.ResourceGroupName;
+ AccountName = resourceIdentifier.ResourceName;
+ }
+
+ IDictionary options = new Dictionary();
+
+ if (Throughput != null)
+ {
+ options.Add("Throughput", Throughput.ToString());
+ }
+
+ TableCreateUpdateParameters tableCreateUpdateParameters = new TableCreateUpdateParameters
+ {
+ Resource = new TableResource
+ {
+ Id = Name
+ },
+ Options = options
+ };
+
+ if (ShouldProcess(Name, "Setting CosmosDB Table"))
+ {
+ TableGetResults tableGetResults = CosmosDBManagementClient.TableResources.CreateUpdateTableWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, tableCreateUpdateParameters).GetAwaiter().GetResult().Body;
+ WriteObject(new PSTableGetResults(tableGetResults));
+ }
+
+ return;
+ }
+ }
+}
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccountKey.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccountKey.md
index 9d04113a80b9..29b89596e873 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccountKey.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBAccountKey.md
@@ -75,7 +75,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md
new file mode 100644
index 000000000000..297fd401cf66
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md
@@ -0,0 +1,149 @@
+---
+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/get-azcosmosdbcassandrakeyspace
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBCassandraKeyspace
+
+## SYNOPSIS
+Gets a CosmosDB Cassandra Keyspace.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBCassandraKeyspace -ResourceGroupName -AccountName [-Name ] [-Detailed]
+ [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBCassandraKeyspace [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBCassandraKeyspace** cmdlet creates a new or updates an existing CosmosDB Cassandra Keyspace.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
+
+Name Id Resource
+{name} {id} {resourceObject}
+```
+
+Get-AzCosmosDBCassandraKeyspace gets the properties of an existing CassandraKeyspace. You can expand the Resource to get the _etag, _ts, _rid properties.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the Keyspace with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+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
+```
+
+### -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
+```
+
+### -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
+```
+
+### 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.PSCassandraKeyspaceGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md
new file mode 100644
index 000000000000..e3ce6f23713f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md
@@ -0,0 +1,127 @@
+---
+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/get-azcosmosdbcassandrakeyspacethroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBCassandraKeyspaceThroughput
+
+## SYNOPSIS
+Gets the throughput value of the Cassandra Keyspace.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName -AccountName -Name
+ [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBCassandraKeyspaceThroughput -Name -InputObject
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBCassandraKeyspaceThroughput** cmdlet gets the throughput object corresponding to a given Keyspace.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name}
+```
+
+## 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
+```
+
+### -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: PSDatabaseAccount
+Parameter Sets: ByParentObjectParameterSet
+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: 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
+```
+
+### 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/Get-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md
new file mode 100644
index 000000000000..e11fc4be6723
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md
@@ -0,0 +1,164 @@
+---
+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/get-azcosmosdbcassandratable
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBCassandraTable
+
+## SYNOPSIS
+Gets a CosmosDB Cassandra Table.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBCassandraTable -AccountName -KeyspaceName -ResourceGroupName
+ [-Name ] [-Detailed] [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBCassandraTable [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBCassandraTable** cmdlet creates a new or updates an existing CosmosDB Cassandra Keyspace.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> $table = Get-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Keyspace {keyspaceName} -Name {name}
+
+Name Id Resource
+{name} {id} {resourceObject}
+```
+
+{{ Get-AzCosmosDBCassandraTable gets the properties of an existing CassandraKeyspace. You can expand the Resource to get the DefaultTtl, Schema, _etag, _ts, _rid properties.}}
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the Cassandra Table with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+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
+```
+
+### -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
+```
+
+### -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
+```
+
+### 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.PSCassandraTableGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md
new file mode 100644
index 000000000000..47d58e7b31c2
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md
@@ -0,0 +1,173 @@
+---
+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/get-azcosmosdbcassandratablethroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBCassandraTableThroughput
+
+## SYNOPSIS
+Gets the throughput value of the Cassandra Table.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName -AccountName -KeyspaceName
+ -Name [-DefaultProfile ] [-WhatIf] [-Confirm] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBCassandraTableThroughput -InputObject
+ [-DefaultProfile ] [-WhatIf] [-Confirm] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBCassandraTableThroughput** cmdlet gets the throughput object corresponding to a given Keyspace.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Keyspace {keyspaceName} -Name {tableName}
+```
+
+## 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 Table object.
+
+```yaml
+Type: PSCassandraKeyspaceGetResults
+Parameter Sets: ByParentObjectParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -KeyspaceName
+Database 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: ByNameParameterSet
+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
+```
+
+### -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/Get-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md
new file mode 100644
index 000000000000..ebdea61b457f
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md
@@ -0,0 +1,149 @@
+---
+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/get-azcosmosdbgremlindatabase
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBGremlinDatabase
+
+## SYNOPSIS
+Gets the CosmosDB Gremlin Database.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBGremlinDatabase -ResourceGroupName -AccountName [-Name ] [-Detailed]
+ [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBGremlinDatabase [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBGremlinDatabase** cmdlet gets the CosmosDB Gremlin Database.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
+
+Name Id Resource
+{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetPropertiesResource
+```
+
+Resource Object contains _rid, _ts, _etag.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the Database with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+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
+```
+
+### -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
+```
+
+### -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
+```
+
+### 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.PSGremlinDatabaseGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md
new file mode 100644
index 000000000000..dd9edda11165
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md
@@ -0,0 +1,132 @@
+---
+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/get-azcosmosdbgremlindatabasethroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBGremlinDatabaseThroughput
+
+## SYNOPSIS
+Gets the throughput of a CosmosDB Gremlin Database.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName -AccountName -Name
+ [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBGremlinDatabaseThroughput -Name -InputObject
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBGremlinDatabaseThroughput** cmdlet gets the throughput of a CosmosDB Gremlin Database.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
+Name: {throughputName}
+Id: {Id}
+Throughput: {value}
+MinimumThroughput: {value}
+OfferReplacePending: {value}
+```
+
+## 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
+```
+
+### -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: PSDatabaseAccount
+Parameter Sets: ByParentObjectParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Name
+Database name.
+
+```yaml
+Type: String
+Parameter Sets: (All)
+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
+```
+
+### 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/Get-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md
new file mode 100644
index 000000000000..b104166c1a5e
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md
@@ -0,0 +1,164 @@
+---
+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/get-azcosmosdbgremlingraph
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBGremlinGraph
+
+## SYNOPSIS
+Gets the CosmosDB Gremlin Graph.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBGremlinGraph -ResourceGroupName [-Name ] [-Detailed]
+ [-DefaultProfile ] -AccountName -DatabaseName []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBGremlinGraph [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBGremlinGraph** cmdlet gets the CosmosDB Gremlin Graph properties.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
+
+Name Id Resource
+{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinGraphGetPropertiesResource
+```
+
+Resource Object contains IndexingPolicy, PartitionKey, DefaultTtl, UniqueKeyPolicy, ConflictResolutionPolicy, _rid, _ts, _etag.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the Gremlin Graph with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+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
+```
+
+### -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
+```
+
+### -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
+```
+
+### 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.PSGremlinGraphGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md
new file mode 100644
index 000000000000..6e3bdb663ce4
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md
@@ -0,0 +1,179 @@
+---
+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/get-azcosmosdbgremlingraphthroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBGremlinGraphThroughput
+
+## SYNOPSIS
+Gets the throughput of a CosmosDB Gremlin Graph.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName -AccountName -DatabaseName
+ [-Name ] [-DefaultProfile ] [-WhatIf] [-Confirm] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBGremlinGraphThroughput [-Name ] -InputObject
+ [-DefaultProfile ] [-WhatIf] [-Confirm] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBGremlinGraphThroughput** cmdlet gets the throughput of a CosmosDB Gremlin Graph.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName}
+
+Name: {throughputName}
+Id: {Id}
+Throughput: {value}
+MinimumThroughput: {value}
+OfferReplacePending: {value}
+```
+
+## 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 Graph object.
+
+```yaml
+Type: PSGremlinGraphGetResults
+Parameter Sets: ByParentObjectParameterSet
+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
+```
+
+### -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
+```
+
+### -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.PSGremlinGraphGetResults
+
+## OUTPUTS
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md
new file mode 100644
index 000000000000..5e83711e41e7
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md
@@ -0,0 +1,164 @@
+---
+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/get-azcosmosdbmongodbcollection
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBMongoDBCollection
+
+## SYNOPSIS
+Gets the CosmosDB MongoDB Collection.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBMongoDBCollection -ResourceGroupName [-Name ] [-Detailed]
+ [-DefaultProfile ] -AccountName -DatabaseName []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBMongoDBCollection [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBMongoDBCollection** cmdlet gets the CosmosDB MongoDB Collection.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -Database {dbName} -Name {collectionName}
+
+Name Id Resource
+{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetPropertiesResource
+```
+
+Resource Object contains MongoIndexes, _rid, _ts, _etag properties.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the collection with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+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
+```
+
+### -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
+```
+
+### -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
+```
+
+### 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.PSMongoDBCollectionGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md
new file mode 100644
index 000000000000..53ce322ffe98
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md
@@ -0,0 +1,180 @@
+---
+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/get-azcosmosdbmongodbcollectionthroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBMongoDBCollectionThroughput
+
+## SYNOPSIS
+Gets the CosmosDB throughput properties of MongoDB Collection.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName -AccountName
+ -DatabaseName [-Name ] [-DefaultProfile ] [-WhatIf] [-Confirm]
+ []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBMongoDBCollectionThroughput [-Name ] -InputObject
+ [-DefaultProfile ] [-WhatIf] [-Confirm] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBMongoDBCollectionThroughput** cmdlet gets the throughput properties of MongoDB Collection.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {databaseName} -Name {collectionName}
+
+Name: {throughputName}
+Id: {Id}
+Throughput: {value}
+MinimumThroughput: {value}
+OfferReplacePending: {value}
+```
+
+## 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
+If provided then, the cmdlet returns the collection with the corresponding throughput value.
+
+```yaml
+Type: PSMongoDBCollectionGetResults
+Parameter Sets: ByParentObjectParameterSet
+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
+```
+
+### -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
+```
+
+### -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.PSMongoDBCollectionGetResults
+
+## OUTPUTS
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md
new file mode 100644
index 000000000000..54702cd31742
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md
@@ -0,0 +1,149 @@
+---
+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/get-azcosmosdbmongodbdatabase
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBMongoDBDatabase
+
+## SYNOPSIS
+Gets the CosmosDB MongoDB Database
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBMongoDBDatabase -ResourceGroupName -AccountName [-Name ] [-Detailed]
+ [-DefaultProfile ] []
+```
+
+### ByObjectParameterSet
+```
+Get-AzCosmosDBMongoDBDatabase [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBMongoDBDatabase** cmdlet gets the CosmosDB MongoDB Database.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName}
+
+Name Id Resource
+{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetPropertiesResource
+```
+
+Resource Object contains _rid, _ts, _etag properties.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the database with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+CosmosDB Account object
+
+```yaml
+Type: PSDatabaseAccount
+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
+```
+
+### -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
+```
+
+### 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.PSMongoDBDatabaseGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md
new file mode 100644
index 000000000000..a00cdd6b0355
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md
@@ -0,0 +1,133 @@
+---
+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/get-azcosmosdbmongodbdatabasethroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBMongoDBDatabaseThroughput
+
+## SYNOPSIS
+Gets the CosmosDB throughput properties of MongoDB Database.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName -AccountName -Name
+ [-DefaultProfile ] []
+```
+
+### ByParentObjectParameterSet
+```
+Get-AzCosmosDBMongoDBDatabaseThroughput -Name -InputObject
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBMongoDBDatabaseThroughput** cmdlet gets the throughput properties of MongoDB Database.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName}
+
+Name: {throughputName}
+Id: {Id}
+Throughput: {value}
+MinimumThroughput: {value}
+OfferReplacePending: {value}
+```
+
+## 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
+```
+
+### -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: PSDatabaseAccount
+Parameter Sets: ByParentObjectParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Name
+Database name.
+
+```yaml
+Type: String
+Parameter Sets: (All)
+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
+```
+
+### 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/Get-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md
index bed0321d9328..b87a2e3d3cdc 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md
@@ -35,15 +35,7 @@ PS C:\> Get-AzCosmosDBSqlContainer -AccountName {accountName} -ResourceGroupName
Name : {containerName1}
Id : Id
-SqlContainerGetResultsId :
-IndexingPolicy :
-PartitionKey :
-DefaultTtl :
-UniqueKeyPolicy :
-ConflictResolutionPolicy :
-_rid :
-_ts :
-_etag :
+Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlContainerGetPropertiesResource
```
## PARAMETERS
@@ -119,7 +111,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md
index 5ccbfcdd31f3..edd8083cf250 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainerThroughput.md
@@ -101,7 +101,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md
index f91c4d562a4e..6b29d1a370d3 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md
@@ -35,12 +35,7 @@ PS C:\> Get-AzCosmosDBSqlDatabase -AccountName {accountName} -ResourceGroupName
Name : {databaseName}
Id : {databaseId}
-SqlDatabaseGetResultsId :
-_rid :
-_ts :
-_etag :
-_colls :
-_users :
+Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlDatabaseGetPropertiesResource
```
## PARAMETERS
@@ -101,7 +96,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md
index 9bddb09619e0..bd2331ee9be9 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabaseThroughput.md
@@ -83,7 +83,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md
index e8b3646674db..79e474d18365 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md
@@ -35,11 +35,7 @@ PS C:\> Get-AzCosmosDBSqlStoredProcedure -AccountName {accountName} -ResourceGro
Name : {storedProcedureName}
Id : {storedProcedureId}
-SqlStoredProcedureGetResultsId :
-Body :
-_rid :
-_ts :
-_etag :
+Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlStoredProcedureGetPropertiesResource
```
## PARAMETERS
@@ -115,7 +111,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md
index 880f9fb91cf5..aa90640d924b 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md
@@ -35,13 +35,7 @@ PS C:\> Get-AzCosmosDBSqlTrigger -AccountName {accountName} -ResourceGroupName {
Name : {triggerName}
Id : {triggerId}
-SqlTriggerGetResultsId :
-Body :
-TriggerType :
-TriggerOperation :
-_rid :
-_ts :
-_etag :
+Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlTriggerGetPropertiesResource
```
## PARAMETERS
@@ -117,7 +111,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md
index c470b66e7bec..55298b76552a 100644
--- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md
@@ -35,11 +35,7 @@ PS C:\> Get-AzCosmosDBSqlUserDefinedFunction -AccountName {accountName} -Resourc
Name : {userDefinedFunctionName}
Id : {userDefinedFunctionId}
-SqlUserDefinedFunctionGetResultsId :
-Body :
-_rid :
-_ts :
-_etag :
+Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUserDefinedFunctionGetPropertiesResource
```
## PARAMETERS
@@ -115,7 +111,7 @@ Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md
new file mode 100644
index 000000000000..32fdd2d9ce16
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md
@@ -0,0 +1,149 @@
+---
+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/get-azcosmosdbtable
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBTable
+
+## SYNOPSIS
+Gets a CosmosDB Table.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBTable -ResourceGroupName -AccountName [-Name ] [-Detailed]
+ [-DefaultProfile ] []
+```
+
+### ByObjectParameterSet
+```
+Get-AzCosmosDBTable [-Name ] -InputObject [-Detailed]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+The **Get-AzCosmosDBTable** cmdlet gets an existing Table.
+
+## EXAMPLES
+
+### Example 1
+```powershell
+PS C:\> Get-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName}
+
+Name Id Resource
+{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSTableGetPropertiesResource
+```
+
+Resource object contains _rid, _ts, _ etag properties of the Table.
+
+## 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
+```
+
+### -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
+```
+
+### -Detailed
+If provided then, the cmdlet returns the Table with the corresponding throughput value.
+
+```yaml
+Type: SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+CosmosDB Account object
+
+```yaml
+Type: PSDatabaseAccount
+Parameter Sets: ByObjectParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+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
+```
+
+### -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
+```
+
+### 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.PSTableGetResults
+
+### Microsoft.Azure.Commands.CosmosDB.Models.PSThroughputSettingsGetResults
+
+## NOTES
+
+## RELATED LINKS
diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md
new file mode 100644
index 000000000000..ee0dbf74ed45
--- /dev/null
+++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md
@@ -0,0 +1,133 @@
+---
+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/get-azcosmosdbtablethroughput
+schema: 2.0.0
+---
+
+# Get-AzCosmosDBTableThroughput
+
+## SYNOPSIS
+Gets the throughput of a CosmosDB Table.
+
+## SYNTAX
+
+### ByNameParameterSet (Default)
+```
+Get-AzCosmosDBTableThroughput -ResourceGroupName -AccountName