From 5fe7c91854c12a6e9fed83de0913fc56a7e6494f Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Wed, 22 Jan 2020 14:54:55 -0800 Subject: [PATCH 1/9] CosmosDB Cassandra, Mongo, Table, Gremlin API with Management sdk 1.0.1 --- .../CosmosDB.Test/CosmosDB.Test.csproj | 2 +- .../ScenarioTests/CassandraOperationsTests.cs | 44 + .../CassandraOperationsTests.ps1 | 114 ++ .../ScenarioTests/GremlinOperationsTests.cs | 44 + .../ScenarioTests/GremlinOperationsTests.ps1 | 109 ++ .../ScenarioTests/MongoOperationsTests.cs | 44 + .../ScenarioTests/MongoOperationsTests.ps1 | 105 ++ .../ScenarioTests/SqlOperationsTests.ps1 | 98 +- .../ScenarioTests/TableOperationsTests.cs | 44 + .../ScenarioTests/TableOperationsTests.ps1 | 67 + .../TestCassandraOperationsCmdlets.json | 1046 ++++++++++++++++ ...ndraOperationsCmdletsUsingInputObject.json | 1112 +++++++++++++++++ .../TestGremlinOperationsCmdlets.json | 1046 ++++++++++++++++ ...mlinOperationsCmdletsUsingInputObject.json | 1112 +++++++++++++++++ .../TestMongoOperationsCmdlets.json | 1046 ++++++++++++++++ ...ongoOperationsCmdletsUsingInputObject.json | 1112 +++++++++++++++++ .../TestSqlOperationsCmdlets.json | 666 +++++----- ...tSqlOperationsCmdletsUsingInputObject.json | 696 +++++------ .../TestTableOperationsCmdlets.json | 527 ++++++++ ...ableOperationsCmdletsUsingInputObject.json | 593 +++++++++ src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 | 20 +- .../GetAzCosmosDBCassandraKeyspace.cs | 80 ++ ...etAzCosmosDBCassandraKeyspaceThroughput.cs | 60 + .../Cassandra/GetAzCosmosDBCassandraTable.cs | 85 ++ .../GetAzCosmosDBCassandraTableThroughput.cs | 66 + .../NewAzCosmosDBCassandraClusterKey.cs} | 35 +- .../Cassandra/NewAzCosmosDBCassandraColumn.cs | 38 + .../Cassandra/NewAzCosmosDBCassandraSchema.cs | 66 + .../RemoveAzCosmosDBCassandraKeyspace.cs | 68 + .../RemoveAzCosmosDBCassandraTable.cs | 59 + .../SetAzCosmosDBCassandraKeyspace.cs | 83 ++ .../Cassandra/SetAzCosmosDBCassandraTable.cs | 102 ++ src/CosmosDB/CosmosDB/CosmosDB.csproj | 2 +- .../CosmosDBAccount/NewAzCosmosDBAccount.cs | 10 +- .../Gremlin/GetAzCosmosDBGremlinDatabase.cs | 80 ++ .../GetAzCosmosDBGremlinDatabaseThroughput.cs | 60 + .../Gremlin/GetAzCosmosDBGremlinGraph.cs | 85 ++ .../GetAzCosmosDBGremlinGraphThroughput.cs | 66 + .../RemoveAzCosmosDBGremlinDatabase.cs | 68 + .../Gremlin/RemoveAzCosmosDBGremlinGraph.cs | 59 + .../Gremlin/SetAzCosmosDBGremlinDatabase.cs | 83 ++ .../Gremlin/SetAzCosmosDBGremlinGraph.cs | 222 ++++ src/CosmosDB/CosmosDB/Helpers/Constants.cs | 59 +- .../Helpers/ResourceIdentifierExtensions.cs | 36 +- ...SCassandraKeyspaceGetPropertiesResource.cs | 47 + .../Models/PSCassandraKeyspaceGetResults.cs | 42 + .../Models/PSCassandraPartitionKey.cs | 43 + .../CosmosDB/Models/PSCassandraSchema.cs | 72 ++ .../PSCassandraTableGetPropertiesResource.cs | 62 + .../Models/PSCassandraTableGetResults.cs | 44 + src/CosmosDB/CosmosDB/Models/PSClusterKey.cs | 51 + src/CosmosDB/CosmosDB/Models/PSColumn.cs | 49 + .../CosmosDB/Models/PSCompositePath.cs | 43 + .../Models/PSConflictResolutionPolicy.cs | 47 + .../Models/PSContainerPartitionKey.cs | 47 + ...tResolutionPolicy.cs => PSExcludedPath.cs} | 28 +- .../PSGremlinDatabaseGetPropertiesResource.cs | 48 + .../Models/PSGremlinDatabaseGetResults.cs | 44 + .../PSGremlinGraphGetPropertiesResource.cs | 80 ++ .../Models/PSGremlinGraphGetResults.cs | 45 + .../CosmosDB/Models/PSIncludedPath.cs | 61 + src/CosmosDB/CosmosDB/Models/PSIndexes.cs | 58 + .../CosmosDB/Models/PSIndexingPolicy.cs | 99 ++ ...SMongoDBCollectionGetPropertiesResource.cs | 66 + .../Models/PSMongoDBCollectionGetResults.cs | 47 + .../PSMongoDBDatabaseGetPropertiesResource.cs | 52 + .../Models/PSMongoDBDatabaseGetResults.cs | 44 + src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs | 57 + .../CosmosDB/Models/PSMongoIndexKeys.cs | 42 + .../CosmosDB/Models/PSMongoIndexOptions.cs | 49 + src/CosmosDB/CosmosDB/Models/PSSpatialSpec.cs | 43 + .../PSSqlContainerGetPropertiesResource.cs | 80 ++ .../Models/PSSqlContainerGetResults.cs | 64 +- .../PSSqlDatabaseGetPropertiesResource.cs | 66 + .../Models/PSSqlDatabaseGetResults.cs | 42 +- .../CosmosDB/Models/PSSqlIndexingPolicy.cs | 55 - ...SqlStoredProcedureGetPropertiesResource.cs | 58 + .../Models/PSSqlStoredProcedureGetResults.cs | 40 +- .../PSSqlTriggerGetPropertiesResource.cs | 70 ++ .../CosmosDB/Models/PSSqlTriggerGetResults.cs | 53 +- ...serDefinedFunctionGetPropertiesResource.cs | 57 + .../PSSqlUserDefinedFunctionGetResults.cs | 37 +- .../Models/PSTableGetPropertiesResource.cs | 52 + .../CosmosDB/Models/PSTableGetResults.cs | 44 + .../Models/PSThroughputSettingsGetResults.cs | 6 +- .../{PSSqlUniqueKey.cs => PSUniqueKey.cs} | 13 +- ...niqueKeyPolicy.cs => PSUniqueKeyPolicy.cs} | 20 +- .../MongoDB/GetAzCosmosDBMongoDBCollection.cs | 85 ++ ...etAzCosmosDBMongoDBCollectionThroughput.cs | 66 + .../MongoDB/GetAzCosmosDBMongoDBDatabase.cs | 81 ++ .../GetAzCosmosDBMongoDBDatabaseThroughput.cs | 60 + .../MongoDB/NewAzCosmosDBMongoDBIndex.cs | 65 + .../RemoveAzCosmosDBMongoDBCollection.cs | 64 + .../RemoveAzCosmosDBMongoDBDatabase.cs | 73 ++ .../MongoDB/SetAzCosmosDBMongoDBCollection.cs | 108 ++ .../MongoDB/SetAzCosmosDBMongoDBDatabase.cs | 87 ++ .../SQL/NewAzCosmosDBSqlIndexingPolicy.cs | 37 +- .../SQL/NewAzCosmosDBSqlSpatialSpec.cs | 49 + .../CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs | 8 +- .../SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs | 8 +- .../CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs | 76 +- .../CosmosDB/Table/GetAzCosmosDBTable.cs | 80 ++ .../Table/GetAzCosmosDBTableThroughput.cs | 60 + .../CosmosDB/Table/RemoveAzCosmosDBTable.cs | 73 ++ .../CosmosDB/Table/SetAzCosmosDBTable.cs | 87 ++ .../CosmosDB/help/Get-AzCosmosDBAccountKey.md | 2 +- .../help/Get-AzCosmosDBCassandraKeyspace.md | 146 +++ ...t-AzCosmosDBCassandraKeyspaceThroughput.md | 129 ++ .../help/Get-AzCosmosDBCassandraTable.md | 161 +++ .../Get-AzCosmosDBCassandraTableThroughput.md | 175 +++ .../help/Get-AzCosmosDBGremlinDatabase.md | 146 +++ ...Get-AzCosmosDBGremlinDatabaseThroughput.md | 129 ++ .../help/Get-AzCosmosDBGremlinGraph.md | 161 +++ .../Get-AzCosmosDBGremlinGraphThroughput.md | 175 +++ .../help/Get-AzCosmosDBMongoDBCollection.md | 161 +++ ...t-AzCosmosDBMongoDBCollectionThroughput.md | 176 +++ .../help/Get-AzCosmosDBMongoDBDatabase.md | 146 +++ ...Get-AzCosmosDBMongoDBDatabaseThroughput.md | 129 ++ .../help/Get-AzCosmosDBSqlContainer.md | 2 +- .../Get-AzCosmosDBSqlContainerThroughput.md | 2 +- .../help/Get-AzCosmosDBSqlDatabase.md | 2 +- .../Get-AzCosmosDBSqlDatabaseThroughput.md | 2 +- .../help/Get-AzCosmosDBSqlStoredProcedure.md | 2 +- .../CosmosDB/help/Get-AzCosmosDBSqlTrigger.md | 2 +- .../Get-AzCosmosDBSqlUserDefinedFunction.md | 2 +- .../CosmosDB/help/Get-AzCosmosDBTable.md | 146 +++ .../help/Get-AzCosmosDBTableThroughput.md | 129 ++ .../CosmosDB/help/New-AzCosmosDBAccount.md | 6 +- .../CosmosDB/help/New-AzCosmosDBAccountKey.md | 23 +- .../help/New-AzCosmosDBCassandraClusterKey.md | 93 ++ .../help/New-AzCosmosDBCassandraColumn.md | 92 ++ .../help/New-AzCosmosDBCassandraSchema.md | 107 ++ .../help/New-AzCosmosDBMongoDBIndex.md | 107 ++ .../help/New-AzCosmosDBSqlIndexingPolicy.md | 43 +- .../help/New-AzCosmosDBSqlUniqueKeyPolicy.md | 4 +- .../CosmosDB/help/Remove-AzCosmosDBAccount.md | 2 +- .../Remove-AzCosmosDBCassandraKeyspace.md | 178 +++ .../help/Remove-AzCosmosDBCassandraTable.md | 194 +++ .../help/Remove-AzCosmosDBGremlinDatabase.md | 178 +++ .../help/Remove-AzCosmosDBGremlinGraph.md | 194 +++ .../Remove-AzCosmosDBMongoDBCollection.md | 194 +++ .../help/Remove-AzCosmosDBMongoDBDatabase.md | 178 +++ .../help/Remove-AzCosmosDBSqlContainer.md | 2 +- .../help/Remove-AzCosmosDBSqlDatabase.md | 2 +- .../Remove-AzCosmosDBSqlStoredProcedure.md | 2 +- .../help/Remove-AzCosmosDBSqlTrigger.md | 2 +- ...Remove-AzCosmosDBSqlUserDefinedFunction.md | 2 +- .../CosmosDB/help/Remove-AzCosmosDBTable.md | 178 +++ .../help/Set-AzCosmosDBCassandraKeyspace.md | 176 +++ .../help/Set-AzCosmosDBCassandraTable.md | 228 ++++ .../help/Set-AzCosmosDBGremlinDatabase.md | 176 +++ .../help/Set-AzCosmosDBGremlinGraph.md | 341 +++++ .../help/Set-AzCosmosDBMongoDBCollection.md | 223 ++++ .../help/Set-AzCosmosDBMongoDBDatabase.md | 176 +++ .../help/Set-AzCosmosDBSqlContainer.md | 64 +- .../help/Set-AzCosmosDBSqlDatabase.md | 2 +- .../help/Set-AzCosmosDBSqlStoredProcedure.md | 2 +- .../CosmosDB/help/Set-AzCosmosDBSqlTrigger.md | 2 +- .../Set-AzCosmosDBSqlUserDefinedFunction.md | 2 +- .../CosmosDB/help/Set-AzCosmosDBTable.md | 176 +++ .../CosmosDB/help/Update-AzCosmosDBAccount.md | 4 +- ...pdate-AzCosmosDBAccountFailoverPriority.md | 2 +- .../help/Update-AzCosmosDBAccountRegion.md | 2 +- 163 files changed, 18888 insertions(+), 1147 deletions(-) create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.cs create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1 create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.cs create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1 create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.cs create mode 100644 src/CosmosDB/CosmosDB.Test/ScenarioTests/TableOperationsTests.ps1 create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdletsUsingInputObject.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdletsUsingInputObject.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdletsUsingInputObject.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdlets.json create mode 100644 src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdletsUsingInputObject.json create mode 100644 src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspace.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraKeyspaceThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTable.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/GetAzCosmosDBCassandraTableThroughput.cs rename src/CosmosDB/CosmosDB/{SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs => Cassandra/NewAzCosmosDBCassandraClusterKey.cs} (51%) create mode 100644 src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraColumn.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraSchema.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraKeyspace.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/RemoveAzCosmosDBCassandraTable.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs create mode 100644 src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinDatabaseThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraph.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/GetAzCosmosDBGremlinGraphThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/RemoveAzCosmosDBGremlinGraph.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraPartitionKey.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraTableGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSClusterKey.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSColumn.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSCompositePath.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSConflictResolutionPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSContainerPartitionKey.cs rename src/CosmosDB/CosmosDB/Models/{PSSqlConflictResolutionPolicy.cs => PSExcludedPath.cs} (62%) create mode 100644 src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSIndexes.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSIndexingPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoIndexKeys.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSMongoIndexOptions.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSpatialSpec.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlContainerGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlDatabaseGetPropertiesResource.cs delete mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlStoredProcedureGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlTriggerGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlUserDefinedFunctionGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSTableGetPropertiesResource.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs rename src/CosmosDB/CosmosDB/Models/{PSSqlUniqueKey.cs => PSUniqueKey.cs} (77%) rename src/CosmosDB/CosmosDB/Models/{PSSqlUniqueKeyPolicy.cs => PSUniqueKeyPolicy.cs} (65%) create mode 100644 src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollection.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBCollectionThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/GetAzCosmosDBMongoDBDatabaseThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/NewAzCosmosDBMongoDBIndex.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBCollection.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/RemoveAzCosmosDBMongoDBDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs create mode 100644 src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlSpatialSpec.cs create mode 100644 src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTable.cs create mode 100644 src/CosmosDB/CosmosDB/Table/GetAzCosmosDBTableThroughput.cs create mode 100644 src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs create mode 100644 src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md create mode 100644 src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md create mode 100644 src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md 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..67db4980b9e8 --- /dev/null +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 @@ -0,0 +1,109 @@ +# ---------------------------------------------------------------------------------- +# +# 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 + + $NewGraph = Set-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue + Assert-AreEqual $NewGraph.Name $GraphName + + $Database = Get-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName + Assert-AreEqual $NewDatabase.Id $Database.Id + Assert-AreEqual $NewDatabase.Name $Database.Name + Assert-AreEqual $NewDatabase.GremlinDatabaseGetResultsId $Database.GremlinDatabaseGetResultsId + Assert-AreEqual $NewDatabase._rid $Database._rid + Assert-AreEqual $NewDatabase._ts $Database._ts + Assert-AreEqual $NewDatabase._etag $Database._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..a628fc116efd 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 @@ -54,49 +54,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 +163,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..c4ffeb7b58ff --- /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": [ + "bf3385b5-8c77-4911-8f9b-303465b23f7a" + ], + "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/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "8e0b62da-5fe4-4a93-95df-aafe7b8a35a1" + ], + "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": [ + "010cb2e1-a10e-41b3-8b00-befcd20cbb7e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214430Z:010cb2e1-a10e-41b3-8b00-befcd20cbb7e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:44: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/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/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy84ZTBiNjJkYS01ZmU0LTRhOTMtOTVkZi1hYWZlN2I4YTM1YTE/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": [ + "1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + ], + "x-ms-correlation-request-id": [ + "1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214500Z:1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45: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/uaenorth/operationsStatus/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?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": [ + "a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + ], + "x-ms-correlation-request-id": [ + "a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214502Z:a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:01 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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\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": [ + "2ad48af3-fdc7-45e0-98e9-3fd336d54234" + ], + "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": [ + "a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + ], + "x-ms-correlation-request-id": [ + "a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214535Z:a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:34 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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\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": [ + "2525ae54-8a79-40e0-a5d5-a331fd182e9e" + ], + "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/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "c4ef069f-052f-485c-be48-cddc31a3bcd1" + ], + "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": [ + "223ab8a0-a272-473e-a780-e40cc9da0adb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214503Z:223ab8a0-a272-473e-a780-e40cc9da0adb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:03 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/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jNGVmMDY5Zi0wNTJmLTQ4NWMtYmU0OC1jZGRjMzFhM2JjZDE/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": [ + "b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + ], + "x-ms-correlation-request-id": [ + "b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214534Z:b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:33 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/c4ef069f-052f-485c-be48-cddc31a3bcd1?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": [ + "cb93efa6-4a26-4057-b4ed-b599a54135e3" + ], + "x-ms-correlation-request-id": [ + "cb93efa6-4a26-4057-b4ed-b599a54135e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214535Z:cb93efa6-4a26-4057-b4ed-b599a54135e3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:34 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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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": [ + "7b4ef84d-b0c7-4ea1-9d44-8d7e56dd95fb" + ], + "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": [ + "4d776359-fbb7-411c-be32-88f7f7c1f266" + ], + "x-ms-correlation-request-id": [ + "4d776359-fbb7-411c-be32-88f7f7c1f266" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214536Z:4d776359-fbb7-411c-be32-88f7f7c1f266" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:35 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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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": [ + "2d7855c9-a20f-4a92-813f-f79a7faa877c" + ], + "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": [ + "f73dae02-1289-46c1-8717-78666e380ecf" + ], + "x-ms-correlation-request-id": [ + "f73dae02-1289-46c1-8717-78666e380ecf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214536Z:f73dae02-1289-46c1-8717-78666e380ecf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:35 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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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": [ + "83b49cc8-aade-4a58-b5fb-cb88fc9b10df" + ], + "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": [ + "b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + ], + "x-ms-correlation-request-id": [ + "b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214537Z:b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:36 GMT" + ], + "Content-Length": [ + "17441" + ], + "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/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/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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\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": [ + "1933f63c-36ab-4d06-8321-da70f01a8079" + ], + "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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "c1c6519e-1b57-4e4a-bf1f-868a649b5996" + ], + "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": [ + "0d96de1b-6b54-4d23-9544-518e32413ceb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214537Z:0d96de1b-6b54-4d23-9544-518e32413ceb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:45:36 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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jMWM2NTE5ZS0xYjU3LTRlNGEtYmYxZi04NjhhNjQ5YjU5OTY/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": [ + "a3e013ee-8ee5-40f5-9eef-c350280e1de2" + ], + "x-ms-correlation-request-id": [ + "a3e013ee-8ee5-40f5-9eef-c350280e1de2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214607Z:a3e013ee-8ee5-40f5-9eef-c350280e1de2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:46: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/uaenorth/operationsStatus/c1c6519e-1b57-4e4a-bf1f-868a649b5996?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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGUvb3BlcmF0aW9uUmVzdWx0cy9jMWM2NTE5ZS0xYjU3LTRlNGEtYmYxZi04NjhhNjQ5YjU5OTY/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": [ + "abea4254-d737-4312-9f13-664239f9e0d0" + ], + "x-ms-correlation-request-id": [ + "abea4254-d737-4312-9f13-664239f9e0d0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214607Z:abea4254-d737-4312-9f13-664239f9e0d0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:46:07 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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?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": [ + "7e5d1eca-8c66-4543-af27-b4941de2a6db" + ], + "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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "158620be-4f95-403a-9342-4bf26593d68e" + ], + "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": [ + "5b6faef7-a691-4ec4-91bb-b002c7049cca" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214608Z:5b6faef7-a691-4ec4-91bb-b002c7049cca" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:46:08 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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8xNTg2MjBiZS00Zjk1LTQwM2EtOTM0Mi00YmYyNjU5M2Q2OGU/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": [ + "11d95cf0-c077-47c4-845a-7a4b66434d92" + ], + "x-ms-correlation-request-id": [ + "11d95cf0-c077-47c4-845a-7a4b66434d92" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214639Z:11d95cf0-c077-47c4-845a-7a4b66434d92" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:46:38 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/158620be-4f95-403a-9342-4bf26593d68e?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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi9vcGVyYXRpb25SZXN1bHRzLzE1ODYyMGJlLTRmOTUtNDAzYS05MzQyLTRiZjI2NTkzZDY4ZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": [ + "a88a4fa7-5115-447c-bddd-f12bf650a129" + ], + "x-ms-correlation-request-id": [ + "a88a4fa7-5115-447c-bddd-f12bf650a129" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T214639Z:a88a4fa7-5115-447c-bddd-f12bf650a129" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 21:46:38 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/158620be-4f95-403a-9342-4bf26593d68e?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..d3c5b3a4353a --- /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": [ + "86583b33-5bee-4355-a5d6-de33f0c73e1c" + ], + "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": [ + "bc86a371-a444-444e-9dbb-acd14dc58b6e" + ], + "x-ms-correlation-request-id": [ + "bc86a371-a444-444e-9dbb-acd14dc58b6e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201615Z:bc86a371-a444-444e-9dbb-acd14dc58b6e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16:14 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": [ + "23c41e0a-5c06-4fd7-811b-c756c60f8402" + ], + "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/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "c38ef102-fef7-40a2-b451-f3882f682d1e" + ], + "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": [ + "77ec7585-f771-4822-8df2-d5d94dbaa914" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201615Z:77ec7585-f771-4822-8df2-d5d94dbaa914" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16:14 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/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jMzhlZjEwMi1mZWY3LTQwYTItYjQ1MS1mMzg4MmY2ODJkMWU/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": [ + "a0721e5b-76a3-44de-8f0c-04aac6f9581e" + ], + "x-ms-correlation-request-id": [ + "a0721e5b-76a3-44de-8f0c-04aac6f9581e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201646Z:a0721e5b-76a3-44de-8f0c-04aac6f9581e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16:45 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/c38ef102-fef7-40a2-b451-f3882f682d1e?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": [ + "d8d64cb5-c229-454b-b846-98394fc06a2b" + ], + "x-ms-correlation-request-id": [ + "d8d64cb5-c229-454b-b846-98394fc06a2b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201647Z:d8d64cb5-c229-454b-b846-98394fc06a2b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16:46 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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\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": [ + "f5195f91-eb3c-4f6d-bc3e-27eb8f167670" + ], + "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": [ + "4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + ], + "x-ms-correlation-request-id": [ + "4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201721Z:4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:21 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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\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": [ + "9e7f695a-3dae-4efc-90ee-98501c122b90" + ], + "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/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "3cdec57d-713c-4308-9432-81bebde69a65" + ], + "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": [ + "94484826-980d-42e6-bed2-1a9a452733e9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201649Z:94484826-980d-42e6-bed2-1a9a452733e9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16:48 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/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8zY2RlYzU3ZC03MTNjLTQzMDgtOTQzMi04MWJlYmRlNjlhNjU/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": [ + "6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + ], + "x-ms-correlation-request-id": [ + "6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201719Z:6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:19 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/3cdec57d-713c-4308-9432-81bebde69a65?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": [ + "cd1cd972-7fea-4179-9615-5df60301e50b" + ], + "x-ms-correlation-request-id": [ + "cd1cd972-7fea-4179-9615-5df60301e50b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201720Z:cd1cd972-7fea-4179-9615-5df60301e50b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:20 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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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": [ + "29928461-c84f-48ce-96ce-ff11e5357699" + ], + "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": [ + "3eb14894-9996-47b1-b584-5d720f3119c6" + ], + "x-ms-correlation-request-id": [ + "3eb14894-9996-47b1-b584-5d720f3119c6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201722Z:3eb14894-9996-47b1-b584-5d720f3119c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:21 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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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": [ + "e9dccf90-f2e4-4055-b4e6-75bb27584cf2" + ], + "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": [ + "f4848486-cfab-412b-9d58-ac4e261bf229" + ], + "x-ms-correlation-request-id": [ + "f4848486-cfab-412b-9d58-ac4e261bf229" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201722Z:f4848486-cfab-412b-9d58-ac4e261bf229" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:22 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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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": [ + "ba68f1d7-9bab-47ca-81ae-6e35da039ee8" + ], + "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": [ + "89f004d4-1f24-4d37-ae53-57c5840b1852" + ], + "x-ms-correlation-request-id": [ + "89f004d4-1f24-4d37-ae53-57c5840b1852" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201723Z:89f004d4-1f24-4d37-ae53-57c5840b1852" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:22 GMT" + ], + "Content-Length": [ + "17444" + ], + "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/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/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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\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/db2/tables/table?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7ca6fa25-5c0e-436d-92e0-55564f11a4ed" + ], + "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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "d9d09c98-09bc-4c13-ac4c-543a6803c1c8" + ], + "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": [ + "64df520c-00f2-4e81-b594-3896649cbfe8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201723Z:64df520c-00f2-4e81-b594-3896649cbfe8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17: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/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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9kOWQwOWM5OC0wOWJjLTRjMTMtYWM0Yy01NDNhNjgwM2MxYzg/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": [ + "7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + ], + "x-ms-correlation-request-id": [ + "7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201753Z:7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17: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/uaenorth/operationsStatus/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlL29wZXJhdGlvblJlc3VsdHMvZDlkMDljOTgtMDliYy00YzEzLWFjNGMtNTQzYTY4MDNjMWM4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "64d9ddf8-b767-4166-86f0-cadbf5b8515d" + ], + "x-ms-correlation-request-id": [ + "64d9ddf8-b767-4166-86f0-cadbf5b8515d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201754Z:64d9ddf8-b767-4166-86f0-cadbf5b8515d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:53 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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?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": [ + "6f1dd7ba-95da-490d-ada6-5e5485d278c9" + ], + "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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "42aff329-46ba-44a1-af16-4447e0edcf00" + ], + "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": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "02dbd391-d602-4971-b643-cde2a01e797a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201754Z:02dbd391-d602-4971-b643-cde2a01e797a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:17:53 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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy80MmFmZjMyOS00NmJhLTQ0YTEtYWYxNi00NDQ3ZTBlZGNmMDA/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": [ + "11988" + ], + "x-ms-request-id": [ + "8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + ], + "x-ms-correlation-request-id": [ + "8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201825Z:8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:18: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/uaenorth/operationsStatus/42aff329-46ba-44a1-af16-4447e0edcf00?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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvb3BlcmF0aW9uUmVzdWx0cy80MmFmZjMyOS00NmJhLTQ0YTEtYWYxNi00NDQ3ZTBlZGNmMDA/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": [ + "11987" + ], + "x-ms-request-id": [ + "2578126c-7d7a-47a9-8443-77e657ed1fd0" + ], + "x-ms-correlation-request-id": [ + "2578126c-7d7a-47a9-8443-77e657ed1fd0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201825Z:2578126c-7d7a-47a9-8443-77e657ed1fd0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:18: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/db2725/cassandraKeyspaces/db2/operationResults/42aff329-46ba-44a1-af16-4447e0edcf00?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..2be6afdf3fe0 --- /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": [ + "ad3c9006-4880-46b0-89af-28ea843ca1eb" + ], + "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/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "04fc961f-ce15-4786-bd94-dc991047c8a1" + ], + "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": [ + "0eeeb036-282d-4e8d-8e00-88bf41458fc7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201159Z:0eeeb036-282d-4e8d-8e00-88bf41458fc7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:11:58 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/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDRmYzk2MWYtY2UxNS00Nzg2LWJkOTQtZGM5OTEwNDdjOGExP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + ], + "x-ms-correlation-request-id": [ + "ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201229Z:ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:12: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/04fc961f-ce15-4786-bd94-dc991047c8a1?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": [ + "11996" + ], + "x-ms-request-id": [ + "2eed0c12-71b4-448e-b186-b8793e405540" + ], + "x-ms-correlation-request-id": [ + "2eed0c12-71b4-448e-b186-b8793e405540" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201229Z:2eed0c12-71b4-448e-b186-b8793e405540" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:12:29 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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\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": [ + "7f77b042-eda6-4222-b31a-7e7cc8288deb" + ], + "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": [ + "07e1fb74-8798-426d-a39a-51b4a8323bae" + ], + "x-ms-correlation-request-id": [ + "07e1fb74-8798-426d-a39a-51b4a8323bae" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201302Z:07e1fb74-8798-426d-a39a-51b4a8323bae" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:01 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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\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 \"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": [ + "814899e0-431d-4177-a43e-045ac0f42a82" + ], + "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/dbName/graphs/graph1/operationResults/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "31973555-9db8-4d56-be33-49119031538f" + ], + "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": [ + "f3c0a890-0034-4ee1-a8dc-e1ebc0cc662b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201230Z:f3c0a890-0034-4ee1-a8dc-e1ebc0cc662b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:12:30 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/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzE5NzM1NTUtOWRiOC00ZDU2LWJlMzMtNDkxMTkwMzE1MzhmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "92ef5356-e08f-49ea-9016-601e975d0ab8" + ], + "x-ms-correlation-request-id": [ + "92ef5356-e08f-49ea-9016-601e975d0ab8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201300Z:92ef5356-e08f-49ea-9016-601e975d0ab8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13: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/31973555-9db8-4d56-be33-49119031538f?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": [ + "11994" + ], + "x-ms-request-id": [ + "206406c6-70b4-4e92-a1f2-458262b01cdc" + ], + "x-ms-correlation-request-id": [ + "206406c6-70b4-4e92-a1f2-458262b01cdc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201301Z:206406c6-70b4-4e92-a1f2-458262b01cdc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:00 GMT" + ], + "Content-Length": [ + "1014" + ], + "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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/dbName/graphs/graph1?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b1fdfb0e-452a-4c29-a2d2-a4e1c90b41d3" + ], + "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": [ + "cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + ], + "x-ms-correlation-request-id": [ + "cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201302Z:cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:01 GMT" + ], + "Content-Length": [ + "1014" + ], + "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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/dbName/graphs?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e38e7ce3-a2b1-4810-9566-0db34b9d75a6" + ], + "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": [ + "167c0397-684c-46a7-af90-0a9fe23a9105" + ], + "x-ms-correlation-request-id": [ + "167c0397-684c-46a7-af90-0a9fe23a9105" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201302Z:167c0397-684c-46a7-af90-0a9fe23a9105" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:01 GMT" + ], + "Content-Length": [ + "950" + ], + "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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": [ + "e9206a03-28bf-4a48-87f2-389932482df2" + ], + "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": [ + "11990" + ], + "x-ms-request-id": [ + "799668ba-b724-4708-8cc1-80eedef5ae29" + ], + "x-ms-correlation-request-id": [ + "799668ba-b724-4708-8cc1-80eedef5ae29" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201303Z:799668ba-b724-4708-8cc1-80eedef5ae29" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:02 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/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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\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/\\\"\\\"\",\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}", + "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": [ + "29f53ae0-5aa7-4e73-a35b-78b5822dfa4c" + ], + "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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "cd4d3cac-56b1-438f-96f3-146affbe8366" + ], + "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": [ + "d0b04cee-4ad8-47c4-acea-be8685a58e9f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201303Z:d0b04cee-4ad8-47c4-acea-be8685a58e9f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13: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/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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2Q0ZDNjYWMtNTZiMS00MzhmLTk2ZjMtMTQ2YWZmYmU4MzY2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + ], + "x-ms-correlation-request-id": [ + "8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201333Z:8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:33 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/cd4d3cac-56b1-438f-96f3-146affbe8366?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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDEvb3BlcmF0aW9uUmVzdWx0cy9jZDRkM2NhYy01NmIxLTQzOGYtOTZmMy0xNDZhZmZiZTgzNjY/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": [ + "11988" + ], + "x-ms-request-id": [ + "38f187f7-7c96-483a-8d3b-2e44b327d79e" + ], + "x-ms-correlation-request-id": [ + "38f187f7-7c96-483a-8d3b-2e44b327d79e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201334Z:38f187f7-7c96-483a-8d3b-2e44b327d79e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:33 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/cd4d3cac-56b1-438f-96f3-146affbe8366?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": [ + "14e233ed-7813-4805-a5d1-aaa5cc7714e6" + ], + "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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "96dc829f-dded-4933-b37d-9ebaebd39a2c" + ], + "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": [ + "e078f8f0-2cbc-4fe0-b4b2-39ca5c9d67f1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201334Z:e078f8f0-2cbc-4fe0-b4b2-39ca5c9d67f1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:13:34 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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTZkYzgyOWYtZGRlZC00OTMzLWIzN2QtOWViYWViZDM5YTJjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "f584ce1d-84b6-4a3c-be46-e51c322be337" + ], + "x-ms-correlation-request-id": [ + "f584ce1d-84b6-4a3c-be46-e51c322be337" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201405Z:f584ce1d-84b6-4a3c-be46-e51c322be337" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:04 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/96dc829f-dded-4933-b37d-9ebaebd39a2c?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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL29wZXJhdGlvblJlc3VsdHMvOTZkYzgyOWYtZGRlZC00OTMzLWIzN2QtOWViYWViZDM5YTJjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "775dba03-81a6-46e4-8549-80d3079c7f72" + ], + "x-ms-correlation-request-id": [ + "775dba03-81a6-46e4-8549-80d3079c7f72" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201405Z:775dba03-81a6-46e4-8549-80d3079c7f72" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:04 GMT" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/operationResults/96dc829f-dded-4933-b37d-9ebaebd39a2c?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..fc4f71d0696a --- /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": [ + "158a226f-b260-4d47-b9c0-da9416b88c3a" + ], + "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": [ + "11998" + ], + "x-ms-request-id": [ + "70818aaa-09db-413e-ac9f-4a3cc4bffc57" + ], + "x-ms-correlation-request-id": [ + "70818aaa-09db-413e-ac9f-4a3cc4bffc57" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201407Z:70818aaa-09db-413e-ac9f-4a3cc4bffc57" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:06 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": [ + "5be55883-3153-4cc9-b219-b786d797cc41" + ], + "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/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "4fa88a0e-3004-49d3-88f8-170fece5fc0c" + ], + "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": [ + "a7eab5e5-7be3-428e-8cc9-e7a0e2f7c739" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201407Z:a7eab5e5-7be3-428e-8cc9-e7a0e2f7c739" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:07 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/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGZhODhhMGUtMzAwNC00OWQzLTg4ZjgtMTcwZmVjZTVmYzBjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "0a832f74-ddb5-46ff-993a-a24feda437b6" + ], + "x-ms-correlation-request-id": [ + "0a832f74-ddb5-46ff-993a-a24feda437b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201438Z:0a832f74-ddb5-46ff-993a-a24feda437b6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:37 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/4fa88a0e-3004-49d3-88f8-170fece5fc0c?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": [ + "11996" + ], + "x-ms-request-id": [ + "55f42056-0268-49d3-81ee-73bafdbb77c8" + ], + "x-ms-correlation-request-id": [ + "55f42056-0268-49d3-81ee-73bafdbb77c8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201438Z:55f42056-0268-49d3-81ee-73bafdbb77c8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:37 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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\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": [ + "4abeb91b-f5ef-4352-b676-165088b770f3" + ], + "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": [ + "f6179c2c-5762-40e9-a98d-f84eb892d402" + ], + "x-ms-correlation-request-id": [ + "f6179c2c-5762-40e9-a98d-f84eb892d402" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201510Z:f6179c2c-5762-40e9-a98d-f84eb892d402" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:09 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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\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": [ + "9a2e50ce-ff5b-46c0-8bcd-80a1a20366e9" + ], + "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/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "d0c531ea-7bb5-474b-9d30-546bbcb051fb" + ], + "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": [ + "48584679-e1f7-456a-b654-2dabc6dce67c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201439Z:48584679-e1f7-456a-b654-2dabc6dce67c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:14:38 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/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZDBjNTMxZWEtN2JiNS00NzRiLTlkMzAtNTQ2YmJjYjA1MWZiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "e5947935-5ca8-4557-a098-c7d25fd54bc4" + ], + "x-ms-correlation-request-id": [ + "e5947935-5ca8-4557-a098-c7d25fd54bc4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201509Z:e5947935-5ca8-4557-a098-c7d25fd54bc4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:09 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/d0c531ea-7bb5-474b-9d30-546bbcb051fb?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": [ + "5f464d18-2399-4f4d-806d-4ba47114bffc" + ], + "x-ms-correlation-request-id": [ + "5f464d18-2399-4f4d-806d-4ba47114bffc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201510Z:5f464d18-2399-4f4d-806d-4ba47114bffc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:09 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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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": [ + "4b6b5331-6047-4ea4-84da-4891f2cd8c9a" + ], + "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": [ + "485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + ], + "x-ms-correlation-request-id": [ + "485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201510Z:485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:09 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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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": [ + "dbfe1675-349b-4f40-b14a-ab1dd7be1bb0" + ], + "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": [ + "85d12d99-0e55-47cb-9d0e-8ab979549a46" + ], + "x-ms-correlation-request-id": [ + "85d12d99-0e55-47cb-9d0e-8ab979549a46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201510Z:85d12d99-0e55-47cb-9d0e-8ab979549a46" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:09 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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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": [ + "882f4eb3-33d1-460b-a64d-ec16fb2927ba" + ], + "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": [ + "b8d7acc1-2d0c-4ae0-8688-36c133352491" + ], + "x-ms-correlation-request-id": [ + "b8d7acc1-2d0c-4ae0-8688-36c133352491" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201510Z:b8d7acc1-2d0c-4ae0-8688-36c133352491" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:10 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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\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": [ + "ce53c33f-090c-4b15-aa58-c2425ed1f760" + ], + "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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "b7dc0121-4a15-4385-a471-b3011b4aeba4" + ], + "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": [ + "999353e1-0839-45b2-a908-97297faea889" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201511Z:999353e1-0839-45b2-a908-97297faea889" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15: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/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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYjdkYzAxMjEtNGExNS00Mzg1LWE0NzEtYjMwMTFiNGFlYmE0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "ee050a4a-4036-4994-8d25-12f2699bf1b9" + ], + "x-ms-correlation-request-id": [ + "ee050a4a-4036-4994-8d25-12f2699bf1b9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201541Z:ee050a4a-4036-4994-8d25-12f2699bf1b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15: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/b7dc0121-4a15-4385-a471-b3011b4aeba4?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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxL29wZXJhdGlvblJlc3VsdHMvYjdkYzAxMjEtNGExNS00Mzg1LWE0NzEtYjMwMTFiNGFlYmE0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "a5098f2b-740a-4fc5-993f-a82214da46ef" + ], + "x-ms-correlation-request-id": [ + "a5098f2b-740a-4fc5-993f-a82214da46ef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201541Z:a5098f2b-740a-4fc5-993f-a82214da46ef" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:41 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/b7dc0121-4a15-4385-a471-b3011b4aeba4?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": [ + "3834bcb6-26b1-41f7-b093-a8ce18f4bc31" + ], + "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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "8b0626bb-6980-4eef-b23f-a50f3aecb35e" + ], + "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": [ + "bca08b2a-0849-4bfc-8485-cf4991c725f3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201542Z:bca08b2a-0849-4bfc-8485-cf4991c725f3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:15:41 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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOGIwNjI2YmItNjk4MC00ZWVmLWIyM2YtYTUwZjNhZWNiMzVlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + ], + "x-ms-correlation-request-id": [ + "cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201613Z:cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16: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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9vcGVyYXRpb25SZXN1bHRzLzhiMDYyNmJiLTY5ODAtNGVlZi1iMjNmLWE1MGYzYWVjYjM1ZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": [ + "9c3f8d8b-0417-4ade-a463-9a2870e37816" + ], + "x-ms-correlation-request-id": [ + "9c3f8d8b-0417-4ade-a463-9a2870e37816" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201613Z:9c3f8d8b-0417-4ade-a463-9a2870e37816" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:16: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/db1002/gremlinDatabases/dbName2/operationResults/8b0626bb-6980-4eef-b23f-a50f3aecb35e?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..578c536a4dce --- /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": [ + "045c4b07-79c8-4f98-ac52-4d4e67e30ee7" + ], + "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/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "a12537eb-2ca0-4806-ade8-463746830588" + ], + "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": [ + "854c19a1-a311-4e41-99df-590d40a043c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202140Z:854c19a1-a311-4e41-99df-590d40a043c4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21:40 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/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTEyNTM3ZWItMmNhMC00ODA2LWFkZTgtNDYzNzQ2ODMwNTg4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "3291e4e2-f3fe-4315-a621-b642cfa2d183" + ], + "x-ms-correlation-request-id": [ + "3291e4e2-f3fe-4315-a621-b642cfa2d183" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202211Z:3291e4e2-f3fe-4315-a621-b642cfa2d183" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22: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/eastus/operationsStatus/a12537eb-2ca0-4806-ade8-463746830588?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": [ + "76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + ], + "x-ms-correlation-request-id": [ + "76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202211Z:76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:10 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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\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": [ + "f8e8829e-3db7-4e75-8c50-b9cc699e287e" + ], + "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": [ + "68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + ], + "x-ms-correlation-request-id": [ + "68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202243Z:68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:42 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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\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": [ + "a9bb545d-f063-4d50-9c6b-9273d9c5c80b" + ], + "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/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "189f8fa9-8af6-4989-ac84-676e9d6ee68c" + ], + "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": [ + "e871deb1-c74c-4846-bffa-a83a01c6de41" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202212Z:e871deb1-c74c-4846-bffa-a83a01c6de41" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:11 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/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTg5ZjhmYTktOGFmNi00OTg5LWFjODQtNjc2ZTlkNmVlNjhjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "9edb45cd-9a21-412e-a677-e47cbb3b1076" + ], + "x-ms-correlation-request-id": [ + "9edb45cd-9a21-412e-a677-e47cbb3b1076" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202242Z:9edb45cd-9a21-412e-a677-e47cbb3b1076" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22: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/189f8fa9-8af6-4989-ac84-676e9d6ee68c?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": [ + "fce72b5e-f454-498b-9731-f0b521017dda" + ], + "x-ms-correlation-request-id": [ + "fce72b5e-f454-498b-9731-f0b521017dda" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202242Z:fce72b5e-f454-498b-9731-f0b521017dda" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:42 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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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": [ + "3122fd25-9af3-40f8-bd1a-3b0232944e4a" + ], + "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": [ + "e573d25a-1fa7-4e61-ae3e-1691786e157f" + ], + "x-ms-correlation-request-id": [ + "e573d25a-1fa7-4e61-ae3e-1691786e157f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202243Z:e573d25a-1fa7-4e61-ae3e-1691786e157f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:42 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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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": [ + "1a4e5049-ccd7-4217-b5a4-d64b401ad8e0" + ], + "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": [ + "00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + ], + "x-ms-correlation-request-id": [ + "00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202243Z:00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:42 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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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": [ + "7a044118-bb6a-4278-af62-98d6a9b3e9da" + ], + "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": [ + "0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + ], + "x-ms-correlation-request-id": [ + "0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202243Z:0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:42 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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\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": [ + "5d06f64c-2939-494c-bc81-9cf7580a2d3c" + ], + "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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "2af3c9ed-16a4-4bad-b3ff-199a787521fc" + ], + "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": [ + "3897d3a0-5f39-43dd-a08c-f3b6a64377e0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202243Z:3897d3a0-5f39-43dd-a08c-f3b6a64377e0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:22:43 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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmFmM2M5ZWQtMTZhNC00YmFkLWIzZmYtMTk5YTc4NzUyMWZjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "f7c434f9-7485-489c-9e08-21c45364cd2a" + ], + "x-ms-correlation-request-id": [ + "f7c434f9-7485-489c-9e08-21c45364cd2a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202314Z:f7c434f9-7485-489c-9e08-21c45364cd2a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:23:14 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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjEvb3BlcmF0aW9uUmVzdWx0cy8yYWYzYzllZC0xNmE0LTRiYWQtYjNmZi0xOTlhNzg3NTIxZmM/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": [ + "9c52b64e-5c42-4ab6-84b9-593c270db5c5" + ], + "x-ms-correlation-request-id": [ + "9c52b64e-5c42-4ab6-84b9-593c270db5c5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202314Z:9c52b64e-5c42-4ab6-84b9-593c270db5c5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:23:14 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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?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": [ + "2c033c93-b9f1-4c6c-b9f8-ff7a3372c7e0" + ], + "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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "1bac7f44-8c2d-45d1-bdac-4cb2bc38f031" + ], + "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": [ + "aac60377-f0b9-4edb-b215-f25ebbe933d8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202315Z:aac60377-f0b9-4edb-b215-f25ebbe933d8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:23:15 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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMWJhYzdmNDQtOGMyZC00NWQxLWJkYWMtNGNiMmJjMzhmMDMxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "627dbfa3-0900-4343-bee9-e0334a7ba012" + ], + "x-ms-correlation-request-id": [ + "627dbfa3-0900-4343-bee9-e0334a7ba012" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202346Z:627dbfa3-0900-4343-bee9-e0334a7ba012" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:23:45 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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy8xYmFjN2Y0NC04YzJkLTQ1ZDEtYmRhYy00Y2IyYmMzOGYwMzE/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": [ + "1f812cdc-732a-4a0d-8a74-db97b107ac29" + ], + "x-ms-correlation-request-id": [ + "1f812cdc-732a-4a0d-8a74-db97b107ac29" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202346Z:1f812cdc-732a-4a0d-8a74-db97b107ac29" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:23:45 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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?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..1187bb427f63 --- /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": [ + "a44ba723-28d4-4df4-984a-7b9f342a86b9" + ], + "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": [ + "12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + ], + "x-ms-correlation-request-id": [ + "12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201932Z:12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:19:31 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": [ + "4cd641f4-75d4-4eda-9d93-619ecd5d4f3d" + ], + "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/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "5f4bfa51-df24-42da-92e6-1840e78589c5" + ], + "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": [ + "ff940738-24ec-4031-a078-599122a488bb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T201933Z:ff940738-24ec-4031-a078-599122a488bb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:19: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/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/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWY0YmZhNTEtZGYyNC00MmRhLTkyZTYtMTg0MGU3ODU4OWM1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "532f4f22-9c82-47e1-9d92-fb034a2b889e" + ], + "x-ms-correlation-request-id": [ + "532f4f22-9c82-47e1-9d92-fb034a2b889e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202003Z:532f4f22-9c82-47e1-9d92-fb034a2b889e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20: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/5f4bfa51-df24-42da-92e6-1840e78589c5?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": [ + "0408f88e-f26a-4a26-b0c3-eac0839977e1" + ], + "x-ms-correlation-request-id": [ + "0408f88e-f26a-4a26-b0c3-eac0839977e1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202004Z:0408f88e-f26a-4a26-b0c3-eac0839977e1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:04 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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\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": [ + "59cd1c66-80af-483b-9a1a-d536bdd3c30d" + ], + "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": [ + "d103e4d8-1b67-4158-baf9-ecfab40f184e" + ], + "x-ms-correlation-request-id": [ + "d103e4d8-1b67-4158-baf9-ecfab40f184e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202035Z:d103e4d8-1b67-4158-baf9-ecfab40f184e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:35 GMT" + ], + "Content-Length": [ + "390" + ], + "Content-Type": [ + "application/json" + ], + "Content-Location": [ + "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\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": [ + "81c6f3a7-bb95-4aa2-aa53-de9dd651f98d" + ], + "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/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "e8f9e10f-91a3-4446-8ab2-0bd810dcab6a" + ], + "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": [ + "080ba186-ab48-4c74-8af0-db73f52baaae" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202004Z:080ba186-ab48-4c74-8af0-db73f52baaae" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20: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/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/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZThmOWUxMGYtOTFhMy00NDQ2LThhYjItMGJkODEwZGNhYjZhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "4aa552b7-1eec-45e9-92d0-d356cfd50d30" + ], + "x-ms-correlation-request-id": [ + "4aa552b7-1eec-45e9-92d0-d356cfd50d30" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202035Z:4aa552b7-1eec-45e9-92d0-d356cfd50d30" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20: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/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?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": [ + "830169d3-ff9f-4428-ba35-1801cd8a7737" + ], + "x-ms-correlation-request-id": [ + "830169d3-ff9f-4428-ba35-1801cd8a7737" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202035Z:830169d3-ff9f-4428-ba35-1801cd8a7737" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:35 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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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": [ + "3d82dc88-b648-48aa-bbdb-f8d20fcaa7da" + ], + "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": [ + "576336a9-e7de-4ae7-8c2e-107f506a9ff4" + ], + "x-ms-correlation-request-id": [ + "576336a9-e7de-4ae7-8c2e-107f506a9ff4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202035Z:576336a9-e7de-4ae7-8c2e-107f506a9ff4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:35 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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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": [ + "819940b2-3fda-461a-83c7-bee4d8bccf03" + ], + "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": [ + "83b1d7cf-e123-4950-9c87-ab541aeae14d" + ], + "x-ms-correlation-request-id": [ + "83b1d7cf-e123-4950-9c87-ab541aeae14d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202036Z:83b1d7cf-e123-4950-9c87-ab541aeae14d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:35 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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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": [ + "dfeb4d55-a6d0-4e27-84c7-e294ed3a8369" + ], + "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": [ + "9bd975f8-9d08-42b8-b7e3-c271014d5762" + ], + "x-ms-correlation-request-id": [ + "9bd975f8-9d08-42b8-b7e3-c271014d5762" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202036Z:9bd975f8-9d08-42b8-b7e3-c271014d5762" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:35 GMT" + ], + "Content-Length": [ + "402" + ], + "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/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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\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": [ + "1bd23946-4eff-4aad-8555-3ef0f41114c6" + ], + "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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "30f5ab17-5607-480b-b951-2039e1a53481" + ], + "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": [ + "565bba8f-1d1d-4862-809d-1aac4fe0d36c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202036Z:565bba8f-1d1d-4862-809d-1aac4fe0d36c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:20:36 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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzBmNWFiMTctNTYwNy00ODBiLWI5NTEtMjAzOWUxYTUzNDgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + ], + "x-ms-correlation-request-id": [ + "dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202106Z:dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21: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/30f5ab17-5607-480b-b951-2039e1a53481?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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yL29wZXJhdGlvblJlc3VsdHMvMzBmNWFiMTctNTYwNy00ODBiLWI5NTEtMjAzOWUxYTUzNDgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "b6ae1153-5b45-43c1-b437-4b36dd092dbb" + ], + "x-ms-correlation-request-id": [ + "b6ae1153-5b45-43c1-b437-4b36dd092dbb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202107Z:b6ae1153-5b45-43c1-b437-4b36dd092dbb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21:07 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/30f5ab17-5607-480b-b951-2039e1a53481?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": [ + "0fc8c5c0-f5b7-4ef7-9d83-527a6c13cd57" + ], + "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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5" + ], + "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": [ + "dee47a8f-cf5e-4d43-85ab-d0c9188bf131" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202107Z:dee47a8f-cf5e-4d43-85ab-d0c9188bf131" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21:06 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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2RkNGE4N2MtNDNlMS00ZGVlLTg1OTYtM2I5ZmM3ZGFmOGY1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "11171" + ], + "x-ms-request-id": [ + "253005bc-41c7-4c5c-a82d-0268ba63bb14" + ], + "x-ms-correlation-request-id": [ + "253005bc-41c7-4c5c-a82d-0268ba63bb14" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202138Z:253005bc-41c7-4c5c-a82d-0268ba63bb14" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21:37 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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvY2RkNGE4N2MtNDNlMS00ZGVlLTg1OTYtM2I5ZmM3ZGFmOGY1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "11170" + ], + "x-ms-request-id": [ + "2e40762f-a32d-44b9-a482-c4056c9908bd" + ], + "x-ms-correlation-request-id": [ + "2e40762f-a32d-44b9-a482-c4056c9908bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T202138Z:2e40762f-a32d-44b9-a482-c4056c9908bd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:21:38 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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?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..f1c31eab2fad 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" + "778ad0ac-3a26-4f1b-a4c2-35bd56a465a7" ], "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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?api-version=2019-08-01" ], "x-ms-request-id": [ - "ab4e5e8c-a28c-4615-9761-98d4be1748b5" + "0b7cad7e-62fc-47d5-8432-db192d8e63b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -54,16 +54,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "14431283-823c-444d-9e08-d7076c93265b" + "70b36d75-a3d1-4cf0-8f8b-b8170f73d66a" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221008Z:14431283-823c-444d-9e08-d7076c93265b" + "WESTUS:20200122T193656Z:70b36d75-a3d1-4cf0-8f8b-b8170f73d66a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:10:07 GMT" + "Wed, 22 Jan 2020 19:36:56 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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMGI3Y2FkN2UtNjJmYy00N2Q1LTg0MzItZGIxOTJkOGU2M2I0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -111,19 +111,19 @@ "11999" ], "x-ms-request-id": [ - "d7fb31f0-e98a-41df-81f9-197e3aa7850b" + "6a5f07a3-e703-4f18-a098-e37ee8fdedf1" ], "x-ms-correlation-request-id": [ - "d7fb31f0-e98a-41df-81f9-197e3aa7850b" + "6a5f07a3-e703-4f18-a098-e37ee8fdedf1" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221038Z:d7fb31f0-e98a-41df-81f9-197e3aa7850b" + "WESTUS:20200122T193726Z:6a5f07a3-e703-4f18-a098-e37ee8fdedf1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:10:38 GMT" + "Wed, 22 Jan 2020 19:37:26 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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?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": { @@ -171,19 +171,19 @@ "11998" ], "x-ms-request-id": [ - "431cd650-5f42-4e76-87cf-8e58b19336ea" + "26dfd2ef-a070-4fdf-ac2c-2b51da286a99" ], "x-ms-correlation-request-id": [ - "431cd650-5f42-4e76-87cf-8e58b19336ea" + "26dfd2ef-a070-4fdf-ac2c-2b51da286a99" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221038Z:431cd650-5f42-4e76-87cf-8e58b19336ea" + "WESTUS:20200122T193727Z:26dfd2ef-a070-4fdf-ac2c-2b51da286a99" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:10:38 GMT" + "Wed, 22 Jan 2020 19:37:26 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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -205,7 +205,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2826a06f-8c93-4a43-8c21-c8e591a64a05" + "c4f3c30d-9c82-4776-8e39-86817733b734" ], "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" + "11989" ], "x-ms-request-id": [ - "3b484260-ab14-4334-aafd-0e4503e795f8" + "919b6652-8055-4436-bb7b-a82016ad15aa" ], "x-ms-correlation-request-id": [ - "3b484260-ab14-4334-aafd-0e4503e795f8" + "919b6652-8055-4436-bb7b-a82016ad15aa" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221246Z:3b484260-ab14-4334-aafd-0e4503e795f8" + "WESTUS:20200122T193933Z:919b6652-8055-4436-bb7b-a82016ad15aa" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:45 GMT" + "Wed, 22 Jan 2020 19:39:33 GMT" ], "Content-Length": [ "443" @@ -261,7 +261,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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -271,7 +271,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": [ - "93511692-53cb-43de-bcdc-c2676a62f422" + "451844d5-e299-4170-8606-afd4ebe077b9" ], "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" ], "Content-Type": [ "application/json; charset=utf-8" @@ -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/3a75086d-ee20-4fff-a323-3cf94632c6ca?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/3a75086d-ee20-4fff-a323-3cf94632c6ca?api-version=2019-08-01" ], "x-ms-request-id": [ - "b05477bf-b8f1-4025-a7bc-3efeff632ba8" + "3a75086d-ee20-4fff-a323-3cf94632c6ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -318,16 +318,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "6d4d5768-6568-4bdc-a5a5-a277d7d5839e" + "0478a9e7-b819-4e80-8efb-c333c44da6af" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221039Z:6d4d5768-6568-4bdc-a5a5-a277d7d5839e" + "WESTUS:20200122T193728Z:0478a9e7-b819-4e80-8efb-c333c44da6af" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:10:39 GMT" + "Wed, 22 Jan 2020 19:37:27 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/3a75086d-ee20-4fff-a323-3cf94632c6ca?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvM2E3NTA4NmQtZWUyMC00ZmZmLWEzMjMtM2NmOTQ2MzJjNmNhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -375,19 +375,19 @@ "11997" ], "x-ms-request-id": [ - "91799dd7-1666-480c-b84a-af4881a43e0f" + "4d504405-52b0-4cab-8d1a-aaf297bb6ec5" ], "x-ms-correlation-request-id": [ - "91799dd7-1666-480c-b84a-af4881a43e0f" + "4d504405-52b0-4cab-8d1a-aaf297bb6ec5" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221109Z:91799dd7-1666-480c-b84a-af4881a43e0f" + "WESTUS:20200122T193758Z:4d504405-52b0-4cab-8d1a-aaf297bb6ec5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:09 GMT" + "Wed, 22 Jan 2020 19:37:58 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/3a75086d-ee20-4fff-a323-3cf94632c6ca?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": { @@ -435,19 +435,19 @@ "11996" ], "x-ms-request-id": [ - "4ab1c282-b632-4afe-9688-75b6a46154b9" + "4ed67982-c8bc-480d-a9bf-6a4f6305df70" ], "x-ms-correlation-request-id": [ - "4ab1c282-b632-4afe-9688-75b6a46154b9" + "4ed67982-c8bc-480d-a9bf-6a4f6305df70" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221110Z:4ab1c282-b632-4afe-9688-75b6a46154b9" + "WESTUS:20200122T193759Z:4ed67982-c8bc-480d-a9bf-6a4f6305df70" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:10 GMT" + "Wed, 22 Jan 2020 19:37:59 GMT" ], "Content-Length": [ "1033" @@ -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\": \"/\\\"_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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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" + "3301003f-cc9b-47b6-9380-f2506ac2325d" ], "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,22 +498,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11988" ], "x-ms-request-id": [ - "f80133ef-ea42-496e-922d-8d77d45ff65f" + "6e54655a-9f70-42a4-97bf-5f8b214ba52c" ], "x-ms-correlation-request-id": [ - "f80133ef-ea42-496e-922d-8d77d45ff65f" + "6e54655a-9f70-42a4-97bf-5f8b214ba52c" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221246Z:f80133ef-ea42-496e-922d-8d77d45ff65f" + "WESTUS:20200122T193933Z:6e54655a-9f70-42a4-97bf-5f8b214ba52c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:46 GMT" + "Wed, 22 Jan 2020 19:39:33 GMT" ], "Content-Length": [ "1033" @@ -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\": \"/\\\"_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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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" + "5325d380-9311-4c73-96ae-4473d526ae75" ], "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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?api-version=2019-08-01" ], "x-ms-request-id": [ - "d6ff77b4-6f43-4284-8962-522da1a7dc0c" + "5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -582,16 +582,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "9e12fdb8-366e-4a0e-87ed-ab4c9ee751f2" + "aac701d7-2e85-4069-b738-b81bf155bc6f" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221111Z:9e12fdb8-366e-4a0e-87ed-ab4c9ee751f2" + "WESTUS:20200122T193759Z:aac701d7-2e85-4069-b738-b81bf155bc6f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:11 GMT" + "Wed, 22 Jan 2020 19:37:59 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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWIzYzA0NDEtNzlkMy00M2YxLThlYzctN2IwYTVjYjI4OWY3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11995" ], "x-ms-request-id": [ - "3b115eb9-e45c-4c52-8e7d-a020ff9871f6" + "ddfbfbfb-f04b-4c18-9b00-fd67863af72a" ], "x-ms-correlation-request-id": [ - "3b115eb9-e45c-4c52-8e7d-a020ff9871f6" + "ddfbfbfb-f04b-4c18-9b00-fd67863af72a" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221141Z:3b115eb9-e45c-4c52-8e7d-a020ff9871f6" + "WESTUS:20200122T193829Z:ddfbfbfb-f04b-4c18-9b00-fd67863af72a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:41 GMT" + "Wed, 22 Jan 2020 19:38:29 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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?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" + "11994" ], "x-ms-request-id": [ - "779d7293-f7ea-442d-b843-2fc529a7a9bb" + "fa425a47-25bc-4d9c-a852-7373c177599b" ], "x-ms-correlation-request-id": [ - "779d7293-f7ea-442d-b843-2fc529a7a9bb" + "fa425a47-25bc-4d9c-a852-7373c177599b" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221142Z:779d7293-f7ea-442d-b843-2fc529a7a9bb" + "WESTUS:20200122T193830Z:fa425a47-25bc-4d9c-a852-7373c177599b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:41 GMT" + "Wed, 22 Jan 2020 19:38:30 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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -733,7 +733,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0c1113e9-333c-4974-a0eb-cc964903e725" + "f97c1c92-2af1-4020-9fd3-28e32693c7f4" ], "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" + "11987" ], "x-ms-request-id": [ - "3fa4c224-aa58-4c79-a16c-bf0925fce557" + "75298303-b1e5-4478-ad31-0379c238de55" ], "x-ms-correlation-request-id": [ - "3fa4c224-aa58-4c79-a16c-bf0925fce557" + "75298303-b1e5-4478-ad31-0379c238de55" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221246Z:3fa4c224-aa58-4c79-a16c-bf0925fce557" + "WESTUS:20200122T193934Z:75298303-b1e5-4478-ad31-0379c238de55" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:46 GMT" + "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\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" + "377bcbd3-6ed8-4da8-ae2c-ea2e912ffd43" ], "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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?api-version=2019-08-01" ], "x-ms-request-id": [ - "331c5169-d6dc-47c7-b597-d4f39cd70903" + "af2806de-b38b-43b0-a7f0-d6c4bc122aab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -846,16 +846,16 @@ "1196" ], "x-ms-correlation-request-id": [ - "aaae8cbb-2bb8-4376-87bb-00920070c907" + "fc18c0a1-3226-4f5e-859f-8fc21d4e05ed" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221143Z:aaae8cbb-2bb8-4376-87bb-00920070c907" + "WESTUS:20200122T193831Z:fc18c0a1-3226-4f5e-859f-8fc21d4e05ed" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:11:42 GMT" + "Wed, 22 Jan 2020 19:38:30 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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWYyODA2ZGUtYjM4Yi00M2IwLWE3ZjAtZDZjNGJjMTIyYWFiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11993" ], "x-ms-request-id": [ - "25aadd4c-3fac-4057-a611-8dea36417f81" + "d1ed6486-3074-4432-92ea-11b94427c332" ], "x-ms-correlation-request-id": [ - "25aadd4c-3fac-4057-a611-8dea36417f81" + "d1ed6486-3074-4432-92ea-11b94427c332" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221213Z:25aadd4c-3fac-4057-a611-8dea36417f81" + "WESTUS:20200122T193901Z:d1ed6486-3074-4432-92ea-11b94427c332" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:13 GMT" + "Wed, 22 Jan 2020 19:39:00 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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?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" + "11992" ], "x-ms-request-id": [ - "a43b3988-66a4-448c-994f-60d902f02242" + "b5687cda-6ec1-457e-83a3-56a2ef30b076" ], "x-ms-correlation-request-id": [ - "a43b3988-66a4-448c-994f-60d902f02242" + "b5687cda-6ec1-457e-83a3-56a2ef30b076" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221214Z:a43b3988-66a4-448c-994f-60d902f02242" + "WESTUS:20200122T193901Z:b5687cda-6ec1-457e-83a3-56a2ef30b076" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:14 GMT" + "Wed, 22 Jan 2020 19:39:00 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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -997,7 +997,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fe32534a-2d5a-4294-a0bb-f9fc79504dea" + "bf0a08fa-0c31-4b26-9825-30a260f90114" ], "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" + "11986" ], "x-ms-request-id": [ - "b2ff0036-6412-4596-b466-d0dca9a513d7" + "a000404e-1541-4d97-b5e9-bc5ab05df9b0" ], "x-ms-correlation-request-id": [ - "b2ff0036-6412-4596-b466-d0dca9a513d7" + "a000404e-1541-4d97-b5e9-bc5ab05df9b0" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221247Z:b2ff0036-6412-4596-b466-d0dca9a513d7" + "WESTUS:20200122T193934Z:a000404e-1541-4d97-b5e9-bc5ab05df9b0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:46 GMT" + "Wed, 22 Jan 2020 19:39:34 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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\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" + "5f1160bf-f129-4c15-a9b6-486959347cda" ], "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/ce004e02-b458-4ec9-8f69-1928f3265b0d?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/ce004e02-b458-4ec9-8f69-1928f3265b0d?api-version=2019-08-01" ], "x-ms-request-id": [ - "30d8b87b-44ce-4f3e-9873-7bfb3bfe3c23" + "ce004e02-b458-4ec9-8f69-1928f3265b0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1110,16 +1110,16 @@ "1195" ], "x-ms-correlation-request-id": [ - "858e4d07-da3a-45e0-a95c-3d7126a60e00" + "71ec05cf-1e88-47ce-b18a-3e0dd758c91e" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221214Z:858e4d07-da3a-45e0-a95c-3d7126a60e00" + "WESTUS:20200122T193902Z:71ec05cf-1e88-47ce-b18a-3e0dd758c91e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:14 GMT" + "Wed, 22 Jan 2020 19:39:01 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/ce004e02-b458-4ec9-8f69-1928f3265b0d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2UwMDRlMDItYjQ1OC00ZWM5LThmNjktMTkyOGYzMjY1YjBkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11991" ], "x-ms-request-id": [ - "c6f6db7f-1c51-4b8a-9639-000b13fd4c49" + "d232306f-41a7-4f42-8f1e-28a7e95641b5" ], "x-ms-correlation-request-id": [ - "c6f6db7f-1c51-4b8a-9639-000b13fd4c49" + "d232306f-41a7-4f42-8f1e-28a7e95641b5" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221245Z:c6f6db7f-1c51-4b8a-9639-000b13fd4c49" + "WESTUS:20200122T193932Z:d232306f-41a7-4f42-8f1e-28a7e95641b5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:44 GMT" + "Wed, 22 Jan 2020 19:39:32 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/ce004e02-b458-4ec9-8f69-1928f3265b0d?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" + "11990" ], "x-ms-request-id": [ - "0c4acce6-1376-4805-9fef-e227c22e417e" + "f5f99284-9aa4-4249-8ebf-d956cb9dbebf" ], "x-ms-correlation-request-id": [ - "0c4acce6-1376-4805-9fef-e227c22e417e" + "f5f99284-9aa4-4249-8ebf-d956cb9dbebf" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221245Z:0c4acce6-1376-4805-9fef-e227c22e417e" + "WESTUS:20200122T193933Z:f5f99284-9aa4-4249-8ebf-d956cb9dbebf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:45 GMT" + "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -1261,7 +1261,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ca90eb66-99ce-46a5-882c-515ddc0569fc" + "86317302-1c1c-44eb-9d2b-e646da9ff433" ], "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" + "11985" ], "x-ms-request-id": [ - "8d5fef1a-9e06-4bcf-895c-adf735b54004" + "ccd3434f-5900-45ca-8165-661734a32dc5" ], "x-ms-correlation-request-id": [ - "8d5fef1a-9e06-4bcf-895c-adf735b54004" + "ccd3434f-5900-45ca-8165-661734a32dc5" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221247Z:8d5fef1a-9e06-4bcf-895c-adf735b54004" + "WESTUS:20200122T193934Z:ccd3434f-5900-45ca-8165-661734a32dc5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:46 GMT" + "Wed, 22 Jan 2020 19:39:34 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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -1327,7 +1327,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0662614d-e103-47eb-8ef1-3092ec79caeb" + "84ee8fda-026d-472a-b422-c94fcb562844" ], "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": [ - "157feff4-91e4-4a9d-be41-4d4b08dd19a9" + "d3863cfd-236f-44e4-9081-4acdd600f634" ], "x-ms-correlation-request-id": [ - "157feff4-91e4-4a9d-be41-4d4b08dd19a9" + "d3863cfd-236f-44e4-9081-4acdd600f634" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221247Z:157feff4-91e4-4a9d-be41-4d4b08dd19a9" + "WESTUS:20200122T193935Z:d3863cfd-236f-44e4-9081-4acdd600f634" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:47 GMT" + "Wed, 22 Jan 2020 19:39:34 GMT" ], "Content-Length": [ "969" @@ -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\": \"/\\\"_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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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" + "35fe0f0d-6338-428b-8ef2-5e06fb09223b" ], "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": [ - "ff8e4b83-b9e1-4880-b343-e8698ec01942" + "7a79e1aa-85b3-404e-860f-16ce0b60908d" ], "x-ms-correlation-request-id": [ - "ff8e4b83-b9e1-4880-b343-e8698ec01942" + "7a79e1aa-85b3-404e-860f-16ce0b60908d" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221248Z:ff8e4b83-b9e1-4880-b343-e8698ec01942" + "WESTUS:20200122T193935Z:7a79e1aa-85b3-404e-860f-16ce0b60908d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:47 GMT" + "Wed, 22 Jan 2020 19:39:35 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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\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" + "956fc724-6776-4f35-a071-4be709fb0c1d" ], "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" + "11982" ], "x-ms-request-id": [ - "49778078-d1fc-4dfd-9b14-4864d92f917e" + "bb84ba23-882b-480e-ae9e-2f2e56e98ed3" ], "x-ms-correlation-request-id": [ - "49778078-d1fc-4dfd-9b14-4864d92f917e" + "bb84ba23-882b-480e-ae9e-2f2e56e98ed3" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221248Z:49778078-d1fc-4dfd-9b14-4864d92f917e" + "WESTUS:20200122T193935Z:bb84ba23-882b-480e-ae9e-2f2e56e98ed3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:47 GMT" + "Wed, 22 Jan 2020 19:39:35 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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\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" + "2b680bf1-54b5-4680-8e78-20f63708c5e6" ], "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": [ - "fa54ee1b-b3bc-4aa1-be56-efc8077becd8" + "163d07d5-84d5-434e-96b7-cd45a8c1f590" ], "x-ms-correlation-request-id": [ - "fa54ee1b-b3bc-4aa1-be56-efc8077becd8" + "163d07d5-84d5-434e-96b7-cd45a8c1f590" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221248Z:fa54ee1b-b3bc-4aa1-be56-efc8077becd8" + "WESTUS:20200122T193936Z:163d07d5-84d5-434e-96b7-cd45a8c1f590" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:48 GMT" + "Wed, 22 Jan 2020 19:39:35 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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\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" + "68cd828a-dd1f-4563-af16-2616bbe34568" ], "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" + "11980" ], "x-ms-request-id": [ - "f9a18d96-b58c-4b6c-8ba0-53837eb372a3" + "5ab06461-9e77-49c2-9374-69de5d45922c" ], "x-ms-correlation-request-id": [ - "f9a18d96-b58c-4b6c-8ba0-53837eb372a3" + "5ab06461-9e77-49c2-9374-69de5d45922c" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221248Z:f9a18d96-b58c-4b6c-8ba0-53837eb372a3" + "WESTUS:20200122T193936Z:5ab06461-9e77-49c2-9374-69de5d45922c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:48 GMT" + "Wed, 22 Jan 2020 19:39:35 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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\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" + "63876abe-e3c8-419b-9283-211865dc4aee" ], "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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01" ], "x-ms-request-id": [ - "f76f74e3-be01-4685-8135-8195cbb4e762" + "a26fa2fc-9033-4701-b9be-79ad752cdbdc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1698,16 +1698,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "70e941e9-287d-4b1a-825c-58f4f43cd8e1" + "b00f36eb-a1ae-45da-9bad-ec7588e58e71" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221249Z:70e941e9-287d-4b1a-825c-58f4f43cd8e1" + "WESTUS:20200122T193936Z:b00f36eb-a1ae-45da-9bad-ec7588e58e71" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:12:48 GMT" + "Wed, 22 Jan 2020 19:39:36 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTI2ZmEyZmMtOTAzMy00NzAxLWI5YmUtNzlhZDc1MmNkYmRjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11979" ], "x-ms-request-id": [ - "8604489a-c7bb-427d-a0d8-0b623ee89e1e" + "0ec9e917-39dc-4273-bf63-1be409d045bb" ], "x-ms-correlation-request-id": [ - "8604489a-c7bb-427d-a0d8-0b623ee89e1e" + "0ec9e917-39dc-4273-bf63-1be409d045bb" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221319Z:8604489a-c7bb-427d-a0d8-0b623ee89e1e" + "WESTUS:20200122T194006Z:0ec9e917-39dc-4273-bf63-1be409d045bb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:18 GMT" + "Wed, 22 Jan 2020 19:40:06 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlL29wZXJhdGlvblJlc3VsdHMvYTI2ZmEyZmMtOTAzMy00NzAxLWI5YmUtNzlhZDc1MmNkYmRjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11978" ], "x-ms-request-id": [ - "60546ac7-1127-43c5-83b0-376126a7d2dd" + "1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" ], "x-ms-correlation-request-id": [ - "60546ac7-1127-43c5-83b0-376126a7d2dd" + "1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221319Z:60546ac7-1127-43c5-83b0-376126a7d2dd" + "WESTUS:20200122T194006Z:1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:19 GMT" + "Wed, 22 Jan 2020 19:40:06 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -1846,7 +1846,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "81514a59-f366-4dee-b5e9-106833091bec" + "4be89287-8ab6-4c7e-b514-2ebfcd4c0f75" ], "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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01" ], "x-ms-request-id": [ - "770bd839-666a-4b6c-a182-e5e1a5229564" + "0926e9ce-2cf0-4667-b3aa-e3b41821803d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1884,19 +1884,19 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "14998" ], "x-ms-correlation-request-id": [ - "e830152b-e3f9-4dca-b065-4d383ad2ff49" + "5a8e0493-b5c8-485f-a3dc-b9b5a05121da" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221320Z:e830152b-e3f9-4dca-b065-4d383ad2ff49" + "WESTUS:20200122T194008Z:5a8e0493-b5c8-485f-a3dc-b9b5a05121da" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:20 GMT" + "Wed, 22 Jan 2020 19:40:07 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDkyNmU5Y2UtMmNmMC00NjY3LWIzYWEtZTNiNDE4MjE4MDNkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11977" ], "x-ms-request-id": [ - "3ff7f48a-69a8-4042-96ba-07fdcb90662d" + "89db864e-3931-4c22-9165-d1a7d924ebef" ], "x-ms-correlation-request-id": [ - "3ff7f48a-69a8-4042-96ba-07fdcb90662d" + "89db864e-3931-4c22-9165-d1a7d924ebef" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221351Z:3ff7f48a-69a8-4042-96ba-07fdcb90662d" + "WESTUS:20200122T194038Z:89db864e-3931-4c22-9165-d1a7d924ebef" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:50 GMT" + "Wed, 22 Jan 2020 19:40:37 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzL3RyaWdnZXIvb3BlcmF0aW9uUmVzdWx0cy8wOTI2ZTljZS0yY2YwLTQ2NjctYjNhYS1lM2I0MTgyMTgwM2Q/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" + "11976" ], "x-ms-request-id": [ - "9aec2e11-1340-48fe-b571-7132ec9dcbb6" + "b0a01de8-2225-4634-a5b0-113ce71f5b92" ], "x-ms-correlation-request-id": [ - "9aec2e11-1340-48fe-b571-7132ec9dcbb6" + "b0a01de8-2225-4634-a5b0-113ce71f5b92" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221351Z:9aec2e11-1340-48fe-b571-7132ec9dcbb6" + "WESTUS:20200122T194038Z:b0a01de8-2225-4634-a5b0-113ce71f5b92" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:50 GMT" + "Wed, 22 Jan 2020 19:40:37 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2035,7 +2035,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f07a4cdc-256b-4fcd-854c-f047dad3c338" + "7158e61f-3ed5-4d2b-b3cd-4b9042b7b027" ], "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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01" ], "x-ms-request-id": [ - "62909225-d15f-4721-8ceb-caaadb96287a" + "a8884468-5aae-4a3d-8227-cffa55ed0ff0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2076,16 +2076,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "501108fe-ae71-41cd-9e45-b7c9b31d8c12" + "8b5dbcb2-4417-4705-b8db-e6555381313b" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221351Z:501108fe-ae71-41cd-9e45-b7c9b31d8c12" + "WESTUS:20200122T194039Z:8b5dbcb2-4417-4705-b8db-e6555381313b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:13:50 GMT" + "Wed, 22 Jan 2020 19:40:39 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTg4ODQ0NjgtNWFhZS00YTNkLTgyMjctY2ZmYTU1ZWQwZmYwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" ], "x-ms-correlation-request-id": [ - "8fcf6ad2-baa6-4b61-b631-31b865e877da" + "837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221422Z:8fcf6ad2-baa6-4b61-b631-31b865e877da" + "WESTUS:20200122T194109Z:837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:22 GMT" + "Wed, 22 Jan 2020 19:41:09 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VkZi9vcGVyYXRpb25SZXN1bHRzL2E4ODg0NDY4LTVhYWUtNGEzZC04MjI3LWNmZmE1NWVkMGZmMD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", "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" + "3f367b4e-a6b4-4973-a763-504eee3c279c" ], "x-ms-correlation-request-id": [ - "35be201f-1702-4f73-9ff3-ef93ee7d4832" + "3f367b4e-a6b4-4973-a763-504eee3c279c" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221422Z:35be201f-1702-4f73-9ff3-ef93ee7d4832" + "WESTUS:20200122T194110Z:3f367b4e-a6b4-4973-a763-504eee3c279c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:22 GMT" + "Wed, 22 Jan 2020 19:41:09 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2224,7 +2224,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "10d31d6f-cfd9-43d7-ab7b-71b29b714ff2" + "df1901bf-ef6f-4277-ae58-4a7e2bda935e" ], "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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01" ], "x-ms-request-id": [ - "7d37030c-25cc-46ed-8d37-1b8d047af09e" + "4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2265,16 +2265,16 @@ "14998" ], "x-ms-correlation-request-id": [ - "afe07650-41ee-4db7-b7c8-9f6e8354a26e" + "b00942d9-9349-4b12-8147-e61de7e38cf8" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221422Z:afe07650-41ee-4db7-b7c8-9f6e8354a26e" + "WESTUS:20200122T194110Z:b00942d9-9349-4b12-8147-e61de7e38cf8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:22 GMT" + "Wed, 22 Jan 2020 19:41:10 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGJjYTBmN2YtOWYzZS00ZWRmLWE5YzgtOGEwZmI0MDNiMjkxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2322,19 +2322,19 @@ "11997" ], "x-ms-request-id": [ - "f4f083ee-3b4a-4a15-af9e-dd78c93f8600" + "ca49d808-7827-4406-83c0-90021e788566" ], "x-ms-correlation-request-id": [ - "f4f083ee-3b4a-4a15-af9e-dd78c93f8600" + "ca49d808-7827-4406-83c0-90021e788566" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221453Z:f4f083ee-3b4a-4a15-af9e-dd78c93f8600" + "WESTUS:20200122T194141Z:ca49d808-7827-4406-83c0-90021e788566" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:52 GMT" + "Wed, 22 Jan 2020 19:41:40 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL29wZXJhdGlvblJlc3VsdHMvNGJjYTBmN2YtOWYzZS00ZWRmLWE5YzgtOGEwZmI0MDNiMjkxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2382,25 +2382,25 @@ "11996" ], "x-ms-request-id": [ - "8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca" + "d5217543-1b8c-45c9-b4f4-f05e159635ae" ], "x-ms-correlation-request-id": [ - "8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca" + "d5217543-1b8c-45c9-b4f4-f05e159635ae" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221453Z:8ae2e592-52b3-47d5-8b3e-c3b5e9b711ca" + "WESTUS:20200122T194141Z:d5217543-1b8c-45c9-b4f4-f05e159635ae" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:52 GMT" + "Wed, 22 Jan 2020 19:41:40 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2413,7 +2413,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4da6e9d0-7a86-4f07-9a97-771189277796" + "8f9b0cd9-b158-490b-91da-1af1a66d64e4" ], "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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?api-version=2019-08-01" ], "x-ms-request-id": [ - "76e4ed0d-d2f6-40f5-a6d2-96d0c23c55f1" + "e8b50fc6-0092-4c1c-87ab-bed4f54c14ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2454,16 +2454,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "71ad4dd9-0060-466f-a42a-a0bb61d69f53" + "0580d51d-f8d4-483b-9272-7fe8398c71bb" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221453Z:71ad4dd9-0060-466f-a42a-a0bb61d69f53" + "WESTUS:20200122T194142Z:0580d51d-f8d4-483b-9272-7fe8398c71bb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:14:53 GMT" + "Wed, 22 Jan 2020 19:41:41 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZThiNTBmYzYtMDA5Mi00YzFjLTg3YWItYmVkNGY1NGMxNGVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "dddc1e6a-a433-4119-b940-21c9713623cc" ], "x-ms-correlation-request-id": [ - "e68a25e8-bb93-4aa4-a437-2d563fa2b004" + "dddc1e6a-a433-4119-b940-21c9713623cc" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221524Z:e68a25e8-bb93-4aa4-a437-2d563fa2b004" + "WESTUS:20200122T194212Z:dddc1e6a-a433-4119-b940-21c9713623cc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:15:23 GMT" + "Wed, 22 Jan 2020 19:42:12 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy9lOGI1MGZjNi0wMDkyLTRjMWMtODdhYi1iZWQ0ZjU0YzE0ZWM/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" + "ac69b091-aabf-439b-9507-ae141941e56c" ], "x-ms-correlation-request-id": [ - "d6cde6b7-80db-439e-bb90-6bef4d7d02be" + "ac69b091-aabf-439b-9507-ae141941e56c" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221524Z:d6cde6b7-80db-439e-bb90-6bef4d7d02be" + "WESTUS:20200122T194212Z:ac69b091-aabf-439b-9507-ae141941e56c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:15:23 GMT" + "Wed, 22 Jan 2020 19:42:12 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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..ae78ae729180 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" + "d1715364-738d-4317-9dd5-1f8daeb1bc57" ], "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" + "11997" ], "x-ms-request-id": [ - "f83257e5-8c40-47c4-aba5-cf1173b5225c" + "606f9131-93bd-4ff1-be8f-26a41f48ada3" ], "x-ms-correlation-request-id": [ - "f83257e5-8c40-47c4-aba5-cf1173b5225c" + "606f9131-93bd-4ff1-be8f-26a41f48ada3" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221550Z:f83257e5-8c40-47c4-aba5-cf1173b5225c" + "WESTUS:20200122T194216Z:606f9131-93bd-4ff1-be8f-26a41f48ada3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:15:49 GMT" + "Wed, 22 Jan 2020 19:42:16 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" + "14dc6a38-435b-48eb-abaa-778c22b56b6a" ], "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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?api-version=2019-08-01" ], "x-ms-request-id": [ - "5d5354b8-5ad3-4534-b91f-25b809dd6a12" + "dc29b709-ca3d-4e47-9d11-e3ce82171cc2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "9bfbd40c-4013-452b-aa6d-ccef56291e02" + "e1a2017c-adcd-470b-93d2-e5cfd357e663" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221551Z:9bfbd40c-4013-452b-aa6d-ccef56291e02" + "WESTUS:20200122T194217Z:e1a2017c-adcd-470b-93d2-e5cfd357e663" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:15:50 GMT" + "Wed, 22 Jan 2020 19:42:17 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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZGMyOWI3MDktY2EzZC00ZTQ3LTlkMTEtZTNjZTgyMTcxY2MyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11996" ], "x-ms-request-id": [ - "f0701f21-42e7-434c-ac19-527b4ec026c9" + "aae7d807-56f5-405c-8526-a34172911ada" ], "x-ms-correlation-request-id": [ - "f0701f21-42e7-434c-ac19-527b4ec026c9" + "aae7d807-56f5-405c-8526-a34172911ada" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221621Z:f0701f21-42e7-434c-ac19-527b4ec026c9" + "WESTUS:20200122T194247Z:aae7d807-56f5-405c-8526-a34172911ada" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:20 GMT" + "Wed, 22 Jan 2020 19:42:47 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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?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" + "11995" ], "x-ms-request-id": [ - "cddfedf0-5be4-4419-80bc-248df319a722" + "9f58e7eb-169b-438e-a4cc-848de7410a47" ], "x-ms-correlation-request-id": [ - "cddfedf0-5be4-4419-80bc-248df319a722" + "9f58e7eb-169b-438e-a4cc-848de7410a47" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221621Z:cddfedf0-5be4-4419-80bc-248df319a722" + "WESTUS:20200122T194248Z:9f58e7eb-169b-438e-a4cc-848de7410a47" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:21 GMT" + "Wed, 22 Jan 2020 19:42:47 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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "234c9458-97c5-4caf-a6e6-06bf19214f83" + "a6e92a8a-3c80-489e-8cee-355ce3175e39" ], "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" + "11986" ], "x-ms-request-id": [ - "e9560030-6e08-4873-867d-2845e9ebc2c9" + "0d080277-6b79-4cb4-b3e3-e36e3e0354a4" ], "x-ms-correlation-request-id": [ - "e9560030-6e08-4873-867d-2845e9ebc2c9" + "0d080277-6b79-4cb4-b3e3-e36e3e0354a4" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221827Z:e9560030-6e08-4873-867d-2845e9ebc2c9" + "WESTUS:20200122T194454Z:0d080277-6b79-4cb4-b3e3-e36e3e0354a4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:27 GMT" + "Wed, 22 Jan 2020 19:44:53 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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\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" + "d0accf77-156a-483f-b9e8-c38c953a6d1d" ], "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/a8a923f2-af99-4d4c-abf5-b8b31479b529?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/a8a923f2-af99-4d4c-abf5-b8b31479b529?api-version=2019-08-01" ], "x-ms-request-id": [ - "ad54e5da-36db-44f9-ac3a-573fbb6434af" + "a8a923f2-af99-4d4c-abf5-b8b31479b529" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -384,16 +384,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "2bc7198d-d9a9-4c27-b8b2-67b40e434921" + "022abb20-79ca-4d28-a0ae-56cab3bb8833" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221622Z:2bc7198d-d9a9-4c27-b8b2-67b40e434921" + "WESTUS:20200122T194249Z:022abb20-79ca-4d28-a0ae-56cab3bb8833" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:22 GMT" + "Wed, 22 Jan 2020 19:42:48 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/a8a923f2-af99-4d4c-abf5-b8b31479b529?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYThhOTIzZjItYWY5OS00ZDRjLWFiZjUtYjhiMzE0NzliNTI5P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11994" ], "x-ms-request-id": [ - "3c58af7e-77b9-499c-9cf7-2c91ba92d022" + "22aa636b-df6e-44ea-b300-0f4508b12c45" ], "x-ms-correlation-request-id": [ - "3c58af7e-77b9-499c-9cf7-2c91ba92d022" + "22aa636b-df6e-44ea-b300-0f4508b12c45" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221652Z:3c58af7e-77b9-499c-9cf7-2c91ba92d022" + "WESTUS:20200122T194319Z:22aa636b-df6e-44ea-b300-0f4508b12c45" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:52 GMT" + "Wed, 22 Jan 2020 19:43:18 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/a8a923f2-af99-4d4c-abf5-b8b31479b529?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" + "11993" ], "x-ms-request-id": [ - "30dfa645-c185-451f-bf31-532cc856b69a" + "76f9c0d1-2ab6-4940-9e8b-185bb83da779" ], "x-ms-correlation-request-id": [ - "30dfa645-c185-451f-bf31-532cc856b69a" + "76f9c0d1-2ab6-4940-9e8b-185bb83da779" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221653Z:30dfa645-c185-451f-bf31-532cc856b69a" + "WESTUS:20200122T194319Z:76f9c0d1-2ab6-4940-9e8b-185bb83da779" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:53 GMT" + "Wed, 22 Jan 2020 19:43:19 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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" + "ac27df2f-0509-4779-a5dc-c5fe6e8ccad3" ], "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" + "11985" ], "x-ms-request-id": [ - "eb5a9886-cd26-47ba-a023-a172c8e6409c" + "0451b583-f405-4f71-868f-9949ceb9c10d" ], "x-ms-correlation-request-id": [ - "eb5a9886-cd26-47ba-a023-a172c8e6409c" + "0451b583-f405-4f71-868f-9949ceb9c10d" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221827Z:eb5a9886-cd26-47ba-a023-a172c8e6409c" + "WESTUS:20200122T194455Z:0451b583-f405-4f71-868f-9949ceb9c10d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:27 GMT" + "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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" + "d0a7f829-8a4f-4d55-b65c-0d5b1854571e" ], "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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?api-version=2019-08-01" ], "x-ms-request-id": [ - "cc40ad49-31a9-4c84-88af-52713c02866b" + "fe355e56-c5d8-4c2e-8ebf-962ac12c9cde" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -648,16 +648,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "c4af40a2-ec2c-4899-aaae-dac254d5580a" + "c2be9251-31df-4519-aa1f-997022939c48" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221653Z:c4af40a2-ec2c-4899-aaae-dac254d5580a" + "WESTUS:20200122T194320Z:c2be9251-31df-4519-aa1f-997022939c48" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:16:53 GMT" + "Wed, 22 Jan 2020 19:43:19 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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZmUzNTVlNTYtYzVkOC00YzJlLThlYmYtOTYyYWMxMmM5Y2RlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11992" ], "x-ms-request-id": [ - "ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7" + "8b6ca421-fd88-49b9-ac00-f9caf2e59e24" ], "x-ms-correlation-request-id": [ - "ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7" + "8b6ca421-fd88-49b9-ac00-f9caf2e59e24" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221724Z:ab45ab9f-dc75-4cd9-b5dd-d238f599d3b7" + "WESTUS:20200122T194350Z:8b6ca421-fd88-49b9-ac00-f9caf2e59e24" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:23 GMT" + "Wed, 22 Jan 2020 19:43:50 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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?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" + "11991" ], "x-ms-request-id": [ - "9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba" + "7c73d15d-a49b-4a3a-86f2-3da911353757" ], "x-ms-correlation-request-id": [ - "9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba" + "7c73d15d-a49b-4a3a-86f2-3da911353757" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221724Z:9dec814a-d2d0-4ed6-a4b6-c7b397a6ecba" + "WESTUS:20200122T194351Z:7c73d15d-a49b-4a3a-86f2-3da911353757" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:24 GMT" + "Wed, 22 Jan 2020 19:43:51 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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -799,7 +799,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "492558e5-9bb3-47e9-b182-b4ae3cc40af4" + "44e1af0c-b95f-488e-ab02-aa1f386f974a" ], "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" + "11984" ], "x-ms-request-id": [ - "2210da35-51fc-4a24-8fe6-756d4292805e" + "5478f4ba-fc58-4c51-90d3-0a041dc67e27" ], "x-ms-correlation-request-id": [ - "2210da35-51fc-4a24-8fe6-756d4292805e" + "5478f4ba-fc58-4c51-90d3-0a041dc67e27" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221828Z:2210da35-51fc-4a24-8fe6-756d4292805e" + "WESTUS:20200122T194455Z:5478f4ba-fc58-4c51-90d3-0a041dc67e27" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:28 GMT" + "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\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" + "5a51ba89-8a77-448a-8004-bf46ff449c8b" ], "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/541db1a9-e47c-4347-97d1-3ea1af532813?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/541db1a9-e47c-4347-97d1-3ea1af532813?api-version=2019-08-01" ], "x-ms-request-id": [ - "22b1f6f1-e15a-4b21-a536-491b183b634a" + "541db1a9-e47c-4347-97d1-3ea1af532813" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -912,16 +912,16 @@ "1196" ], "x-ms-correlation-request-id": [ - "bd88dd40-5340-473a-a590-277d904e467e" + "e3533e67-5712-4f98-8232-f96152aa0190" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221725Z:bd88dd40-5340-473a-a590-277d904e467e" + "WESTUS:20200122T194351Z:e3533e67-5712-4f98-8232-f96152aa0190" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:25 GMT" + "Wed, 22 Jan 2020 19:43:51 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/541db1a9-e47c-4347-97d1-3ea1af532813?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTQxZGIxYTktZTQ3Yy00MzQ3LTk3ZDEtM2VhMWFmNTMyODEzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11990" ], "x-ms-request-id": [ - "278748a6-7f95-4115-aa01-495971d9031b" + "b8f55b54-d141-4442-974a-b0c92d823da6" ], "x-ms-correlation-request-id": [ - "278748a6-7f95-4115-aa01-495971d9031b" + "b8f55b54-d141-4442-974a-b0c92d823da6" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221755Z:278748a6-7f95-4115-aa01-495971d9031b" + "WESTUS:20200122T194422Z:b8f55b54-d141-4442-974a-b0c92d823da6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:54 GMT" + "Wed, 22 Jan 2020 19:44:21 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/541db1a9-e47c-4347-97d1-3ea1af532813?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" + "11989" ], "x-ms-request-id": [ - "86f7dd38-e88e-4d81-b135-e90974839483" + "57a9c47d-ae6e-43f0-b21d-87ea8caaf682" ], "x-ms-correlation-request-id": [ - "86f7dd38-e88e-4d81-b135-e90974839483" + "57a9c47d-ae6e-43f0-b21d-87ea8caaf682" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221756Z:86f7dd38-e88e-4d81-b135-e90974839483" + "WESTUS:20200122T194422Z:57a9c47d-ae6e-43f0-b21d-87ea8caaf682" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:55 GMT" + "Wed, 22 Jan 2020 19:44:22 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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -1063,7 +1063,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5324181e-e338-4473-b4bf-d8cd28743e71" + "9703c036-963e-4fe5-bf01-6684a05d145f" ], "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" + "11983" ], "x-ms-request-id": [ - "ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48" + "2cf5593e-1e47-446b-af79-be230b48ae44" ], "x-ms-correlation-request-id": [ - "ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48" + "2cf5593e-1e47-446b-af79-be230b48ae44" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221828Z:ad8dda3c-51bf-4c7d-9e70-4f3c6afc9a48" + "WESTUS:20200122T194455Z:2cf5593e-1e47-446b-af79-be230b48ae44" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:28 GMT" + "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\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" + "aecd465a-5a37-4d8b-a9d7-469e2eccf219" ], "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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?api-version=2019-08-01" ], "x-ms-request-id": [ - "7f3b428f-f52a-4d6a-a529-64ed30465ed1" + "ac87b5ec-aa8e-45a7-82da-c96663ce2aaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1176,16 +1176,16 @@ "1195" ], "x-ms-correlation-request-id": [ - "92660dfe-f3d6-4472-ac7b-c945792484a9" + "2ae08100-d123-48c3-88ff-d6c4e37fb7ed" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221756Z:92660dfe-f3d6-4472-ac7b-c945792484a9" + "WESTUS:20200122T194423Z:2ae08100-d123-48c3-88ff-d6c4e37fb7ed" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:17:55 GMT" + "Wed, 22 Jan 2020 19:44:22 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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWM4N2I1ZWMtYWE4ZS00NWE3LTgyZGEtYzk2NjYzY2UyYWFmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11988" ], "x-ms-request-id": [ - "24febb10-1d2d-446f-a6ae-742317f0f38a" + "36b2d005-4a38-4448-9e0b-95050e923317" ], "x-ms-correlation-request-id": [ - "24febb10-1d2d-446f-a6ae-742317f0f38a" + "36b2d005-4a38-4448-9e0b-95050e923317" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221827Z:24febb10-1d2d-446f-a6ae-742317f0f38a" + "WESTUS:20200122T194454Z:36b2d005-4a38-4448-9e0b-95050e923317" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:27 GMT" + "Wed, 22 Jan 2020 19:44:53 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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?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" + "11987" ], "x-ms-request-id": [ - "a8ccdb6f-2c0b-415d-a323-b7c070e0fe14" + "33e68371-bb28-4f7e-b398-a7ff748dec80" ], "x-ms-correlation-request-id": [ - "a8ccdb6f-2c0b-415d-a323-b7c070e0fe14" + "33e68371-bb28-4f7e-b398-a7ff748dec80" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221827Z:a8ccdb6f-2c0b-415d-a323-b7c070e0fe14" + "WESTUS:20200122T194454Z:33e68371-bb28-4f7e-b398-a7ff748dec80" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:27 GMT" + "Wed, 22 Jan 2020 19:44:53 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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -1327,7 +1327,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f22f60ba-3918-443f-9298-d2cbd1165b4b" + "c2b37e2f-3878-4c8e-b417-38d67315c2fc" ], "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" + "11982" ], "x-ms-request-id": [ - "0049ac90-39f5-4b09-87b1-d4907a78c3fa" + "5f5a5048-2635-429e-aace-2d19db28a8f6" ], "x-ms-correlation-request-id": [ - "0049ac90-39f5-4b09-87b1-d4907a78c3fa" + "5f5a5048-2635-429e-aace-2d19db28a8f6" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221828Z:0049ac90-39f5-4b09-87b1-d4907a78c3fa" + "WESTUS:20200122T194455Z:5f5a5048-2635-429e-aace-2d19db28a8f6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:28 GMT" + "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\r\n }\r\n }\r\n}", "StatusCode": 200 }, { @@ -1393,7 +1393,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4e27f55f-242c-45b8-908d-1552843dfcf6" + "f62a3ba2-8b5c-4563-9d83-94a06f74b88e" ], "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" + "11981" ], "x-ms-request-id": [ - "f99223bf-5142-41dd-8f2c-b97d0d0a995b" + "0ca196d6-404c-4831-93b6-b1a281d6f751" ], "x-ms-correlation-request-id": [ - "f99223bf-5142-41dd-8f2c-b97d0d0a995b" + "0ca196d6-404c-4831-93b6-b1a281d6f751" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221829Z:f99223bf-5142-41dd-8f2c-b97d0d0a995b" + "WESTUS:20200122T194456Z:0ca196d6-404c-4831-93b6-b1a281d6f751" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:29 GMT" + "Wed, 22 Jan 2020 19:44:55 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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" + "7c7c96e8-a45b-461a-884c-1f5edb7ddeb4" ], "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" + "11980" ], "x-ms-request-id": [ - "d8eb7401-c30f-46f3-92e2-ca9ef19d60c9" + "382b7817-04d0-4057-a8d6-d6b571517c87" ], "x-ms-correlation-request-id": [ - "d8eb7401-c30f-46f3-92e2-ca9ef19d60c9" + "382b7817-04d0-4057-a8d6-d6b571517c87" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221829Z:d8eb7401-c30f-46f3-92e2-ca9ef19d60c9" + "WESTUS:20200122T194456Z:382b7817-04d0-4057-a8d6-d6b571517c87" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:29 GMT" + "Wed, 22 Jan 2020 19:44:55 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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\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" + "ac37fb7c-21d5-4b2d-958b-371bc39e76a0" ], "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" + "11979" ], "x-ms-request-id": [ - "b15769b2-cee5-4b41-9436-1056ebb68702" + "2ec5ef38-892f-4beb-9c97-063ca5e9c80a" ], "x-ms-correlation-request-id": [ - "b15769b2-cee5-4b41-9436-1056ebb68702" + "2ec5ef38-892f-4beb-9c97-063ca5e9c80a" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221829Z:b15769b2-cee5-4b41-9436-1056ebb68702" + "WESTUS:20200122T194456Z:2ec5ef38-892f-4beb-9c97-063ca5e9c80a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:29 GMT" + "Wed, 22 Jan 2020 19:44:55 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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\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" + "8a535957-05c0-4a25-afe3-6b8497600a05" ], "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" + "11978" ], "x-ms-request-id": [ - "6d76054e-c749-4681-a65c-90a48fa9b77c" + "152af817-f11e-42db-b26f-b643bb2445d3" ], "x-ms-correlation-request-id": [ - "6d76054e-c749-4681-a65c-90a48fa9b77c" + "152af817-f11e-42db-b26f-b643bb2445d3" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221829Z:6d76054e-c749-4681-a65c-90a48fa9b77c" + "WESTUS:20200122T194456Z:152af817-f11e-42db-b26f-b643bb2445d3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:29 GMT" + "Wed, 22 Jan 2020 19:44:55 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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\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" + "d8e2e5bc-2cdd-4dd1-9c54-8f4caedaf138" ], "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" + "11977" ], "x-ms-request-id": [ - "fbd67277-72b0-424f-8a82-7355b084f23b" + "5a819d2d-fbd2-4726-950e-eb3f2c299733" ], "x-ms-correlation-request-id": [ - "fbd67277-72b0-424f-8a82-7355b084f23b" + "5a819d2d-fbd2-4726-950e-eb3f2c299733" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221830Z:fbd67277-72b0-424f-8a82-7355b084f23b" + "WESTUS:20200122T194457Z:5a819d2d-fbd2-4726-950e-eb3f2c299733" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:30 GMT" + "Wed, 22 Jan 2020 19:44:56 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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\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" + "b5243860-3d0d-4368-95b3-8153ccb82d80" ], "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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01" ], "x-ms-request-id": [ - "73c5ce15-f708-44be-a464-80cbc9a2f830" + "f3b70b36-0acb-44e6-b32f-9d6c9f54e51e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1764,16 +1764,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "eae1c6e8-4b47-44f8-ada8-c020c646c0be" + "ba5d9bac-a023-4f51-932b-66a26b2c2643" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221830Z:eae1c6e8-4b47-44f8-ada8-c020c646c0be" + "WESTUS:20200122T194457Z:ba5d9bac-a023-4f51-932b-66a26b2c2643" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:18:30 GMT" + "Wed, 22 Jan 2020 19:44:56 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZjNiNzBiMzYtMGFjYi00NGU2LWIzMmYtOWQ2YzlmNTRlNTFlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "11976" ], "x-ms-request-id": [ - "60b00421-cfe6-4921-85eb-b88580d5df0c" + "46078499-84cc-408e-94ca-ed1464645211" ], "x-ms-correlation-request-id": [ - "60b00421-cfe6-4921-85eb-b88580d5df0c" + "46078499-84cc-408e-94ca-ed1464645211" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221901Z:60b00421-cfe6-4921-85eb-b88580d5df0c" + "WESTUS:20200122T194527Z:46078499-84cc-408e-94ca-ed1464645211" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:00 GMT" + "Wed, 22 Jan 2020 19:45:27 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZS9vcGVyYXRpb25SZXN1bHRzL2YzYjcwYjM2LTBhY2ItNDRlNi1iMzJmLTlkNmM5ZjU0ZTUxZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", "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" + "11975" ], "x-ms-request-id": [ - "92775ee0-4851-43df-97c8-328b3f33bf40" + "bc34df5a-7409-4903-8537-40a2671d35d5" ], "x-ms-correlation-request-id": [ - "92775ee0-4851-43df-97c8-328b3f33bf40" + "bc34df5a-7409-4903-8537-40a2671d35d5" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221901Z:92775ee0-4851-43df-97c8-328b3f33bf40" + "WESTUS:20200122T194527Z:bc34df5a-7409-4903-8537-40a2671d35d5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:00 GMT" + "Wed, 22 Jan 2020 19:45:27 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -1912,7 +1912,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1975467e-cbb1-4a94-aa0f-ef75ca535650" + "4ce27610-2ba9-41b0-8581-9bd486894945" ], "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/9b66d387-faff-40f7-a25d-fe390d5691ad?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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01" ], "x-ms-request-id": [ - "110b38a5-073c-4033-ac5f-21d521bca91f" + "9b66d387-faff-40f7-a25d-fe390d5691ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1953,16 +1953,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "0720172b-d955-4f6f-b37a-56c56505989a" + "6c8f4001-8bff-4a72-944e-d9658348f46b" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221901Z:0720172b-d955-4f6f-b37a-56c56505989a" + "WESTUS:20200122T194528Z:6c8f4001-8bff-4a72-944e-d9658348f46b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:01 GMT" + "Wed, 22 Jan 2020 19:45:28 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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvOWI2NmQzODctZmFmZi00MGY3LWEyNWQtZmUzOTBkNTY5MWFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2007,22 +2007,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11998" ], "x-ms-request-id": [ - "07d5a2f3-5f91-4a77-8519-6b617f55e78a" + "ec953321-7568-42a5-8d56-959bf258b2db" ], "x-ms-correlation-request-id": [ - "07d5a2f3-5f91-4a77-8519-6b617f55e78a" + "ec953321-7568-42a5-8d56-959bf258b2db" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221932Z:07d5a2f3-5f91-4a77-8519-6b617f55e78a" + "WESTUS:20200122T194559Z:ec953321-7568-42a5-8d56-959bf258b2db" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:32 GMT" + "Wed, 22 Jan 2020 19:45:59 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/9b66d387-faff-40f7-a25d-fe390d5691ad?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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycy90cmlnZ2VyL29wZXJhdGlvblJlc3VsdHMvOWI2NmQzODctZmFmZi00MGY3LWEyNWQtZmUzOTBkNTY5MWFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2067,28 +2067,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11997" ], "x-ms-request-id": [ - "59f8e37b-dcc0-4fe8-b13b-dd85b042424e" + "8608ac9c-b938-4037-81e2-28bf13f53c7b" ], "x-ms-correlation-request-id": [ - "59f8e37b-dcc0-4fe8-b13b-dd85b042424e" + "8608ac9c-b938-4037-81e2-28bf13f53c7b" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221932Z:59f8e37b-dcc0-4fe8-b13b-dd85b042424e" + "WESTUS:20200122T194559Z:8608ac9c-b938-4037-81e2-28bf13f53c7b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:32 GMT" + "Wed, 22 Jan 2020 19:45:59 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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2101,7 +2101,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "11b3d00f-0075-44ba-9199-03dcea6dde08" + "5ccbaeef-3726-40ea-9bdd-c0bb02b0f0f8" ], "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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01" ], "x-ms-request-id": [ - "3a54aea5-e8ce-4aeb-9558-730c3b135db8" + "d9bf9845-0579-4b40-9ec0-1c9bf46bd355" ], "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" + "e9b350f1-cd48-4f78-a454-ba2471732d6a" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T221932Z:85c8ffe8-62a3-4161-8316-85e69b3e25e6" + "WESTUS:20200122T194600Z:e9b350f1-cd48-4f78-a454-ba2471732d6a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:19:32 GMT" + "Wed, 22 Jan 2020 19:46:00 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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZDliZjk4NDUtMDU3OS00YjQwLTllYzAtMWM5YmY0NmJkMzU1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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" + "5537a554-06fa-4176-8957-0fdab56311f1" ], "x-ms-correlation-request-id": [ - "ba95b8d8-fa1e-426c-9acb-6fe4d1f4c843" + "5537a554-06fa-4176-8957-0fdab56311f1" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222002Z:ba95b8d8-fa1e-426c-9acb-6fe4d1f4c843" + "WESTUS:20200122T194630Z:5537a554-06fa-4176-8957-0fdab56311f1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:02 GMT" + "Wed, 22 Jan 2020 19:46:29 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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucy91ZGYvb3BlcmF0aW9uUmVzdWx0cy9kOWJmOTg0NS0wNTc5LTRiNDAtOWVjMC0xYzliZjQ2YmQzNTU/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" + "9bf4a52f-aeb1-4c83-baba-6b25e97344cd" ], "x-ms-correlation-request-id": [ - "7d318895-64ef-4fe0-b6ce-2c624c3cf1aa" + "9bf4a52f-aeb1-4c83-baba-6b25e97344cd" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222003Z:7d318895-64ef-4fe0-b6ce-2c624c3cf1aa" + "WESTUS:20200122T194630Z:9bf4a52f-aeb1-4c83-baba-6b25e97344cd" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:02 GMT" + "Wed, 22 Jan 2020 19:46:29 GMT" ], "Content-Type": [ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9921232812/sqlDatabases/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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2290,7 +2290,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2cc119dd-9d7c-453f-a397-2f1b500216c5" + "df0ea7d0-f151-4110-ab85-7755bdc81519" ], "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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01" ], "x-ms-request-id": [ - "4b2e17de-c1a4-4614-ae17-84fa298d8444" + "062ceb7d-e80c-44fc-9964-bb9d720de2ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2331,16 +2331,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "3ea3ac67-cd31-4a67-8823-512dae3dcc62" + "72f64e2f-3604-4959-a4c7-09f2a34a4410" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222003Z:3ea3ac67-cd31-4a67-8823-512dae3dcc62" + "WESTUS:20200122T194631Z:72f64e2f-3604-4959-a4c7-09f2a34a4410" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:03 GMT" + "Wed, 22 Jan 2020 19:46:30 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDYyY2ViN2QtZTgwYy00NGZjLTk5NjQtYmI5ZDcyMGRlMmVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2388,19 +2388,19 @@ "11999" ], "x-ms-request-id": [ - "06039f2a-995c-4f00-a0a9-138261f8f678" + "99186537-d0d5-46e9-9d29-14a5192f8c36" ], "x-ms-correlation-request-id": [ - "06039f2a-995c-4f00-a0a9-138261f8f678" + "99186537-d0d5-46e9-9d29-14a5192f8c36" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222033Z:06039f2a-995c-4f00-a0a9-138261f8f678" + "WESTUS:20200122T194701Z:99186537-d0d5-46e9-9d29-14a5192f8c36" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:32 GMT" + "Wed, 22 Jan 2020 19:47:01 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9vcGVyYXRpb25SZXN1bHRzLzA2MmNlYjdkLWU4MGMtNDRmYy05OTY0LWJiOWQ3MjBkZTJlYz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", "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": { @@ -2448,25 +2448,25 @@ "11998" ], "x-ms-request-id": [ - "561db0be-5f54-4901-afa6-d35ccac0ac88" + "837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" ], "x-ms-correlation-request-id": [ - "561db0be-5f54-4901-afa6-d35ccac0ac88" + "837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222033Z:561db0be-5f54-4901-afa6-d35ccac0ac88" + "WESTUS:20200122T194701Z:837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:33 GMT" + "Wed, 22 Jan 2020 19:47:01 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01" ] }, "ResponseBody": "", @@ -2479,7 +2479,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "186e092a-ea97-4a9c-bca1-664dc1486399" + "df04d221-4612-4214-8845-96f16eed1d68" ], "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/657d060f-3773-4baf-979c-2787c0e0361d?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/657d060f-3773-4baf-979c-2787c0e0361d?api-version=2019-08-01" ], "x-ms-request-id": [ - "ae70ac31-ff49-4e67-94af-9568999e2068" + "657d060f-3773-4baf-979c-2787c0e0361d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2520,16 +2520,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "84484405-39ca-4658-b908-b2ca8a2e1fc9" + "871c0f76-0cd7-4887-b173-02505392125e" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222034Z:84484405-39ca-4658-b908-b2ca8a2e1fc9" + "WESTUS:20200122T194702Z:871c0f76-0cd7-4887-b173-02505392125e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:20:33 GMT" + "Wed, 22 Jan 2020 19:47:01 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/657d060f-3773-4baf-979c-2787c0e0361d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNjU3ZDA2MGYtMzc3My00YmFmLTk3OWMtMjc4N2MwZTAzNjFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2574,22 +2574,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11994" ], "x-ms-request-id": [ - "b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9" + "b2a08433-beeb-474b-94fd-3b405f9fa8fe" ], "x-ms-correlation-request-id": [ - "b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9" + "b2a08433-beeb-474b-94fd-3b405f9fa8fe" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222104Z:b5a1c7d2-8ecd-491d-8ff8-a19a86ced8a9" + "WESTUS:20200122T194732Z:b2a08433-beeb-474b-94fd-3b405f9fa8fe" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:21:04 GMT" + "Wed, 22 Jan 2020 19:47:32 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/657d060f-3773-4baf-979c-2787c0e0361d?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/657d060f-3773-4baf-979c-2787c0e0361d?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvNjU3ZDA2MGYtMzc3My00YmFmLTk3OWMtMjc4N2MwZTAzNjFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", "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": { @@ -2634,28 +2634,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11993" ], "x-ms-request-id": [ - "3a07865f-08ec-4fbe-9040-d56150d24a30" + "0f6ab9d8-7ed1-4c56-b353-824db1775fa7" ], "x-ms-correlation-request-id": [ - "3a07865f-08ec-4fbe-9040-d56150d24a30" + "0f6ab9d8-7ed1-4c56-b353-824db1775fa7" ], "x-ms-routing-request-id": [ - "WESTUS:20200116T222104Z:3a07865f-08ec-4fbe-9040-d56150d24a30" + "WESTUS:20200122T194733Z:0f6ab9d8-7ed1-4c56-b353-824db1775fa7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 16 Jan 2020 22:21:04 GMT" + "Wed, 22 Jan 2020 19:47:32 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/657d060f-3773-4baf-979c-2787c0e0361d?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..15669d7c7b89 --- /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": [ + "d6a4674e-2f1e-4c21-84cb-9dcf4ee6185d" + ], + "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/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "e7b85334-281d-4837-9871-970532a2ecdc" + ], + "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": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "fa87d025-ecc5-49ee-8493-38199e73e881" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200413Z:fa87d025-ecc5-49ee-8493-38199e73e881" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04: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/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/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTdiODUzMzQtMjgxZC00ODM3LTk4NzEtOTcwNTMyYTJlY2RjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "11974" + ], + "x-ms-request-id": [ + "6c02e525-d16d-4a85-9c37-9e5add337026" + ], + "x-ms-correlation-request-id": [ + "6c02e525-d16d-4a85-9c37-9e5add337026" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200444Z:6c02e525-d16d-4a85-9c37-9e5add337026" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:44 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/e7b85334-281d-4837-9871-970532a2ecdc?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": [ + "11973" + ], + "x-ms-request-id": [ + "6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + ], + "x-ms-correlation-request-id": [ + "6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200444Z:6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:44 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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\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": [ + "6b27eb1f-9fe5-4a26-a05f-e3970b6619ff" + ], + "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": [ + "11972" + ], + "x-ms-request-id": [ + "cd9a04ee-6d3b-4411-bc1a-9901e3397947" + ], + "x-ms-correlation-request-id": [ + "cd9a04ee-6d3b-4411-bc1a-9901e3397947" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200444Z:cd9a04ee-6d3b-4411-bc1a-9901e3397947" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:44 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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\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": [ + "cb8baf3b-013c-4aef-a4f0-a5535e73e654" + ], + "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": [ + "11971" + ], + "x-ms-request-id": [ + "b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + ], + "x-ms-correlation-request-id": [ + "b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200444Z:b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:44 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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\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": [ + "8df52e4e-eac9-46d2-af38-9f4dd83f0d82" + ], + "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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "013e420f-9416-4920-8862-7f6545fb03e8" + ], + "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": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "4ba46ebf-0b10-4b29-a362-f72ff692c4c9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200445Z:4ba46ebf-0b10-4b29-a362-f72ff692c4c9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:45 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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDEzZTQyMGYtOTQxNi00OTIwLTg4NjItN2Y2NTQ1ZmIwM2U4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "11971" + ], + "x-ms-request-id": [ + "e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + ], + "x-ms-correlation-request-id": [ + "e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200515Z:e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:05:15 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/013e420f-9416-4920-8862-7f6545fb03e8?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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTEvb3BlcmF0aW9uUmVzdWx0cy8wMTNlNDIwZi05NDE2LTQ5MjAtODg2Mi03ZjY1NDVmYjAzZTg/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": [ + "11970" + ], + "x-ms-request-id": [ + "f613fe47-f191-4f83-a191-5c519b007526" + ], + "x-ms-correlation-request-id": [ + "f613fe47-f191-4f83-a191-5c519b007526" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200515Z:f613fe47-f191-4f83-a191-5c519b007526" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:05:15 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/013e420f-9416-4920-8862-7f6545fb03e8?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..f0e947eac479 --- /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": [ + "3caef5f1-8ef1-48f6-988e-a9b47c0c2de4" + ], + "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": [ + "5fe095b5-20d3-4596-9c35-943ba378945f" + ], + "x-ms-correlation-request-id": [ + "5fe095b5-20d3-4596-9c35-943ba378945f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200308Z:5fe095b5-20d3-4596-9c35-943ba378945f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:07 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": [ + "9923abab-202c-432f-8e7c-a1e166841b29" + ], + "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/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "eb0d4714-1801-4f30-8a46-19f6195143c4" + ], + "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": [ + "a2804d23-45a1-43b5-8afc-e103b26acd7a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200308Z:a2804d23-45a1-43b5-8afc-e103b26acd7a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:08 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/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZWIwZDQ3MTQtMTgwMS00ZjMwLThhNDYtMTlmNjE5NTE0M2M0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + ], + "x-ms-correlation-request-id": [ + "fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200339Z:fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:38 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/eb0d4714-1801-4f30-8a46-19f6195143c4?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": [ + "97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + ], + "x-ms-correlation-request-id": [ + "97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200339Z:97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:38 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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\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": [ + "832ef5ef-1c63-4f90-b0b8-10350e0d4a25" + ], + "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": [ + "273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + ], + "x-ms-correlation-request-id": [ + "273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200339Z:273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:39 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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\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": [ + "c7d45026-cd56-43d7-8632-f53347656ba6" + ], + "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": [ + "5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + ], + "x-ms-correlation-request-id": [ + "5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200339Z:5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:39 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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\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": [ + "641e9ba4-b9b3-4fa0-9d36-63de5e1c784b" + ], + "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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + ], + "x-ms-request-id": [ + "5bbc93c6-f24c-4687-a2c4-16214f579401" + ], + "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": [ + "858e31a7-e5be-4929-b5dc-83499a6f3958" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200340Z:858e31a7-e5be-4929-b5dc-83499a6f3958" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:03:39 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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWJiYzkzYzYtZjI0Yy00Njg3LWEyYzQtMTYyMTRmNTc5NDAxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "e57ba852-c660-4536-bfab-86c14962a252" + ], + "x-ms-correlation-request-id": [ + "e57ba852-c660-4536-bfab-86c14962a252" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200410Z:e57ba852-c660-4536-bfab-86c14962a252" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04: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/eastus/operationsStatus/5bbc93c6-f24c-4687-a2c4-16214f579401?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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyL29wZXJhdGlvblJlc3VsdHMvNWJiYzkzYzYtZjI0Yy00Njg3LWEyYzQtMTYyMTRmNTc5NDAxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": [ + "28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + ], + "x-ms-correlation-request-id": [ + "28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200122T200410Z:28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 22 Jan 2020 20:04:10 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/5bbc93c6-f24c-4687-a2c4-16214f579401?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 4bc10eecea30..8b905812e5a2 100644 --- a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 +++ b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 @@ -79,14 +79,30 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer', 'Get-AzCosmosDBSqlContainerThrou 'Get-AzCosmosDBSqlStoredProcedure', 'Get-AzCosmosDBSqlTrigger', 'Get-AzCosmosDBSqlUserDefinedFunction', 'Set-AzCosmosDBSqlStoredProcedure', 'Set-AzCosmosDBSqlTrigger', 'Set-AzCosmosDBSqlUserDefinedFunction', 'Remove-AzCosmosDBSqlStoredProcedure', 'Remove-AzCosmosDBSqlTrigger', 'Remove-AzCosmosDBSqlUserDefinedFunction', - 'New-AzCosmosDBSqlConflictResolutionPolicy', 'New-AzCosmosDBSqlIndexingPolicy', + '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-AzCosmosDBVirtualNetworkRule', 'New-AzCosmosDBLocationObject', + 'Get-AzCosmosDBGremlinDatabase', 'Get-AzCosmosDBGremlinDatabaseThroughput', + 'Get-AzCosmosDBGremlinGraph', 'Get-AzCosmosDBGremlinGraphThroughput', + 'Remove-AzCosmosDBGremlinDatabase', 'Remove-AzCosmosDBGremlinGraph', + 'Set-AzCosmosDBGremlinDatabase', 'Set-AzCosmosDBGremlinGraph', + '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/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs similarity index 51% rename from src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs rename to src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs index d810806f83f1..276553ab39de 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs +++ b/src/CosmosDB/CosmosDB/Cassandra/NewAzCosmosDBCassandraClusterKey.cs @@ -13,40 +13,33 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; -using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; -using Microsoft.Azure.Commands.CosmosDB.Helpers; 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 + "CosmosDBSqlConflictResolutionPolicy"), OutputType(typeof(PSSqlConflictResolutionPolicy))] - public class NewAzCosmosDBSqlConflictResolutionPolicy : AzureCosmosDBCmdletBase + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBCassandraClusterKey"), OutputType(typeof(PSClusterKey))] + public class NewAzCosmosDBCassandraClusterKey : AzureCosmosDBCmdletBase { - [Parameter(Mandatory = true, HelpMessage = Constants.ConflictResolutionPolicyTypeHelpMessage)] + [Parameter(Mandatory = true, HelpMessage = Constants.CassandraClusterKeyNameHelpMessage)] [ValidateNotNullOrEmpty] - [PSArgumentCompleter("LastWriterWins", "Custom", "Manual")] - public string Type { get; set; } + public string Name { get; set; } - [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyPathHelpMessage)] - public string Path { get; set; } - - [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyStoredProcedureNameHelpMessage)] + [Parameter(Mandatory = true, HelpMessage = Constants.CassandraClusterKeyOrderByHelpMessage)] + [PSArgumentCompleter("Asc", "Desc")] [ValidateNotNullOrEmpty] - public string ConflictResolutionProcedure { get; set; } + public string OrderBy { get; set; } public override void ExecuteCmdlet() { - PSSqlConflictResolutionPolicy conflictResolutionPolicy = new PSSqlConflictResolutionPolicy(Type); - - if (!string.IsNullOrEmpty(Path)) - conflictResolutionPolicy.Path = Path; + WriteObject(new PSClusterKey + { + Name = Name, + OrderBy = OrderBy + }); - if (!string.IsNullOrEmpty(ConflictResolutionProcedure)) - conflictResolutionPolicy.ConflictResolutionProcedure = ConflictResolutionProcedure; - - WriteObject(conflictResolutionPolicy); 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..9098b23298f4 --- /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, "Creating or Updating 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..2c184e788a45 --- /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, "Deleting 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..9258015e3e71 100644 --- a/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs +++ b/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBAccount", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSDatabaseAccount))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBAccount", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSDatabaseAccount), typeof(void))] public class NewAzCosmosDBAccount : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] @@ -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/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..8d141ada7867 --- /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, "Creating or Updating 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..aca14dbf8e31 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs @@ -0,0 +1,222 @@ +// ---------------------------------------------------------------------------------- +// +// 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")] + [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 = 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(); + + foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys) + { + UniqueKey key = new UniqueKey(uniqueKey.Paths); + uniqueKeyPolicy.UniqueKeys.Add(key); + } + + gremlinGraphResource.UniqueKeyPolicy = uniqueKeyPolicy; + } + + if (TtlInSeconds != null) + { + gremlinGraphResource.DefaultTtl = TtlInSeconds; + } + + 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) + { + IList includedPaths = new List(); + IList excludedPaths = new List(); + IList> compositeIndexes = new List>(); + IList spatialIndexes = new List(); + + foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) + { + includedPaths.Add(new IncludedPath + { + Path = pSIncludedPath.Path, + Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) + }); + } + + foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) + { + excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); + } + + 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); + } + + foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes) + { + spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types }); + } + + IndexingPolicy indexingPolicy = new IndexingPolicy + { + Automatic = IndexingPolicy.Automatic, + IndexingMode = IndexingPolicy.IndexingMode, + IncludedPaths = includedPaths, + ExcludedPaths = excludedPaths, + CompositeIndexes = compositeIndexes, + SpatialIndexes = spatialIndexes + }; + + gremlinGraphResource.IndexingPolicy = indexingPolicy; + } + + IDictionary options = new Dictionary(); + if (Throughput != null) + { + options.Add("Throughput", Throughput.ToString()); + } + + GremlinGraphCreateUpdateParameters gremlinGraphCreateUpdateParameters = new GremlinGraphCreateUpdateParameters + { + Resource = gremlinGraphResource, + Options = new Dictionary() { } + }; + + if (ShouldProcess(Name, "Deleting 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..405f22e0a2bd 100644 --- a/src/CosmosDB/CosmosDB/Helpers/Constants.cs +++ b/src/CosmosDB/CosmosDB/Helpers/Constants.cs @@ -65,14 +65,16 @@ 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 ConflictResolutionPolicyModeHelpMessage = "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 ConflictResolutionPolicyProcedureHelpMessage = "To be provided when the type is custom."; public const string UniqueKeyPathHelpMessage = "Array of string of path values"; 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 +84,57 @@ 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"; + + //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."; } } 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..3434b1910b25 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + using Microsoft.Azure.Management.CosmosDB.Models; + + public class PSCassandraKeyspaceGetResults + { + public PSCassandraKeyspaceGetResults() + { + } + + public PSCassandraKeyspaceGetResults(CassandraKeyspaceGetResults cassandraKeyspaceGetResults) + { + Name = cassandraKeyspaceGetResults.Name; + Id = cassandraKeyspaceGetResults.Id; + 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; } + 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..5297dc2c5275 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs @@ -0,0 +1,72 @@ +// ---------------------------------------------------------------------------------- +// +// 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..c56d83741b52 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + using System; + using Microsoft.Azure.Management.CosmosDB.Models; + + public class PSCassandraTableGetResults + { + public PSCassandraTableGetResults() + { + } + + public PSCassandraTableGetResults(CassandraTableGetResults cassandraTableGetResults) + { + Name = cassandraTableGetResults.Name; + Id = cassandraTableGetResults.Id; + 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; } + + 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/PSSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs similarity index 62% rename from src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs rename to src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs index f3cca74cac27..79ee2cce6c07 100644 --- a/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs +++ b/src/CosmosDB/CosmosDB/Models/PSExcludedPath.cs @@ -12,31 +12,25 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Management.CosmosDB.Models; + namespace Microsoft.Azure.Commands.CosmosDB.Models { - public class PSSqlConflictResolutionPolicy + public class PSExcludedPath { - public PSSqlConflictResolutionPolicy() - { - } - - public PSSqlConflictResolutionPolicy(string type) + public PSExcludedPath() { - Type = type; } - public PSSqlConflictResolutionPolicy(string type, string path, string conflictResolutionProcedure) + public PSExcludedPath(ExcludedPath excludedPath ) { - Type = type; - Path = path; - ConflictResolutionProcedure = conflictResolutionProcedure; + Path = excludedPath.Path; } - - public string Type { get; set; } - + // + // 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; } - - public string ConflictResolutionProcedure { get; set; } } -} \ No newline at end of file +} 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..05f7a301f183 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + using Microsoft.Azure.Management.CosmosDB.Models; + + public class PSGremlinDatabaseGetResults + { + public PSGremlinDatabaseGetResults() + { + } + + public PSGremlinDatabaseGetResults(GremlinDatabaseGetResults gremlinDatabaseGetResults) + { + Name = gremlinDatabaseGetResults.Name; + Id = gremlinDatabaseGetResults.Id; + 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; } + // + 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..22d2055fd0f4 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + using System; + using Microsoft.Azure.Management.CosmosDB.Models; + + public class PSGremlinGraphGetResults + { + public PSGremlinGraphGetResults() + { + } + + public PSGremlinGraphGetResults(GremlinGraphGetResults gremlinGraphGetResults) + { + Name = gremlinGraphGetResults.Name; + Id = gremlinGraphGetResults.Id; + 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; } + // + 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..d83f4dfebb9b --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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 IList ConvertPSIndexesToIndexes(IList pSIndexes) + { + List indexes = new List(); + foreach(PSIndexes pSIndex in pSIndexes) + { + indexes.Add(PSIndexes.ConvertPSIndexesToIndexes(pSIndex)); + } + + return indexes; + } + } +} 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..a29ab120d176 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.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. +// ---------------------------------------------------------------------------------- + +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; + 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; } + // + 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..1e17e4056b96 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + using Microsoft.Azure.Management.CosmosDB.Models; + + public class PSMongoDBDatabaseGetResults + { + public PSMongoDBDatabaseGetResults() + { + } + + public PSMongoDBDatabaseGetResults(MongoDBDatabaseGetResults mongoDBDatabaseGetResults) + { + Name = mongoDBDatabaseGetResults.Name; + Id = mongoDBDatabaseGetResults.Id; + 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; } + // + 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..272b8d6f4c76 --- /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(mongoIndex.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/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 deleted file mode 100644 index 9f28bc9f76db..000000000000 --- a/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs +++ /dev/null @@ -1,55 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// 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 PSSqlIndexingPolicy - { - public PSSqlIndexingPolicy() - { - } - - public PSSqlIndexingPolicy(string[] includedPaths, string[] excludedPaths, bool? automatic, string indexingMode) - { - 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/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..f01da1cd1a27 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSTableGetResults.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.Azure.Management.CosmosDB.Models; + +namespace Microsoft.Azure.Commands.CosmosDB.Models +{ + public class PSTableGetResults + { + public PSTableGetResults() + { + } + + public PSTableGetResults(TableGetResults tableGetResults) + { + Name = tableGetResults.Name; + Id = tableGetResults.Id; + 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; } + // + 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/PSSqlUniqueKey.cs b/src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs similarity index 77% rename from src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs rename to src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs index 5da3a89f1994..087dc3b16be7 100644 --- a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs +++ b/src/CosmosDB/CosmosDB/Models/PSUniqueKey.cs @@ -12,22 +12,25 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Management.CosmosDB.Models; +using System.Collections.Generic; + namespace Microsoft.Azure.Commands.CosmosDB.Models { - public class PSSqlUniqueKey + public class PSUniqueKey { - public PSSqlUniqueKey() + public PSUniqueKey() { } - public PSSqlUniqueKey(string[] path) + public PSUniqueKey(UniqueKey uniqueKey) { - Path = path; + Paths = uniqueKey.Paths; } /// /// Gets or sets the Path for the UniqueKey /// - public string[] Path { get; set; } + public IList Paths { get; set; } } } \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs similarity index 65% rename from src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs rename to src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs index 55f35d641452..781d62b9c97e 100644 --- a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs +++ b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs @@ -11,23 +11,27 @@ // 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 PSSqlUniqueKeyPolicy + public class PSUniqueKeyPolicy { - public PSSqlUniqueKeyPolicy() + public PSUniqueKeyPolicy() { } - public PSSqlUniqueKeyPolicy(PSSqlUniqueKey[] uniqueKey) + public PSUniqueKeyPolicy(UniqueKeyPolicy uniqueKey) { - UniqueKey = uniqueKey; } - /// - /// Gets or sets the UniqueKey for the SqlUniqueKeyPolicy - /// - public PSSqlUniqueKey[] UniqueKey { get; set; } + // + // 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..ee7cf2acb67c --- /dev/null +++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs @@ -0,0 +1,108 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + } + + + MongoDBCollectionCreateUpdateParameters mongoDBCollectionCreateUpdateParameters = new MongoDBCollectionCreateUpdateParameters + { + Resource = mongoDBCollectionResource, + Options = new Dictionary() { } + }; + + if (ShouldProcess(Name, "Creating or Updating 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..7067ab7258ca --- /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, "Creating or Updating 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/NewAzCosmosDBSqlIndexingPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs index 49eaf91ec991..9ff86e14fb4a 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs @@ -16,33 +16,56 @@ 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))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIndexingPolicy"), OutputType(typeof(PSIndexingPolicy))] public class NewAzCosmosDBSqlIndexingPolicy : AzureCosmosDBCmdletBase { - [Parameter(Mandatory = true, HelpMessage = Constants.IndexingPolicyIncludedPathHelpMessage)] - public string[] IncludedPath { get; set; } + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIncludedPathHelpMessage)] + public PSIncludedPath[] IncludedPath { get; set; } - [Parameter(Mandatory = true, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)] + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicySpatialIndexHelpMessage)] + public PSSpatialSpec[] SpatialSpec { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyCompositePathHelpMessage)] + public PSCompositePath[][] CompositePath { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)] 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)] public string IndexingMode { get; set; } public override void ExecuteCmdlet() { - PSSqlIndexingPolicy sqlIndexingPolicy = new PSSqlIndexingPolicy(); + PSIndexingPolicy sqlIndexingPolicy = new PSIndexingPolicy(); if (IncludedPath != null && IncludedPath.Length > 0) sqlIndexingPolicy.IncludedPaths = 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; 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..92c07d81cc91 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKey"), OutputType(typeof(PSSqlUniqueKey))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKey"), OutputType(typeof(PSUniqueKey))] public class NewAzCosmosDBSqlUniqueKey : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, HelpMessage = Constants.UniqueKeyPathHelpMessage)] @@ -26,7 +26,11 @@ public class NewAzCosmosDBSqlUniqueKey : AzureCosmosDBCmdletBase public override void ExecuteCmdlet() { - PSSqlUniqueKey uniqueKey = new PSSqlUniqueKey(Path); + PSUniqueKey uniqueKey = new PSUniqueKey + { + Paths = Path + }; + WriteObject(uniqueKey); return; } diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs index e13960d70690..6fddded9c3ff 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs @@ -18,17 +18,17 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKeyPolicy"), OutputType(typeof(PSSqlUniqueKeyPolicy))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKeyPolicy"), OutputType(typeof(PSUniqueKeyPolicy))] public class NewAzCosmosDBSqlUniqueKeyPolicy : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, HelpMessage = Constants.DatabaseNameHelpMessage)] - public PSSqlUniqueKey[] UniqueKey { get; set; } + public PSUniqueKey[] UniqueKey { get; set; } public override void ExecuteCmdlet() { - PSSqlUniqueKeyPolicy uniqueKeyPolicy = new PSSqlUniqueKeyPolicy + PSUniqueKeyPolicy uniqueKeyPolicy = new PSUniqueKeyPolicy { - UniqueKey = UniqueKey + UniqueKeys = UniqueKey }; WriteObject(uniqueKeyPolicy); diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs index a2ea32b23b8b..f68eacc66527 100644 --- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs +++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs @@ -45,7 +45,7 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.IndexingPolicyHelpMessage)] [ValidateNotNull] - public PSSqlIndexingPolicy IndexingPolicy { get; set; } + public PSIndexingPolicy IndexingPolicy { get; set; } [Parameter(Mandatory = false, HelpMessage = Constants.PartitionKeyVersionHelpMessage)] public int? PartitionKeyVersion { get; set; } @@ -65,11 +65,20 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.UniqueKeyPolciyHelpMessage)] [ValidateNotNull] - public PSSqlUniqueKeyPolicy UniqueKeyPolicy { get; set; } + public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; } - [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.ConflictResolutionPolicyHelpMessage)] - [ValidateNotNull] - public PSSqlConflictResolutionPolicy ConflictResolutionPolicy { get; set; } + [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)] + [PSArgumentCompleter("Custom", "LastWriterWins")] + [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 = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.SqlDatabaseObjectHelpMessage)] [ValidateNotNull] @@ -86,6 +95,7 @@ public override void ExecuteCmdlet() } List Paths = new List(); + foreach (string path in PartitionKeyPath) Paths.Add(path); @@ -104,9 +114,9 @@ public override void ExecuteCmdlet() { UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy(); - foreach (PSSqlUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKey) + foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys) { - UniqueKey key = new UniqueKey(uniqueKey.Path); + UniqueKey key = new UniqueKey(uniqueKey.Paths); uniqueKeyPolicy.UniqueKeys.Add(key); } @@ -118,42 +128,70 @@ public override void ExecuteCmdlet() sqlContainerResource.DefaultTtl = TtlInSeconds; } - if (ConflictResolutionPolicy != null) + 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(); + IList> compositeIndexes = new List>(); + IList spatialIndexes = new List(); + + foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) + { + includedPaths.Add(new IncludedPath + { + Path = pSIncludedPath.Path, + Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) + }); + } - foreach (string path in IndexingPolicy.IncludedPaths) - includedPaths.Add(new IncludedPath(path: path)); + foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) + { + excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); + } + + 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 }); + } - foreach (string path in IndexingPolicy.ExcludedPaths) - excludedPaths.Add(new ExcludedPath(path: path)); + compositeIndexes.Add(compositePathList); + } + + foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes) + { + spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types }); + } IndexingPolicy indexingPolicy = new IndexingPolicy { Automatic = IndexingPolicy.Automatic, IndexingMode = IndexingPolicy.IndexingMode, IncludedPaths = includedPaths, - ExcludedPaths = excludedPaths + ExcludedPaths = excludedPaths, + CompositeIndexes = compositeIndexes, + SpatialIndexes = spatialIndexes }; sqlContainerResource.IndexingPolicy = indexingPolicy; 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..ffc9abf6deae --- /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, "Removing 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..95503f7d1672 --- /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, "Removing 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..f8999207e96a --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md @@ -0,0 +1,146 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBCassandraKeyspace + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBCassandraKeyspace -ResourceGroupName -AccountName [-Name ] [-Detailed] + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBCassandraKeyspace [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..fdcfae0ba451 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md @@ -0,0 +1,129 @@ +--- +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 +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName -AccountName -Name + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBCassandraKeyspaceThroughput -Name -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..27f21e39fc65 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md @@ -0,0 +1,161 @@ +--- +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 +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBCassandraTable -AccountName -KeyspaceName -ResourceGroupName + [-Name ] [-Detailed] [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBCassandraTable [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..ec659ef7e423 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md @@ -0,0 +1,175 @@ +--- +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 +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName -AccountName -KeyspaceName + -Name [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBCassandraTableThroughput -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..3d66af1365ca --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md @@ -0,0 +1,146 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBGremlinDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBGremlinDatabase -ResourceGroupName -AccountName [-Name ] [-Detailed] + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBGremlinDatabase [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..b89c94b3e8be --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md @@ -0,0 +1,129 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBGremlinDatabaseThroughput + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName -AccountName -Name + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBGremlinDatabaseThroughput -Name -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..fe9d03d7732c --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md @@ -0,0 +1,161 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBGremlinGraph + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBGremlinGraph -ResourceGroupName [-Name ] [-Detailed] + [-DefaultProfile ] -AccountName -DatabaseName [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBGremlinGraph [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..b734acd9c22c --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md @@ -0,0 +1,175 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBGremlinGraphThroughput + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName -AccountName -DatabaseName + [-Name ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBGremlinGraphThroughput [-Name ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +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..a3fce7472287 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md @@ -0,0 +1,161 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBMongoDBCollection + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBMongoDBCollection -ResourceGroupName [-Name ] [-Detailed] + [-DefaultProfile ] -AccountName -DatabaseName [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBMongoDBCollection [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..516790fbc201 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md @@ -0,0 +1,176 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBMongoDBCollectionThroughput + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName -AccountName + -DatabaseName [-Name ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBMongoDBCollectionThroughput [-Name ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +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..6448fe0261dd --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md @@ -0,0 +1,146 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBMongoDBDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBMongoDBDatabase -ResourceGroupName -AccountName [-Name ] [-Detailed] + [-DefaultProfile ] [] +``` + +### ByObjectParameterSet +``` +Get-AzCosmosDBMongoDBDatabase [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..62c15240bb1d --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md @@ -0,0 +1,129 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBMongoDBDatabaseThroughput + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName -AccountName -Name + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBMongoDBDatabaseThroughput -Name -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..157f00a2273d 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md @@ -119,7 +119,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..5a447c924dd6 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.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-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..a94c081576d7 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md @@ -115,7 +115,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..d216482b451b 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md @@ -117,7 +117,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..b24e6baf0897 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md @@ -115,7 +115,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..5fe1e322c78e --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md @@ -0,0 +1,146 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBTable + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBTable -ResourceGroupName -AccountName [-Name ] [-Detailed] + [-DefaultProfile ] [] +``` + +### ByObjectParameterSet +``` +Get-AzCosmosDBTable [-Name ] -InputObject [-Detailed] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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..0bb3bc189344 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md @@ -0,0 +1,129 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Get-AzCosmosDBTableThroughput + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Get-AzCosmosDBTableThroughput -ResourceGroupName -AccountName -Name + [-DefaultProfile ] [] +``` + +### ByParentObjectParameterSet +``` +Get-AzCosmosDBTableThroughput -Name -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 +Name of the Table. + +```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/New-AzCosmosDBAccount.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccount.md index b07a7db2eb03..60b20e7fb6a6 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccount.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccount.md @@ -15,7 +15,7 @@ Create a new CosmosDB Account. ``` New-AzCosmosDBAccount -ResourceGroupName -Name [-DefaultConsistencyLevel ] [-EnableAutomaticFailover] [-EnableMultipleWriteLocations] [-EnableVirtualNetwork] [-IpRangeFilter ] - -Location -LocationObject [-MaxStalenessIntervalInSeconds ] + [-Location ] [-LocationObject ] [-MaxStalenessIntervalInSeconds ] [-MaxStalenessPrefix ] [-Tag ] [-VirtualNetworkRule ] [-VirtualNetworkRuleObject ] [-ApiKind ] [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] @@ -207,7 +207,7 @@ Type: String[] Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -222,7 +222,7 @@ Type: PSLocation[] Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccountKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccountKey.md index 019d35939d1b..6f5c58a0ead4 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccountKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBAccountKey.md @@ -14,19 +14,19 @@ Regenerate a given CosmosDB Account Key. ### ByNameParameterSet (Default) ``` -New-AzCosmosDBAccountKey -ResourceGroupName -Name [-KeyKind ] [-AsJob] [-PassThru] +New-AzCosmosDBAccountKey -ResourceGroupName -Name [-KeyKind ] [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ByResourceIdParameterSet ``` -New-AzCosmosDBAccountKey [-KeyKind ] -ResourceId [-AsJob] [-PassThru] +New-AzCosmosDBAccountKey [-KeyKind ] -ResourceId [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ByObjectParameterSet ``` -New-AzCosmosDBAccountKey [-KeyKind ] -InputObject [-AsJob] [-PassThru] +New-AzCosmosDBAccountKey [-KeyKind ] -InputObject [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -100,7 +100,7 @@ Aliases: Required: True Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -135,21 +135,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PassThru -To be set to true if the user wants to receive an output. The output is true if the operation was successful and an error is thrown if not. - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName Name of resource group. diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md new file mode 100644 index 000000000000..4c1a7bc5d115 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md @@ -0,0 +1,93 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbcassandraclusterkey +schema: 2.0.0 +--- + +# New-AzCosmosDBCassandraClusterKey + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +``` +New-AzCosmosDBCassandraClusterKey -Name -OrderBy [-DefaultProfile ] + [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -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 +``` + +### -Name +Name of Cassandra Cluster Key. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderBy +Ordering of Cassandra Cluster key. +Possible values include: 'Asc', 'Desc' + +```yaml +Type: String +Parameter Sets: (All) +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.PSClusterKey + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md new file mode 100644 index 000000000000..bf7e1c50a42a --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md @@ -0,0 +1,92 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbcassandracolumn +schema: 2.0.0 +--- + +# New-AzCosmosDBCassandraColumn + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +``` +New-AzCosmosDBCassandraColumn -Name -Type [-DefaultProfile ] + [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -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 +``` + +### -Name +Name of Cassandra Column. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Type of Cassandra Column. + +```yaml +Type: String +Parameter Sets: (All) +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.PSColumn + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md new file mode 100644 index 000000000000..1769e3d77ab4 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md @@ -0,0 +1,107 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbcassandraschema +schema: 2.0.0 +--- + +# New-AzCosmosDBCassandraSchema + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +``` +New-AzCosmosDBCassandraSchema [-Column ] [-PartitionKey ] [-ClusterKey ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -ClusterKey +Array of PSClusterKey objects. + +```yaml +Type: PSClusterKey[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Column +PSColumn object. + +```yaml +Type: PSColumn[] +Parameter Sets: (All) +Aliases: + +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 +``` + +### -PartitionKey +Array of strings containing Partition Keys. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraSchema + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md new file mode 100644 index 000000000000..68a2377b371b --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md @@ -0,0 +1,107 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# New-AzCosmosDBMongoDBIndex + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +``` +New-AzCosmosDBMongoDBIndex [-TtlInSeconds ] [-Unique ] [-Key ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -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 +``` + +### -Key +Array of key values as strings. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TtlInSeconds +Number of seconds after which the index expires. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Unique +Bool to indicate if the index is unique or not. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSMongoIndex + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md index 62bca1e024ee..65c328e496cd 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md @@ -13,8 +13,9 @@ Creates a new CosmosDB Sql IndexingPolicy object. ## SYNTAX ``` -New-AzCosmosDBSqlIndexingPolicy -IncludedPath -ExcludedPath [-Automatic ] - -IndexingMode [-DefaultProfile ] [] +New-AzCosmosDBSqlIndexingPolicy [-IncludedPath ] [-SpatialSpec ] + [-CompositePath ] [-ExcludedPath ] [-Automatic ] + [-IndexingMode ] [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -48,6 +49,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CompositePath +Array of array of objects of type Microsoft.Azure.Commands.CosmosDB.PSCompositePath + +```yaml +Type: PSCompositePath[][] +Parameter Sets: (All) +Aliases: + +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. @@ -71,7 +87,7 @@ Type: String[] Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -82,11 +98,11 @@ Accept wildcard characters: False Array of strings containing includedPath (Specifies a path within a JSON document to be included in the Azure Cosmos DB service.) elements. ```yaml -Type: String[] +Type: PSIncludedPath[] Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -102,7 +118,22 @@ Type: String Parameter Sets: (All) Aliases: -Required: True +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SpatialSpec +Array of objects of type Microsoft.Azure.Commands.CosmosDB.PSSpatialSpec + +```yaml +Type: PSSpatialSpec[] +Parameter Sets: (All) +Aliases: + +Required: False Position: Named Default value: None Accept pipeline input: False diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md index e27a08a4fcc7..895f53d6bb75 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md @@ -13,7 +13,7 @@ Creates a new CosmosDB Sql UniqueKeyPolicy object. ## SYNTAX ``` -New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey [-DefaultProfile ] +New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey [-DefaultProfile ] [] ``` @@ -52,7 +52,7 @@ Accept wildcard characters: False Database name. ```yaml -Type: PSSqlUniqueKey[] +Type: PSUniqueKey[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBAccount.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBAccount.md index 91e3f06b3a2c..880bddf85ac8 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBAccount.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBAccount.md @@ -102,7 +102,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/Remove-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md new file mode 100644 index 000000000000..bd9ef3d705a9 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md @@ -0,0 +1,178 @@ +--- +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/remove-azcosmosdbcassandrakeyspace +schema: 2.0.0 +--- + +# Remove-AzCosmosDBCassandraKeyspace + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet +``` +Remove-AzCosmosDBCassandraKeyspace -AccountName -Name -ResourceGroupName [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBCassandraKeyspace -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Cassandra Keyspace object. + +```yaml +Type: PSCassandraKeyspaceGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Cassandra Keyspace Name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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.PSCassandraKeyspaceGetResults + +## OUTPUTS + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md new file mode 100644 index 000000000000..503fd8ca2359 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md @@ -0,0 +1,194 @@ +--- +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/remove-azcosmosdbcassandratable +schema: 2.0.0 +--- + +# Remove-AzCosmosDBCassandraTable + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Remove-AzCosmosDBCassandraTable -ResourceGroupName -AccountName -KeyspaceName + -Name [-PassThru] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBCassandraTable -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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: PSCassandraTableGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -KeyspaceName +Cassandra Keyspace Name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Cassandra Table Name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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.PSCassandraTableGetResults + +## OUTPUTS + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md new file mode 100644 index 000000000000..f62ae65b5129 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md @@ -0,0 +1,178 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Remove-AzCosmosDBGremlinDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet +``` +Remove-AzCosmosDBGremlinDatabase -AccountName -Name -ResourceGroupName [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBGremlinDatabase -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Gremlin Database object. + +```yaml +Type: PSGremlinDatabaseGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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.PSGremlinDatabaseGetResults + +## OUTPUTS + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md new file mode 100644 index 000000000000..fa0d3439d173 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md @@ -0,0 +1,194 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Remove-AzCosmosDBGremlinGraph + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Remove-AzCosmosDBGremlinGraph -ResourceGroupName -AccountName -DatabaseName + -Name [-PassThru] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBGremlinGraph -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Gremlin Graph object. + +```yaml +Type: PSGremlinGraphGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Gremlin Graph Name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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 + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md new file mode 100644 index 000000000000..12282043b6af --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md @@ -0,0 +1,194 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Remove-AzCosmosDBMongoDBCollection + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Remove-AzCosmosDBMongoDBCollection -ResourceGroupName -AccountName -DatabaseName + -Name [-PassThru] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBMongoDBCollection -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Sql Container object. + +```yaml +Type: PSMongoDBCollectionGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Collection name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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 + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md new file mode 100644 index 000000000000..66d6b2961cfb --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md @@ -0,0 +1,178 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Remove-AzCosmosDBMongoDBDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet +``` +Remove-AzCosmosDBMongoDBDatabase -AccountName -Name -ResourceGroupName [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBMongoDBDatabase -InputObject [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Mongo Database object. + +```yaml +Type: PSMongoDBDatabaseGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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.PSMongoDBDatabaseGetResults + +## OUTPUTS + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md index 33040c1398a9..9f1de2d2d072 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlContainer.md @@ -108,7 +108,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/Remove-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md index e15e6782b2fe..b20b5ac4b2ea 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlDatabase.md @@ -92,7 +92,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/Remove-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md index 9498b9ebe528..ea5524dfdf02 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlStoredProcedure.md @@ -123,7 +123,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/Remove-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md index 4638514d378f..b2688c78e28a 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlTrigger.md @@ -123,7 +123,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/Remove-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md index d06ceb6696c9..2e2ffc5c6a48 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBSqlUserDefinedFunction.md @@ -123,7 +123,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/Remove-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md new file mode 100644 index 000000000000..a497d07e1e3e --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md @@ -0,0 +1,178 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Remove-AzCosmosDBTable + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet +``` +Remove-AzCosmosDBTable -AccountName -Name -ResourceGroupName [-PassThru] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByObjectParameterSet +``` +Remove-AzCosmosDBTable -InputObject [-PassThru] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Sql Database object. + +```yaml +Type: PSTableGetResults +Parameter Sets: ByObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the Table. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +To be set to true if the user wants to receive an output. +The output is true if the operation was successful and an error is thrown if not. + +```yaml +Type: SwitchParameter +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.PSTableGetResults + +## OUTPUTS + +### System.Void + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md new file mode 100644 index 000000000000..34d9944afd23 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md @@ -0,0 +1,176 @@ +--- +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/set-azcosmosdbcassandrakeyspace +schema: 2.0.0 +--- + +# Set-AzCosmosDBCassandraKeyspace + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBCassandraKeyspace -ResourceGroupName -AccountName -Name + [-Throughput ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBCassandraKeyspace -Name [-Throughput ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 +``` + +### -Throughput +The throughput of Cassandra Keyspace (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraKeyspaceGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md new file mode 100644 index 000000000000..1b7140782e16 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md @@ -0,0 +1,228 @@ +--- +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/set-azcosmosdbcassandratable +schema: 2.0.0 +--- + +# Set-AzCosmosDBCassandraTable + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBCassandraTable -ResourceGroupName -AccountName -KeyspaceName + -Name [-Throughput ] [-TtlInSeconds ] -Schema + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBCassandraTable -Name [-Throughput ] [-TtlInSeconds ] + -Schema -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Cassandra Keyspace object. + +```yaml +Type: 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: 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 +``` + +### -Schema +PSCassandraSchema object. +Use New-AzCosmosDBCassandraSchema to create this object. + +```yaml +Type: PSCassandraSchema +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Throughput +The throughput of Cassandra Keyspace (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TtlInSeconds +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. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +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.PSCassandraSchema + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraKeyspaceGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraTableGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md new file mode 100644 index 000000000000..786f45fed20c --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md @@ -0,0 +1,176 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Set-AzCosmosDBGremlinDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBGremlinDatabase -ResourceGroupName -AccountName -Name + [-Throughput ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBGremlinDatabase -Name [-Throughput ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 +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 +``` + +### -Throughput +The throughput of Gremlin Database (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md new file mode 100644 index 000000000000..8c46122b998b --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md @@ -0,0 +1,341 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Set-AzCosmosDBGremlinGraph + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBGremlinGraph -ResourceGroupName -AccountName -DatabaseName + -Name [-IndexingPolicy ] [-PartitionKeyVersion ] -PartitionKeyKind + -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] + [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] + [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBGremlinGraph -Name [-IndexingPolicy ] [-PartitionKeyVersion ] + -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] + [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] + [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConflictResolutionPolicyMode +Can have the values: LastWriterWins, Custom, Manual. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConflictResolutionPolicyPath +To be provided when the type is LastWriterWins. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConflictResolutionPolicyProcedure +To be provided when the type is custom. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +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 +``` + +### -IndexingPolicy +Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlIndexingPolicy. + +```yaml +Type: PSIndexingPolicy +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PartitionKeyKind +The kind of algorithm used for partitioning. +Possible values include: 'Hash', 'Range' + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PartitionKeyPath +Partition Key Path, e.g., '/address/zipcode'. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PartitionKeyVersion +The version of the partition key definition + +```yaml +Type: Int32 +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 +``` + +### -Throughput +The throughput of Gremlin Graph (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TtlInSeconds +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. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UniqueKeyPolicy +UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlUniqueKeyPolicy. + +```yaml +Type: PSUniqueKeyPolicy +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +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.PSIndexingPolicy + +### Microsoft.Azure.Commands.CosmosDB.Models.PSUniqueKeyPolicy + +### Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinGraphGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md new file mode 100644 index 000000000000..d62b4e50fce2 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md @@ -0,0 +1,223 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Set-AzCosmosDBMongoDBCollection + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBMongoDBCollection -ResourceGroupName -AccountName -DatabaseName + -Name [-Throughput ] [-Shard ] [-Index ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBMongoDBCollection -Name [-Throughput ] [-Shard ] + [-Index ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +Database name. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Index +Array of PSMongoIndex objects. + +```yaml +Type: PSMongoIndex[] +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: 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 +``` + +### -Shard +Sharding key path. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Throughput +The throughput of SQL container (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetResults + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md new file mode 100644 index 000000000000..ffb7126021aa --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md @@ -0,0 +1,176 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Set-AzCosmosDBMongoDBDatabase + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBMongoDBDatabase -ResourceGroupName -AccountName -Name + [-Throughput ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBMongoDBDatabase -Name [-Throughput ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 +``` + +### -Throughput +The throughput of Mongo database (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md index 4c3bc54fa497..857a45865deb 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md @@ -15,19 +15,21 @@ Creates a new or updates an existing CosmosDB Sql Container. ### ByNameParameterSet (Default) ``` Set-AzCosmosDBSqlContainer -ResourceGroupName -AccountName -DatabaseName - -Name [-IndexingPolicy ] [-PartitionKeyVersion ] - -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] - [-UniqueKeyPolicy ] [-ConflictResolutionPolicy ] + -Name [-IndexingPolicy ] [-PartitionKeyVersion ] -PartitionKeyKind + -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] + [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] + [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ByParentObjectParameterSet ``` -Set-AzCosmosDBSqlContainer -Name [-IndexingPolicy ] - [-PartitionKeyVersion ] -PartitionKeyKind -PartitionKeyPath [-Throughput ] - [-TtlInSeconds ] [-UniqueKeyPolicy ] - [-ConflictResolutionPolicy ] -InputObject - [-DefaultProfile ] [-WhatIf] [-Confirm] [] +Set-AzCosmosDBSqlContainer -Name [-IndexingPolicy ] [-PartitionKeyVersion ] + -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] + [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] + [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -84,11 +86,41 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ConflictResolutionPolicy -ConflictResolutionPolicy Object of type PSSqlConflictResolutionPolicy. +### -ConflictResolutionPolicyMode +Can have the values: LastWriterWins, Custom, Manual. ```yaml -Type: PSSqlConflictResolutionPolicy +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConflictResolutionPolicyPath +To be provided when the type is LastWriterWins. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConflictResolutionPolicyProcedure +To be provided when the type is custom. + +```yaml +Type: String Parameter Sets: (All) Aliases: @@ -133,14 +165,14 @@ Accept wildcard characters: False Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlIndexingPolicy. ```yaml -Type: PSSqlIndexingPolicy +Type: PSIndexingPolicy Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -155,7 +187,7 @@ Aliases: Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -272,14 +304,14 @@ Accept wildcard characters: False UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlUniqueKeyPolicy. ```yaml -Type: PSSqlUniqueKeyPolicy +Type: PSUniqueKeyPolicy Parameter Sets: (All) Aliases: Required: False 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/Set-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlDatabase.md index 1dbf514ba840..fcf8ce88a1b4 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlDatabase.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/Set-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlStoredProcedure.md index 6659dc5eca69..a5957cbd9c48 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlStoredProcedure.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlStoredProcedure.md @@ -146,7 +146,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/Set-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlTrigger.md index e38f41fae75d..78c9c366a842 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlTrigger.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlTrigger.md @@ -149,7 +149,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/Set-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlUserDefinedFunction.md index 9ed59a82e964..f47958f837a4 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlUserDefinedFunction.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlUserDefinedFunction.md @@ -146,7 +146,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/Set-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md new file mode 100644 index 000000000000..7737fa85c665 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md @@ -0,0 +1,176 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: +schema: 2.0.0 +--- + +# Set-AzCosmosDBTable + +## SYNOPSIS +{{ Fill in the Synopsis }} + +## SYNTAX + +### ByNameParameterSet (Default) +``` +Set-AzCosmosDBTable -ResourceGroupName -AccountName -Name [-Throughput ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByParentObjectParameterSet +``` +Set-AzCosmosDBTable -Name [-Throughput ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -AccountName +Name of the Cosmos DB database account. + +```yaml +Type: String +Parameter Sets: ByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 +Name of the Table. + +```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 +``` + +### -Throughput +The throughput of Table (RU/s). +Default value is 400. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSTableGetResults + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccount.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccount.md index 525bda883442..3665629344ea 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccount.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccount.md @@ -197,7 +197,7 @@ Aliases: Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` @@ -336,7 +336,7 @@ Aliases: Required: False 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/Update-AzCosmosDBAccountFailoverPriority.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountFailoverPriority.md index d99461d369c4..86719a943e8e 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountFailoverPriority.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountFailoverPriority.md @@ -116,7 +116,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/Update-AzCosmosDBAccountRegion.md b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountRegion.md index 029362da6a4c..d86a6f0f3d88 100644 --- a/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountRegion.md +++ b/src/CosmosDB/CosmosDB/help/Update-AzCosmosDBAccountRegion.md @@ -120,7 +120,7 @@ Aliases: Required: True Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` From b7ddf2e3d9b09abbb77102c0693a918bee8e2896 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Thu, 23 Jan 2020 16:04:20 -0800 Subject: [PATCH 2/9] Added help --- .../help/Get-AzCosmosDBCassandraKeyspace.md | 13 ++- ...t-AzCosmosDBCassandraKeyspaceThroughput.md | 8 +- .../help/Get-AzCosmosDBCassandraTable.md | 11 +- .../Get-AzCosmosDBCassandraTableThroughput.md | 8 +- .../help/Get-AzCosmosDBGremlinDatabase.md | 14 ++- ...Get-AzCosmosDBGremlinDatabaseThroughput.md | 15 ++- .../help/Get-AzCosmosDBGremlinGraph.md | 14 ++- .../Get-AzCosmosDBGremlinGraphThroughput.md | 16 ++- .../help/Get-AzCosmosDBMongoDBCollection.md | 14 ++- ...t-AzCosmosDBMongoDBCollectionThroughput.md | 17 ++- .../help/Get-AzCosmosDBMongoDBDatabase.md | 13 ++- ...Get-AzCosmosDBMongoDBDatabaseThroughput.md | 16 ++- .../CosmosDB/help/Get-AzCosmosDBTable.md | 13 ++- .../help/Get-AzCosmosDBTableThroughput.md | 2 +- .../help/New-AzCosmosDBCassandraClusterKey.md | 13 ++- .../help/New-AzCosmosDBCassandraColumn.md | 13 ++- .../help/New-AzCosmosDBCassandraSchema.md | 12 +- .../help/New-AzCosmosDBMongoDBIndex.md | 13 ++- ...w-AzCosmosDBSqlConflictResolutionPolicy.md | 109 ------------------ .../Remove-AzCosmosDBCassandraKeyspace.md | 8 +- .../help/Remove-AzCosmosDBCassandraTable.md | 8 +- .../help/Remove-AzCosmosDBGremlinDatabase.md | 11 +- .../help/Remove-AzCosmosDBGremlinGraph.md | 10 +- .../Remove-AzCosmosDBMongoDBCollection.md | 11 +- .../help/Remove-AzCosmosDBMongoDBDatabase.md | 11 +- .../CosmosDB/help/Remove-AzCosmosDBTable.md | 10 +- .../help/Set-AzCosmosDBCassandraKeyspace.md | 11 +- .../help/Set-AzCosmosDBCassandraTable.md | 11 +- .../help/Set-AzCosmosDBGremlinDatabase.md | 14 ++- .../help/Set-AzCosmosDBGremlinGraph.md | 14 ++- .../help/Set-AzCosmosDBMongoDBCollection.md | 14 ++- .../help/Set-AzCosmosDBMongoDBDatabase.md | 13 ++- .../CosmosDB/help/Set-AzCosmosDBTable.md | 13 ++- 33 files changed, 222 insertions(+), 271 deletions(-) delete mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md index f8999207e96a..297fd401cf66 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspace.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbcassandrakeyspace schema: 2.0.0 --- # Get-AzCosmosDBCassandraKeyspace ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets a CosmosDB Cassandra Keyspace. ## SYNTAX @@ -25,16 +25,19 @@ Get-AzCosmosDBCassandraKeyspace [-Name ] -InputObject {{ Add example code here }} +PS C:\> Get-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name} + +Name Id Resource +{name} {id} {resourceObject} ``` -{{ Add example description here }} +Get-AzCosmosDBCassandraKeyspace gets the properties of an existing CassandraKeyspace. You can expand the Resource to get the _etag, _ts, _rid properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md index fdcfae0ba451..e3ce6f23713f 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraKeyspaceThroughput.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Get-AzCosmosDBCassandraKeyspaceThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the throughput value of the Cassandra Keyspace. ## SYNTAX @@ -25,17 +25,15 @@ Get-AzCosmosDBCassandraKeyspaceThroughput -Name -InputObject {{ Add example code here }} +PS C:\> Get-AzCosmosDBCassandraKeyspaceThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {name} ``` -{{ Add example description here }} - ## PARAMETERS ### -AccountName diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md index 27f21e39fc65..e11fc4be6723 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTable.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Get-AzCosmosDBCassandraTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets a CosmosDB Cassandra Table. ## SYNTAX @@ -25,16 +25,19 @@ Get-AzCosmosDBCassandraTable [-Name ] -InputObject {{ Add example code here }} +PS C:\> $table = Get-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Keyspace {keyspaceName} -Name {name} + +Name Id Resource +{name} {id} {resourceObject} ``` -{{ Add example description here }} +{{ Get-AzCosmosDBCassandraTable gets the properties of an existing CassandraKeyspace. You can expand the Resource to get the DefaultTtl, Schema, _etag, _ts, _rid properties.}} ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md index ec659ef7e423..47d58e7b31c2 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBCassandraTableThroughput.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Get-AzCosmosDBCassandraTableThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the throughput value of the Cassandra Table. ## SYNTAX @@ -25,17 +25,15 @@ Get-AzCosmosDBCassandraTableThroughput -InputObject {{ Add example code here }} +PS C:\> Get-AzCosmosDBCassandraTableThroughput -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Keyspace {keyspaceName} -Name {tableName} ``` -{{ Add example description here }} - ## PARAMETERS ### -AccountName diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md index 3d66af1365ca..1fa9042564cb 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbgremlindatabase schema: 2.0.0 --- # Get-AzCosmosDBGremlinDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB Gremlin Database. ## SYNTAX @@ -25,16 +25,18 @@ Get-AzCosmosDBGremlinDatabase [-Name ] -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Get-AzCosmosDBGremlinDatabase** cmdlet gets the CosmosDB Gremlin Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName} -{{ Add example description here }} +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetPropertiesResource +``` +Resource Object contains _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md index b89c94b3e8be..dd9edda11165 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabaseThroughput.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbgremlindatabasethroughput schema: 2.0.0 --- # Get-AzCosmosDBGremlinDatabaseThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the throughput of a CosmosDB Gremlin Database. ## SYNTAX @@ -25,17 +25,20 @@ Get-AzCosmosDBGremlinDatabaseThroughput -Name -InputObject {{ Add example code here }} +PS C:\> Get-AzCosmosDBGremlinDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName} +Name: {throughputName} +Id: {Id} +Throughput: {value} +MinimumThroughput: {value} +OfferReplacePending: {value} ``` -{{ Add example description here }} - ## PARAMETERS ### -AccountName diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md index fe9d03d7732c..0a63c4565b05 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbgremlingraph schema: 2.0.0 --- # Get-AzCosmosDBGremlinGraph ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB Gremlin Graph. ## SYNTAX @@ -25,16 +25,20 @@ Get-AzCosmosDBGremlinGraph [-Name ] -InputObject {{ Add example code here }} +PS C:\> Get-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName} + +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinGraphGetPropertiesResource + ``` -{{ Add example description here }} +Resource Object contains IndexingPolicy, PartitionKey, DefaultTtl, UniqueKeyPolicy, ConflictResolutionPolicy, _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md index b734acd9c22c..6e3bdb663ce4 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraphThroughput.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbgremlingraphthroughput schema: 2.0.0 --- # Get-AzCosmosDBGremlinGraphThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the throughput of a CosmosDB Gremlin Graph. ## SYNTAX @@ -25,16 +25,20 @@ Get-AzCosmosDBGremlinGraphThroughput [-Name ] -InputObject {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBGremlinGraphThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName} -{{ Add example description here }} +Name: {throughputName} +Id: {Id} +Throughput: {value} +MinimumThroughput: {value} +OfferReplacePending: {value} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md index a3fce7472287..5bdf7b723bfc 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbmongodbcollection schema: 2.0.0 --- # Get-AzCosmosDBMongoDBCollection ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB MongoDB Collection. ## SYNTAX @@ -25,16 +25,18 @@ Get-AzCosmosDBMongoDBCollection [-Name ] -InputObject {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -Database {dbName} -Name {collectionName} -{{ Add example description here }} +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetPropertiesResource +``` +Resource Object contains MongoIndexes, _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md index 516790fbc201..5c354b1f6133 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbmongodbcollectionthroughput schema: 2.0.0 --- # Get-AzCosmosDBMongoDBCollectionThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB throughput properties of MongoDB Collection. ## SYNTAX @@ -26,16 +26,21 @@ Get-AzCosmosDBMongoDBCollectionThroughput [-Name ] -InputObject {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBMongoDBCollectionThroughput -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {databaseName} -Name {collectionName} + +Name: {throughputName} +Id: {Id} +Throughput: {value} +MinimumThroughput: {value} +OfferReplacePending: {value} -{{ Add example description here }} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md index 6448fe0261dd..54702cd31742 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabase.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbmongodbdatabase schema: 2.0.0 --- # Get-AzCosmosDBMongoDBDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB MongoDB Database ## SYNTAX @@ -25,16 +25,19 @@ Get-AzCosmosDBMongoDBDatabase [-Name ] -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Get-AzCosmosDBMongoDBDatabase** cmdlet gets the CosmosDB MongoDB Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Get-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} + +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetPropertiesResource ``` -{{ Add example description here }} +Resource Object contains _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md index 62c15240bb1d..a00cdd6b0355 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBDatabaseThroughput.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbmongodbdatabasethroughput schema: 2.0.0 --- # Get-AzCosmosDBMongoDBDatabaseThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the CosmosDB throughput properties of MongoDB Database. ## SYNTAX @@ -25,16 +25,20 @@ Get-AzCosmosDBMongoDBDatabaseThroughput -Name -InputObject {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName} -{{ Add example description here }} +Name: {throughputName} +Id: {Id} +Throughput: {value} +MinimumThroughput: {value} +OfferReplacePending: {value} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md index 5fe1e322c78e..32fdd2d9ce16 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTable.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbtable schema: 2.0.0 --- # Get-AzCosmosDBTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets a CosmosDB Table. ## SYNTAX @@ -25,16 +25,19 @@ Get-AzCosmosDBTable [-Name ] -InputObject [-Detailed ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Get-AzCosmosDBTable** cmdlet gets an existing Table. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Get-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName} + +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSTableGetPropertiesResource ``` -{{ Add example description here }} +Resource object contains _rid, _ts, _ etag properties of the Table. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md index 0bb3bc189344..bed63fa89e59 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md @@ -1,7 +1,7 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/get-azcosmosdbtablethroughput schema: 2.0.0 --- diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md index 4c1a7bc5d115..115f7c6e412b 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzCosmosDBCassandraClusterKey ## SYNOPSIS -{{ Fill in the Synopsis }} +Creates a new CosmosDB Cassandra Cluster Key. ## SYNTAX @@ -18,16 +18,19 @@ New-AzCosmosDBCassandraClusterKey -Name -OrderBy [-DefaultProf ``` ## DESCRIPTION -{{ Fill in the Description }} +The **New-AzCosmosDBCassandraClusterKey** creates a new CosmosDB Cassandra Cluster Key. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} -``` +PS C:\> New-AzCosmosDBCassandraClusterKey -Name -OrderBy + +Name OrderBy +---- ------- +{name} Asc -{{ Add example description here }} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md index bf7e1c50a42a..52bbf4c3a492 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzCosmosDBCassandraColumn ## SYNOPSIS -{{ Fill in the Synopsis }} +Creates a new CosmosDB Cassandra Column. ## SYNTAX @@ -18,16 +18,19 @@ New-AzCosmosDBCassandraColumn -Name -Type [-DefaultProfile {{ Add example code here }} -``` +PS C:\> New-AzCosmosDBCassandraColumn -Name "name" -Type int + +Name Type +---- ---- +name int -{{ Add example description here }} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md index 1769e3d77ab4..344fb8855229 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraSchema.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzCosmosDBCassandraSchema ## SYNOPSIS -{{ Fill in the Synopsis }} +Creates a new CosmosDB Cassandra Schema. ## SYNTAX @@ -18,16 +18,18 @@ New-AzCosmosDBCassandraSchema [-Column ] [-PartitionKey ] ``` ## DESCRIPTION -{{ Fill in the Description }} +The **New-AzCosmosDBCassandraSchema** creates a new CosmosDB Cassandra Schema. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} -``` +PS C:\> New-AzCosmosDBCassandraSchema -Column {PSColumn[]} -PartitionKey -ClusterKey {PSClusterKey[]} -{{ Add example description here }} +Columns PartitionKeys ClusterKeys +------- ------------- ----------- +{column1} {a} {clusterkey1} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md index 68a2377b371b..2645c35d71c2 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosddmongodbindex schema: 2.0.0 --- # New-AzCosmosDBMongoDBIndex ## SYNOPSIS -{{ Fill in the Synopsis }} +Creates a new CosmosDB MongoDB Index. ## SYNTAX @@ -18,17 +18,18 @@ New-AzCosmosDBMongoDBIndex [-TtlInSeconds ] [-Unique ] [-Key {{ Add example code here }} +PS C:\> New-AzCosmosDBMongoDBIndex -TtlInSeconds {val} -Unique 1 -Key "key1" +Key Options +--- ------- +Microsoft.Azure.Commands.CosmosDB.Models.PSMongoIndexKeys Microsoft.Azure.Commands.CosmosDB.Models.PSMongoIndexOptions ``` -{{ Add example description here }} - ## PARAMETERS ### -DefaultProfile diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md deleted file mode 100644 index d09a2293c303..000000000000 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml -Module Name: Az.CosmosDB -online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlconflictresolutionpolicy -schema: 2.0.0 ---- - -# New-AzCosmosDBSqlConflictResolutionPolicy - -## SYNOPSIS -Creates a new CosmosDB Sql ConflictResolutionPolicy object. - -## SYNTAX - -``` -New-AzCosmosDBSqlConflictResolutionPolicy -Type [-Path ] - [-ConflictResolutionProcedure ] [-DefaultProfile ] [] -``` - -## DESCRIPTION -The **New-AzCosmosDBSqlConflictResolutionPolicy** cmdlet creates a new object of type PSSqlConflictResolutionPolicy. - -## EXAMPLES - -### Example 1 -```powershell -PS C:\> New-AzCosmosDBSqlConflictResolutionPolicy -Type {type} -Path {path} -ConflictResolutionProcedure {conflictResolutionProcedure} - -Type Path ConflictResolutionProcedure ----- ---- ------------------- -{type} {path} {conflictResolutionProcedure} -``` - -## PARAMETERS - -### -ConflictResolutionProcedure -To be provided when the type is custom. - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -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 -``` - -### -Path -To be provided when the type is LastWriterWins. - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Type -Can have the values: LastWriterWins, Custom, Manual. - -```yaml -Type: String -Parameter Sets: (All) -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.PSSqlConflictResolutionPolicy - -## NOTES - -## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md index bd9ef3d705a9..ecced185b9a2 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraKeyspace.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Remove-AzCosmosDBCassandraKeyspace ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB Cassandra Keyspace. ## SYNTAX @@ -25,16 +25,16 @@ Remove-AzCosmosDBCassandraKeyspace -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBCassandraKeyspace** cmdlet deletes an existing CosmosDB Cassandra Keyspace. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBCassandraKeyspace -ResourceGroupName {resourceGroupName} -AccountName {accountName} -Name {keyspaceName} ``` -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md index 503fd8ca2359..8000e14ab754 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBCassandraTable.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Remove-AzCosmosDBCassandraTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB Cassandra Table. ## SYNTAX @@ -26,16 +26,16 @@ Remove-AzCosmosDBCassandraTable -InputObject [-Pass ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBCassandraTable** delete a CosmosDB Cassandra Table. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBCassandraTable -ResourceGroupName {resourceGroup} -AccountName {account} -KeyspaceName {keyspace} -Name {tableName} ``` -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md index f62ae65b5129..7d92ecdbc2cd 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md @@ -1,14 +1,15 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/remove-azcosmosdbgremlindatabase schema: 2.0.0 --- # Remove-AzCosmosDBGremlinDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB Gremlin Database. + ## SYNTAX @@ -25,16 +26,16 @@ Remove-AzCosmosDBGremlinDatabase -InputObject [-Pa ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBGremlinDatabase** cmdlet deletes a CosmosDB Gremlin Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} ``` -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md index fa0d3439d173..a8c63ba3e1c5 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinGraph.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/remove-azcosmosdbgremlingraph schema: 2.0.0 --- # Remove-AzCosmosDBGremlinGraph ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB Gremlin Graph. ## SYNTAX @@ -26,16 +26,16 @@ Remove-AzCosmosDBGremlinGraph -InputObject [-PassThru ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBGremlinGraph** cmdlet deletes a CosmosDB Gremlin Graph. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +Remove-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName} ``` -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md index 12282043b6af..7233339cc3ef 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/remove-azcosmosdbmongodbcollection schema: 2.0.0 --- # Remove-AzCosmosDBMongoDBCollection ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB MongoDB Collection. ## SYNTAX @@ -26,16 +26,15 @@ Remove-AzCosmosDBMongoDBCollection -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBMongoDBCollection** cmdlet deletes a CosmosDB MongoDB Collection. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {collectionName} ``` - -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md index 66d6b2961cfb..126369cf9223 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/remove-azcosmosdbmongodbdatabase schema: 2.0.0 --- # Remove-AzCosmosDBMongoDBDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes a CosmosDB MongoDB Database. ## SYNTAX @@ -25,16 +25,15 @@ Remove-AzCosmosDBMongoDBDatabase -InputObject [-Pa ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBMongoDBDatabase** cmdlet deletes a CosmosDB MongoDB Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} ``` - -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md index a497d07e1e3e..e1908287ae55 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBTable.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/remove-azcosmosdbtable schema: 2.0.0 --- # Remove-AzCosmosDBTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Deletes the CosmosDB Table. ## SYNTAX @@ -25,16 +25,16 @@ Remove-AzCosmosDBTable -InputObject [-PassThru] [-DefaultPro ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Remove-AzCosmosDBTable** cmdlet deletes the CosmosDB Table. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Remove-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName} ``` -{{ Add example description here }} +The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md index 34d9944afd23..b8f1e43662e0 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraKeyspace.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzCosmosDBCassandraKeyspace ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB Cassandra Keyspace. ## SYNTAX @@ -25,16 +25,19 @@ Set-AzCosmosDBCassandraKeyspace -Name [-Throughput ] -InputObjec ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Set-AzCosmosDBCassandraKeyspace** cmdlet sets the CosmosDB Cassandra Keyspace. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Set-AzCosmosDBCassandraKeyspace -ResourceGroupName {rgName} -AccountName {accountName} -Name {keyspaceName} +Name Id Resource +---- -- ------- +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraKeyspaceGetPropertiesResource ``` -{{ Add example description here }} +Resource object contains the values of the _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md index 1b7140782e16..d539f3469a54 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBCassandraTable.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzCosmosDBCassandraTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB Cassandra Table. ## SYNTAX @@ -27,16 +27,19 @@ Set-AzCosmosDBCassandraTable -Name [-Throughput ] [-TtlInSeconds ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Set-AzCosmosDBCassandraTable** cmdlet sets the CosmosDB Cassandra Keyspace. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Set-AzCosmosDBCassandraTable -ResourceGroupName {rgName} -AccountName {accountName} -Keyspace {keyspaceName} -Name {tableName} +Name Id Resource +---- -- ------- +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSCassandraTableGetPropertiesResource ``` -{{ Add example description here }} +Resource object contains the values of the _rid, _ts, _etag, DefaultTtl and Schema properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md index 786f45fed20c..ceecb7ce0ce4 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/set-azcosmosdbgremlindatabase schema: 2.0.0 --- # Set-AzCosmosDBGremlinDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB Gremlin Database. ## SYNTAX @@ -25,16 +25,18 @@ Set-AzCosmosDBGremlinDatabase -Name [-Throughput ] -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Set-AzCosmosDBGremlinDatabase** cmdlet sets the CosmosDB Gremlin Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} -``` +PS C:\> Set-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName} -{{ Add example description here }} +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetPropertiesResource +``` +Resource Object contains _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md index 8c46122b998b..4a1211a25d98 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/set-azcosmosdbgremlingraph schema: 2.0.0 --- # Set-AzCosmosDBGremlinGraph ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB Gremlin Graph. ## SYNTAX @@ -33,16 +33,20 @@ Set-AzCosmosDBGremlinGraph -Name [-IndexingPolicy ] [ ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Set-AzCosmosDBGremlinGraph** cmdlet sets a CosmosDB Gremlin Graph. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Set-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {graphName} -PartitionKeyPath {path} + +Name Id Resource +---- -- ------- +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinGraphGetPropertiesResource ``` -{{ Add example description here }} +Resource Object contains IndexingPolicy, PartitionKey, DefaultTtl, UniqueKeyPolicy, ConflictResolutionPolicy, _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md index d62b4e50fce2..e2795582d725 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/set-azcosmosdbmongodbcollection schema: 2.0.0 --- # Set-AzCosmosDBMongoDBCollection ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB MongoDB Collection. ## SYNTAX @@ -27,16 +27,18 @@ Set-AzCosmosDBMongoDBCollection -Name [-Throughput ] [-Shard {{ Add example code here }} -``` +PS C:\> Set-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -Database {dbName} -Name {collectionName} -{{ Add example description here }} +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetPropertiesResource +``` +Resource Object contains MongoIndexes, _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md index ffb7126021aa..f3ea2265ba9f 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBDatabase.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/set-azcosmosdbmongodbdatabase schema: 2.0.0 --- # Set-AzCosmosDBMongoDBDatabase ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB MongoDB Database ## SYNTAX @@ -25,16 +25,19 @@ Set-AzCosmosDBMongoDBDatabase -Name [-Throughput ] -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Set-AzCosmosDBMongoDBDatabase** cmdlet gets the CosmosDB MongoDB Database. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} +PS C:\> Set-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} + +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBDatabaseGetPropertiesResource ``` -{{ Add example description here }} +Resource Object contains _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md index 7737fa85c665..47ccd522b883 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBTable.md @@ -1,14 +1,14 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/set-azcosmosdbtable schema: 2.0.0 --- # Set-AzCosmosDBTable ## SYNOPSIS -{{ Fill in the Synopsis }} +Sets the CosmosDB Table. ## SYNTAX @@ -25,16 +25,19 @@ Set-AzCosmosDBTable -Name [-Throughput ] -InputObject {{ Add example code here }} +PS C:\> Set-AzCosmosDBTable -AccountName {account} -Name {tableName} -ResourceGroupName {rgName} + +Name Id Resource +{name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSTableGetPropertiesResource ``` -{{ Add example description here }} +Resource object contains _rid, _ts, _ etag properties of the Table. ## PARAMETERS From ef2746df7c58908ce57d97e11f659721165f3d3b Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Thu, 23 Jan 2020 16:24:40 -0800 Subject: [PATCH 3/9] fix in missing help --- .../CosmosDB/help/Get-AzCosmosDBTableThroughput.md | 14 +++++++++----- .../CosmosDB/help/New-AzCosmosDBMongoDBIndex.md | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md index bed63fa89e59..ee0dbf74ed45 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBTableThroughput.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Get-AzCosmosDBTableThroughput ## SYNOPSIS -{{ Fill in the Synopsis }} +Gets the throughput of a CosmosDB Table. ## SYNTAX @@ -25,16 +25,20 @@ Get-AzCosmosDBTableThroughput -Name -InputObject ``` ## DESCRIPTION -{{ Fill in the Description }} +The **Get-AzCosmosDBTableThroughput** cmdlet gets the throughput of a CosmosDB Table. ## EXAMPLES ### Example 1 ```powershell -PS C:\> {{ Add example code here }} -``` +PS C:\> Get-AzCosmosDBTableThroughput -ResourceGroupName {rgName} -AccountName {accountName} -Name {databaseName} -{{ Add example description here }} +Name: {throughputName} +Id: {Id} +Throughput: {value} +MinimumThroughput: {value} +OfferReplacePending: {value} +``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md index 2645c35d71c2..33b73198aea1 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBMongoDBIndex.md @@ -1,7 +1,7 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml Module Name: Az.CosmosDB -online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosddmongodbindex +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbmongodbindex schema: 2.0.0 --- From 5e77b928dfb79e53e0b67d91b3f0b27eb59ac4fe Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Tue, 4 Feb 2020 13:50:31 -0800 Subject: [PATCH 4/9] Reverted breaking changes --- src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 | 34 +++++--- .../CosmosDBAccount/NewAzCosmosDBAccount.cs | 2 +- .../NewAzCosmosDBGremlinIndexingPolicy.cs | 79 +++++++++++++++++++ .../NewAzCosmosDBGremlinSpatialSpec.cs | 49 ++++++++++++ .../Gremlin/NewAzCosmosDBGremlinUniqueKey.cs | 38 +++++++++ .../NewAzCosmosDBGremlinUniqueKeyPolicy.cs | 38 +++++++++ .../Gremlin/SetAzCosmosDBGremlinGraph.cs | 6 +- src/CosmosDB/CosmosDB/Helpers/Constants.cs | 15 ++-- .../MongoDB/SetAzCosmosDBMongoDBCollection.cs | 7 +- ...ewAzCosmosDBSqlConflictResolutionPolicy.cs | 55 +++++++++++++ .../SQL/NewAzCosmosDBSqlIndexingPolicy.cs | 2 +- .../CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs | 27 ++++++- 12 files changed, 324 insertions(+), 28 deletions(-) create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs diff --git a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 index 8b905812e5a2..c1f7a5f9a3bc 100644 --- a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 +++ b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 @@ -74,23 +74,33 @@ 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-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', +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', 'Get-AzCosmosDBGremlinDatabase', 'Get-AzCosmosDBGremlinDatabaseThroughput', 'Get-AzCosmosDBGremlinGraph', 'Get-AzCosmosDBGremlinGraphThroughput', 'Remove-AzCosmosDBGremlinDatabase', 'Remove-AzCosmosDBGremlinGraph', 'Set-AzCosmosDBGremlinDatabase', 'Set-AzCosmosDBGremlinGraph', + 'New-AzCosmosDBGremlinIndexingPolicy', 'New-AzCosmosDBGremlinUniqueKey', + 'New-AzCosmosDBGremlinUniqueKeyPolicy', 'New-AzCosmosDBGremlinSpatialSpec', 'Get-AzCosmosDBTable', 'Get-AzCosmosDBTableThroughput', 'Remove-AzCosmosDBTable', 'Set-AzCosmosDBTable', 'Get-AzCosmosDBCassandraKeyspace', 'Get-AzCosmosDBCassandraKeyspaceThroughput', diff --git a/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs b/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs index 9258015e3e71..f529910f25be 100644 --- a/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs +++ b/src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBAccount", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSDatabaseAccount), typeof(void))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBAccount", DefaultParameterSetName = NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSDatabaseAccount))] public class NewAzCosmosDBAccount : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, ParameterSetName = NameParameterSet, HelpMessage = Constants.ResourceGroupNameHelpMessage)] diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs new file mode 100644 index 000000000000..429691cb414a --- /dev/null +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +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)] + public PSIncludedPath[] IncludedPath { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicySpatialIndexHelpMessage)] + public PSSpatialSpec[] SpatialSpec { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyCompositePathHelpMessage)] + public PSCompositePath[][] CompositePath { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyExcludedPathHelpMessage)] + public string[] ExcludedPath { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyAutomaticHelpMessage)] + public bool? Automatic { get; set; } + + [Parameter(Mandatory = false, HelpMessage = Constants.IndexingPolicyIndexingModeIndexHelpMessage)] + public string IndexingMode { get; set; } + + public override void ExecuteCmdlet() + { + PSIndexingPolicy gremlinIndexingPolicy = new PSIndexingPolicy(); + + if (IncludedPath != null && IncludedPath.Length > 0) + gremlinIndexingPolicy.IncludedPaths = IncludedPath; + + if (ExcludedPath != null && ExcludedPath.Length > 0) + { + gremlinIndexingPolicy.ExcludedPaths = new List(); + foreach (string path in ExcludedPath) + { + gremlinIndexingPolicy.ExcludedPaths.Add(new PSExcludedPath{ Path = path }); + } + } + + if(SpatialSpec != null) + { + gremlinIndexingPolicy.SpatialIndexes = SpatialSpec; + } + + if(CompositePath != null) + { + gremlinIndexingPolicy.CompositeIndexes = CompositePath; + } + + gremlinIndexingPolicy.Automatic = Automatic; + + if (IndexingMode != null) + gremlinIndexingPolicy.IndexingMode = IndexingMode; + + WriteObject(gremlinIndexingPolicy); + 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..efc6db0c1c15 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.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 + "CosmosDBGremlinSpatialSpec"), OutputType(typeof(PSSpatialSpec))] + public class NewAzCosmosDBGremlinSpatialSpec : 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/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs new file mode 100644 index 000000000000..ecc6c25ab57e --- /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; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs new file mode 100644 index 000000000000..6424c254e358 --- /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.DatabaseNameHelpMessage)] + public PSUniqueKey[] UniqueKey { get; set; } + + public override void ExecuteCmdlet() + { + PSUniqueKeyPolicy uniqueKeyPolicy = new PSUniqueKeyPolicy + { + UniqueKeys = UniqueKey + }; + + WriteObject(uniqueKeyPolicy); + return; + } + } +} diff --git a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs index aca14dbf8e31..7274ab98c79c 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs @@ -69,7 +69,7 @@ public class SetAzCosmosDBGremlinGraph : AzureCosmosDBCmdletBase public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; } [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)] - [PSArgumentCompleter("Custom", "LastWriterWins")] + [PSArgumentCompleter("Custom", "LastWriterWins", "Manual")] [ValidateNotNullOrEmpty] public string ConflictResolutionPolicyMode { get; set; } @@ -207,10 +207,10 @@ public override void ExecuteCmdlet() GremlinGraphCreateUpdateParameters gremlinGraphCreateUpdateParameters = new GremlinGraphCreateUpdateParameters { Resource = gremlinGraphResource, - Options = new Dictionary() { } + Options = options }; - if (ShouldProcess(Name, "Deleting CosmosDB Gremlin Graph")) + if (ShouldProcess(Name, "Creating CosmosDB Gremlin Graph")) { GremlinGraphGetResults gremlinGraphGetResults = CosmosDBManagementClient.GremlinResources.CreateUpdateGremlinGraphWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, gremlinGraphCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSGremlinGraphGetResults(gremlinGraphGetResults)); diff --git a/src/CosmosDB/CosmosDB/Helpers/Constants.cs b/src/CosmosDB/CosmosDB/Helpers/Constants.cs index 405f22e0a2bd..0296cd9be1a2 100644 --- a/src/CosmosDB/CosmosDB/Helpers/Constants.cs +++ b/src/CosmosDB/CosmosDB/Helpers/Constants.cs @@ -54,9 +54,9 @@ 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 IndexingPolicyHelpMessage = "Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSIndexingPolicy."; + public const string UniqueKeyPolciyHelpMessage = "UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSUniqueKeyPolicy. "; + 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,9 +65,9 @@ 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 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 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 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. "; @@ -136,5 +136,8 @@ internal static class Constants 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."; } } diff --git a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs index ee7cf2acb67c..b3d1a7d6b1ee 100644 --- a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs +++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs @@ -89,11 +89,16 @@ public override void ExecuteCmdlet() mongoDBCollectionResource.Indexes = Indexes; } + IDictionary options = new Dictionary(); + if (Throughput != null) + { + options.Add("Throughput", Throughput.ToString()); + } MongoDBCollectionCreateUpdateParameters mongoDBCollectionCreateUpdateParameters = new MongoDBCollectionCreateUpdateParameters { Resource = mongoDBCollectionResource, - Options = new Dictionary() { } + Options = options }; if (ShouldProcess(Name, "Creating or Updating CosmosDB MongoDB Collection")) diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs new file mode 100644 index 000000000000..da5698e30f55 --- /dev/null +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.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. +// ---------------------------------------------------------------------------------- + +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 + "CosmosDBSqlConflictResolutionPolicy"), OutputType(typeof(PSConflictResolutionPolicy))] + public class NewAzCosmosDBSqlConflictResolutionPolicy : 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/SQL/NewAzCosmosDBSqlIndexingPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs index 9ff86e14fb4a..b25ce6c86fff 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs @@ -76,4 +76,4 @@ public override void ExecuteCmdlet() return; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs index f68eacc66527..378658ce88a5 100644 --- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs +++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs @@ -67,19 +67,23 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase [ValidateNotNull] public PSUniqueKeyPolicy UniqueKeyPolicy { get; set; } - [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)] - [PSArgumentCompleter("Custom", "LastWriterWins")] + [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyModeHelpMessage)] + [PSArgumentCompleter("Custom", "LastWriterWins", "Manual")] [ValidateNotNullOrEmpty] public string ConflictResolutionPolicyMode { get; set; } - [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyPathHelpMessage)] + [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyPathHelpMessage)] [ValidateNotNullOrEmpty] public string ConflictResolutionPolicyPath { get; set; } - [Parameter(Mandatory = false, HelpMessage = Constants.ConflictResolutionPolicyProcedureHelpMessage)] + [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyProcedureHelpMessage)] [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.SqlDatabaseObjectHelpMessage)] [ValidateNotNull] public PSSqlDatabaseGetResults InputObject { get; set; } @@ -128,6 +132,21 @@ public override void ExecuteCmdlet() sqlContainerResource.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 From 9ef644408e6e46a2c1ac2b7d294bdeddf17d027c Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Tue, 4 Feb 2020 14:15:38 -0800 Subject: [PATCH 5/9] Additions in ChangeLog.md --- ChangeLog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 21d5f7400aca..9d84717f897a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,9 @@ +## 3.4.0 - February 2020 +#### Az.CosmosDB +* Added cmdlets for Gremlin, MongoDB, Cassandra and Table APIs. +* Updated .NED SDK Version to 1.0.1 +* Added parameters ConflictResolutionPolicyMode, ConflictResolutionPolicyPath and ConflictResolutionPolicyPath in Set-AzCosmosDBSqlContainer. + ## 3.3.0 - January 2020 #### Az.Accounts * Updated Add-AzEnvironment and Set-AzEnvironment to accept parameters AzureAttestationServiceEndpointResourceId and AzureAttestationServiceEndpointSuffix From 5c9712925cf698707879df8e5d6a589de8a6aae9 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Tue, 4 Feb 2020 14:20:33 -0800 Subject: [PATCH 6/9] Fix typo --- ChangeLog.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 6e7756c913ac..5c66c7e31aba 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,7 +1,8 @@ ## 3.4.0 - February 2020 + #### Az.CosmosDB * Added cmdlets for Gremlin, MongoDB, Cassandra and Table APIs. -* Updated .NED SDK Version to 1.0.1 +* Updated .NET SDK Version to 1.0.1 * Added parameters ConflictResolutionPolicyMode, ConflictResolutionPolicyPath and ConflictResolutionPolicyPath in Set-AzCosmosDBSqlContainer. ### Highlights since the last major release From a5a3f54fcdc3fa00ec377abd82fd1dba90f09c42 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Wed, 5 Feb 2020 13:00:23 -0800 Subject: [PATCH 7/9] updating help + removing breaking changes --- .../ScenarioTests/GremlinOperationsTests.ps1 | 35 +++++- .../ScenarioTests/SqlOperationsTests.ps1 | 27 ++++- src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 | 7 +- .../SetAzCosmosDBCassandraKeyspace.cs | 2 +- .../Cassandra/SetAzCosmosDBCassandraTable.cs | 2 +- .../NewAzCosmosDBGremlinCompositePath.cs | 24 ++++ ...CosmosDBGremlinConflictResolutionPolicy.cs | 54 +++++++++ .../NewAzCosmosDBGremlinIncludedPath.cs | 24 ++++ .../NewAzCosmosDBGremlinIncludedPathIndex.cs | 24 ++++ .../NewAzCosmosDBGremlinIndexingPolicy.cs | 26 +++-- .../NewAzCosmosDBGremlinSpatialSpec.cs | 29 +---- .../Gremlin/NewAzCosmosDBGremlinUniqueKey.cs | 2 +- .../NewAzCosmosDBGremlinUniqueKeyPolicy.cs | 4 +- .../Gremlin/SetAzCosmosDBGremlinDatabase.cs | 2 +- .../Gremlin/SetAzCosmosDBGremlinGraph.cs | 109 +++++++++++++----- src/CosmosDB/CosmosDB/Helpers/Constants.cs | 12 ++ .../Models/PSCassandraKeyspaceGetResults.cs | 16 +++ .../CosmosDB/Models/PSCassandraSchema.cs | 1 - .../Models/PSCassandraTableGetResults.cs | 16 ++- .../CosmosDB/Models/PSDatabaseAccount.cs | 10 ++ .../Models/PSGremlinDatabaseGetResults.cs | 11 ++ .../Models/PSGremlinGraphGetResults.cs | 12 +- .../CosmosDB/Models/PSIncludedPath.cs | 5 +- .../Models/PSMongoDBCollectionGetResults.cs | 12 +- .../Models/PSMongoDBDatabaseGetResults.cs | 12 +- src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs | 2 +- .../Models/PSSqlConflictResolutionPolicy.cs | 30 +++++ .../CosmosDB/Models/PSSqlIndexingPolicy.cs | 29 +++++ .../CosmosDB/Models/PSSqlUniqueKey.cs | 29 +++++ .../CosmosDB/Models/PSSqlUniqueKeyPolicy.cs | 29 +++++ .../CosmosDB/Models/PSTableGetResults.cs | 12 +- .../CosmosDB/Models/PSUniqueKeyPolicy.cs | 8 ++ .../MongoDB/SetAzCosmosDBMongoDBCollection.cs | 2 +- .../MongoDB/SetAzCosmosDBMongoDBDatabase.cs | 2 +- .../SQL/NewAzCosmosDBSqlCompositePath.cs | 50 ++++++++ ...ewAzCosmosDBSqlConflictResolutionPolicy.cs | 4 +- .../SQL/NewAzCosmosDBSqlIncludedPath.cs | 49 ++++++++ .../SQL/NewAzCosmosDBSqlIncludedPathIndex.cs | 52 +++++++++ .../SQL/NewAzCosmosDBSqlIndexingPolicy.cs | 14 ++- .../CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs | 6 +- .../SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs | 10 +- .../CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs | 102 ++++++++++------ .../CosmosDB/SQL/SetAzCosmosDBSqlDatabase.cs | 2 +- .../SQL/SetAzCosmosDBSqlStoredProcedure.cs | 2 +- .../CosmosDB/SQL/SetAzCosmosDBSqlTrigger.cs | 2 +- .../SetAzCosmosDBSqlUserDefinedFunction.cs | 2 +- .../CosmosDB/Table/RemoveAzCosmosDBTable.cs | 2 +- .../CosmosDB/Table/SetAzCosmosDBTable.cs | 2 +- .../help/Get-AzCosmosDBGremlinDatabase.md | 1 + .../help/Get-AzCosmosDBGremlinGraph.md | 1 - .../help/Get-AzCosmosDBMongoDBCollection.md | 1 + ...t-AzCosmosDBMongoDBCollectionThroughput.md | 1 - .../help/New-AzCosmosDBCassandraClusterKey.md | 1 - .../help/New-AzCosmosDBCassandraColumn.md | 1 - .../help/New-AzCosmosDBSqlUniqueKeyPolicy.md | 4 +- .../help/Remove-AzCosmosDBGremlinDatabase.md | 3 +- .../Remove-AzCosmosDBMongoDBCollection.md | 1 + .../help/Remove-AzCosmosDBMongoDBDatabase.md | 3 +- .../help/Set-AzCosmosDBGremlinDatabase.md | 1 + .../help/Set-AzCosmosDBGremlinGraph.md | 22 +++- .../help/Set-AzCosmosDBMongoDBCollection.md | 1 + .../help/Set-AzCosmosDBSqlContainer.md | 48 ++++---- 62 files changed, 826 insertions(+), 183 deletions(-) create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinCompositePath.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinConflictResolutionPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPath.cs create mode 100644 src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIncludedPathIndex.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs create mode 100644 src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlCompositePath.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPath.cs create mode 100644 src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIncludedPathIndex.cs diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 index 67db4980b9e8..89ab94932a15 100644 --- a/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 +++ b/src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1 @@ -29,16 +29,41 @@ function Test-GremlinOperationsCmdlets $NewDatabase = Set-AzCosmosDBGremlinDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName Assert-AreEqual $NewDatabase.Name $DatabaseName - $NewGraph = Set-AzCosmosDBGremlinGraph -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $GraphName -PartitionKeyPath $PartitionKeyPathValue -PartitionKeyKind $PartitionKeyKindValue + #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.GremlinDatabaseGetResultsId $Database.GremlinDatabaseGetResultsId - Assert-AreEqual $NewDatabase._rid $Database._rid - Assert-AreEqual $NewDatabase._ts $Database._ts - Assert-AreEqual $NewDatabase._etag $Database._etag + 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 diff --git a/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 b/src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.ps1 index a628fc116efd..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 diff --git a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 index 4716545add16..10539d54d964 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' @@ -94,13 +94,16 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer', 'Update-AzCosmosDBAccount', 'Update-AzCosmosDBAccountRegion', 'Update-AzCosmosDBAccountFailoverPriority', 'New-AzCosmosDBVirtualNetworkRule', 'New-AzCosmosDBLocationObject', - 'New-AzCosmosDBSqlSpatialSpec', + '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-AzCosmosDBGremlinIncludedPath', 'New-AzCosmosDBGremlinIncludedPathIndex', 'Get-AzCosmosDBTable', 'Get-AzCosmosDBTableThroughput', 'Remove-AzCosmosDBTable', 'Set-AzCosmosDBTable', 'Get-AzCosmosDBCassandraKeyspace', 'Get-AzCosmosDBCassandraKeyspaceThroughput', diff --git a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs index 9098b23298f4..a0ba048fd590 100644 --- a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs +++ b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraKeyspace.cs @@ -71,7 +71,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Creating or Updating a CosmosDB Cassandra Keyspace")) + if (ShouldProcess(Name, "Setting a CosmosDB Cassandra Keyspace")) { CassandraKeyspaceGetResults cassandraKeyspaceGetResults = CosmosDBManagementClient.CassandraResources.CreateUpdateCassandraKeyspaceWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, cassandraKeyspaceCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSCassandraKeyspaceGetResults(cassandraKeyspaceGetResults)); diff --git a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs index 2c184e788a45..00a9a80a639a 100644 --- a/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs +++ b/src/CosmosDB/CosmosDB/Cassandra/SetAzCosmosDBCassandraTable.cs @@ -90,7 +90,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Deleting CosmosDB Cassandra Table")) + if (ShouldProcess(Name, "Setting CosmosDB Cassandra Table")) { CassandraTableGetResults cassandraTableGetResults = CosmosDBManagementClient.CassandraResources.CreateUpdateCassandraTableWithHttpMessagesAsync(ResourceGroupName, AccountName, KeyspaceName, Name, cassandraTableCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSCassandraTableGetResults(cassandraTableGetResults)); 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 index 429691cb414a..f37910774e99 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinIndexingPolicy.cs @@ -15,7 +15,6 @@ using System.Management.Automation; using Microsoft.Azure.Commands.CosmosDB.Models; using Microsoft.Azure.Commands.CosmosDB.Helpers; -using System; using System.Collections.Generic; namespace Microsoft.Azure.Commands.CosmosDB @@ -24,55 +23,62 @@ namespace Microsoft.Azure.Commands.CosmosDB 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 gremlinIndexingPolicy = new PSIndexingPolicy(); + PSIndexingPolicy indexingPolicy = new PSIndexingPolicy(); if (IncludedPath != null && IncludedPath.Length > 0) - gremlinIndexingPolicy.IncludedPaths = IncludedPath; + { + indexingPolicy.IncludedPaths = new List(IncludedPath); + } if (ExcludedPath != null && ExcludedPath.Length > 0) { - gremlinIndexingPolicy.ExcludedPaths = new List(); + indexingPolicy.ExcludedPaths = new List(); foreach (string path in ExcludedPath) { - gremlinIndexingPolicy.ExcludedPaths.Add(new PSExcludedPath{ Path = path }); + indexingPolicy.ExcludedPaths.Add(new PSExcludedPath{ Path = path }); } } if(SpatialSpec != null) { - gremlinIndexingPolicy.SpatialIndexes = SpatialSpec; + indexingPolicy.SpatialIndexes = SpatialSpec; } if(CompositePath != null) { - gremlinIndexingPolicy.CompositeIndexes = CompositePath; + indexingPolicy.CompositeIndexes = CompositePath; } - gremlinIndexingPolicy.Automatic = Automatic; + indexingPolicy.Automatic = Automatic; if (IndexingMode != null) - gremlinIndexingPolicy.IndexingMode = IndexingMode; + indexingPolicy.IndexingMode = IndexingMode; - WriteObject(gremlinIndexingPolicy); + WriteObject(indexingPolicy); return; } } diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs index efc6db0c1c15..92906f0f5b11 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinSpatialSpec.cs @@ -14,36 +14,11 @@ 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 + "CosmosDBGremlinSpatialSpec"), OutputType(typeof(PSSpatialSpec))] - public class NewAzCosmosDBGremlinSpatialSpec : AzureCosmosDBCmdletBase + public class NewAzCosmosDBGremlinSpatialSpec : NewAzCosmosDBSqlSpatialSpec { - [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; - } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs index ecc6c25ab57e..665adc9ea472 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKey.cs @@ -35,4 +35,4 @@ public override void ExecuteCmdlet() return; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs index 6424c254e358..e60d93c1a4f9 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/NewAzCosmosDBGremlinUniqueKeyPolicy.cs @@ -21,7 +21,7 @@ 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.DatabaseNameHelpMessage)] + [Parameter(Mandatory = true, HelpMessage = Constants.UniqueKeysHelpMessage)] public PSUniqueKey[] UniqueKey { get; set; } public override void ExecuteCmdlet() @@ -35,4 +35,4 @@ public override void ExecuteCmdlet() return; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs index 8d141ada7867..7201db54b5ff 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinDatabase.cs @@ -71,7 +71,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Creating or Updating CosmosDB Gremlin Database")) + if (ShouldProcess(Name, "Setting CosmosDB Gremlin Database")) { GremlinDatabaseGetResults gremlinDatabaseGetResults = CosmosDBManagementClient.GremlinResources.CreateUpdateGremlinDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, gremlinDatabaseCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSGremlinDatabaseGetResults(gremlinDatabaseGetResults)); diff --git a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs index 7274ab98c79c..1d69c69242ae 100644 --- a/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs +++ b/src/CosmosDB/CosmosDB/Gremlin/SetAzCosmosDBGremlinGraph.cs @@ -81,6 +81,10 @@ public class SetAzCosmosDBGremlinGraph : AzureCosmosDBCmdletBase [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; } @@ -113,11 +117,23 @@ public override void ExecuteCmdlet() if (UniqueKeyPolicy != null) { - UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy(); + UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy + { + UniqueKeys = new List() + }; foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys) { - UniqueKey key = new UniqueKey(uniqueKey.Paths); + UniqueKey key = new UniqueKey + { + Paths = new List() + }; + + foreach (string path in uniqueKey.Paths) + { + key.Paths.Add(path); + } + uniqueKeyPolicy.UniqueKeys.Add(key); } @@ -129,6 +145,21 @@ public override void ExecuteCmdlet() 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 @@ -150,50 +181,66 @@ public override void ExecuteCmdlet() if (IndexingPolicy != null) { - IList includedPaths = new List(); - IList excludedPaths = new List(); - IList> compositeIndexes = new List>(); - IList spatialIndexes = new List(); + IndexingPolicy indexingPolicy = new IndexingPolicy + { + Automatic = IndexingPolicy.Automatic, + IndexingMode = IndexingPolicy.IndexingMode, + }; - foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) + if (IndexingPolicy.IncludedPaths != null) { - includedPaths.Add(new IncludedPath + IList includedPaths = new List(); + foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) { - Path = pSIncludedPath.Path, - Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) - }); - } + includedPaths.Add(new IncludedPath + { + Path = pSIncludedPath.Path, + Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) + }); + } - foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) - { - excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); + indexingPolicy.IncludedPaths = new List(includedPaths); } - foreach (IList pSCompositePathList in IndexingPolicy.CompositeIndexes) + if (IndexingPolicy.ExcludedPaths != null && IndexingPolicy.ExcludedPaths.Count > 0) { - IList compositePathList = new List(); - foreach (PSCompositePath pSCompositePath in pSCompositePathList) + IList excludedPaths = new List(); + foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) { - compositePathList.Add(new CompositePath { Order = pSCompositePath.Order, Path = pSCompositePath.Path }); + excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); } - compositeIndexes.Add(compositePathList); + indexingPolicy.ExcludedPaths = new List(excludedPaths); } - foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes) + if (IndexingPolicy.CompositeIndexes != null) { - spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types }); + 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); } - IndexingPolicy indexingPolicy = new IndexingPolicy + if (IndexingPolicy.SpatialIndexes != null && IndexingPolicy.SpatialIndexes.Count > 0) { - Automatic = IndexingPolicy.Automatic, - IndexingMode = IndexingPolicy.IndexingMode, - IncludedPaths = includedPaths, - ExcludedPaths = excludedPaths, - CompositeIndexes = compositeIndexes, - SpatialIndexes = spatialIndexes - }; + 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; } @@ -210,7 +257,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Creating CosmosDB Gremlin Graph")) + if (ShouldProcess(Name, "Setting CosmosDB Gremlin Graph")) { GremlinGraphGetResults gremlinGraphGetResults = CosmosDBManagementClient.GremlinResources.CreateUpdateGremlinGraphWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, gremlinGraphCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSGremlinGraphGetResults(gremlinGraphGetResults)); diff --git a/src/CosmosDB/CosmosDB/Helpers/Constants.cs b/src/CosmosDB/CosmosDB/Helpers/Constants.cs index 0296cd9be1a2..c8a6f0914585 100644 --- a/src/CosmosDB/CosmosDB/Helpers/Constants.cs +++ b/src/CosmosDB/CosmosDB/Helpers/Constants.cs @@ -54,8 +54,11 @@ 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 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."; @@ -69,6 +72,7 @@ internal static class Constants 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"; @@ -89,6 +93,13 @@ internal static class Constants 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."; @@ -139,5 +150,6 @@ internal static class Constants 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/Models/PSCassandraKeyspaceGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs index 3434b1910b25..5abd9947817b 100644 --- a/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraKeyspaceGetResults.cs @@ -14,7 +14,9 @@ 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 { @@ -26,6 +28,8 @@ public PSCassandraKeyspaceGetResults(CassandraKeyspaceGetResults cassandraKeyspa { Name = cassandraKeyspaceGetResults.Name; Id = cassandraKeyspaceGetResults.Id; + Location = cassandraKeyspaceGetResults.Location; + Tags = cassandraKeyspaceGetResults.Tags; Resource = new PSCassandraKeyspaceGetPropertiesResource(cassandraKeyspaceGetResults.Resource); } @@ -33,10 +37,22 @@ public PSCassandraKeyspaceGetResults(CassandraKeyspaceGetResults cassandraKeyspa /// 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/PSCassandraSchema.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs index 5297dc2c5275..b26b6e02dd0f 100644 --- a/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraSchema.cs @@ -25,7 +25,6 @@ public PSCassandraSchema() public PSCassandraSchema(CassandraSchema cassandraSchema) { - } // diff --git a/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs index c56d83741b52..e3b21dd158c7 100644 --- a/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSCassandraTableGetResults.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 PSCassandraTableGetResults @@ -27,6 +28,8 @@ public PSCassandraTableGetResults(CassandraTableGetResults cassandraTableGetResu { Name = cassandraTableGetResults.Name; Id = cassandraTableGetResults.Id; + Tags = cassandraTableGetResults.Tags; + Location = cassandraTableGetResults.Location; Resource = new PSCassandraTableGetPropertiesResource(cassandraTableGetResults.Resource); } @@ -34,11 +37,22 @@ public PSCassandraTableGetResults(CassandraTableGetResults cassandraTableGetResu /// 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/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/PSGremlinDatabaseGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs index 05f7a301f183..bf0000155023 100644 --- a/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSGremlinDatabaseGetResults.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.CosmosDB.Models { using Microsoft.Azure.Management.CosmosDB.Models; + using System.Collections.Generic; public class PSGremlinDatabaseGetResults { @@ -26,6 +27,8 @@ public PSGremlinDatabaseGetResults(GremlinDatabaseGetResults gremlinDatabaseGetR { Name = gremlinDatabaseGetResults.Name; Id = gremlinDatabaseGetResults.Id; + Tags = gremlinDatabaseGetResults.Tags; + Location = gremlinDatabaseGetResults.Location; Resource = new PSGremlinDatabaseGetPropertiesResource(gremlinDatabaseGetResults.Resource); } @@ -37,6 +40,14 @@ public PSGremlinDatabaseGetResults(GremlinDatabaseGetResults gremlinDatabaseGetR /// 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/PSGremlinGraphGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs index 22d2055fd0f4..64fabc4005c0 100644 --- a/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSGremlinGraphGetResults.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 PSGremlinGraphGetResults @@ -27,6 +27,8 @@ public PSGremlinGraphGetResults(GremlinGraphGetResults gremlinGraphGetResults) { Name = gremlinGraphGetResults.Name; Id = gremlinGraphGetResults.Id; + Location = gremlinGraphGetResults.Location; + Tags = gremlinGraphGetResults.Tags; Resource = new PSGremlinGraphGetPropertiesResource(gremlinGraphGetResults.Resource); } @@ -38,6 +40,14 @@ public PSGremlinGraphGetResults(GremlinGraphGetResults gremlinGraphGetResults) /// 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 index d83f4dfebb9b..29dde8c39d46 100644 --- a/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs +++ b/src/CosmosDB/CosmosDB/Models/PSIncludedPath.cs @@ -36,7 +36,6 @@ public PSIncludedPath(IncludedPath includedPath ) } } } - // // Summary: // Gets or sets the path for which the indexing behavior applies to. Index paths @@ -47,7 +46,7 @@ public PSIncludedPath(IncludedPath includedPath ) // Gets or sets list of indexes for this path public IList Indexes { get; set; } - static public IList ConvertPSIndexesToIndexes(IList pSIndexes) + static public List ConvertPSIndexesToIndexes(IList pSIndexes) { List indexes = new List(); foreach(PSIndexes pSIndex in pSIndexes) @@ -58,4 +57,4 @@ static public IList ConvertPSIndexesToIndexes(IList pSIndexe return indexes; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs index a29ab120d176..2b9f43974ef7 100644 --- a/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBCollectionGetResults.cs @@ -28,6 +28,8 @@ public PSMongoDBCollectionGetResults(MongoDBCollectionGetResults mongoDBCollecti { Name = mongoDBCollectionGetResults.Name; Id = mongoDBCollectionGetResults.Id; + Location = mongoDBCollectionGetResults.Location; + Tags = mongoDBCollectionGetResults.Tags; Resource = new PSMongoDBCollectionGetPropertiesResource(mongoDBCollectionGetResults.Resource); } @@ -35,13 +37,19 @@ public PSMongoDBCollectionGetResults(MongoDBCollectionGetResults mongoDBCollecti /// 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/PSMongoDBDatabaseGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs index 1e17e4056b96..24617007da3a 100644 --- a/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSMongoDBDatabaseGetResults.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.CosmosDB.Models { using Microsoft.Azure.Management.CosmosDB.Models; + using System.Collections.Generic; public class PSMongoDBDatabaseGetResults { @@ -26,8 +27,9 @@ public PSMongoDBDatabaseGetResults(MongoDBDatabaseGetResults mongoDBDatabaseGetR { Name = mongoDBDatabaseGetResults.Name; Id = mongoDBDatabaseGetResults.Id; + Location = mongoDBDatabaseGetResults.Location; + Tags = mongoDBDatabaseGetResults.Tags; Resource = new PSMongoDBDatabaseGetPropertiesResource(mongoDBDatabaseGetResults.Resource); - } /// @@ -38,6 +40,14 @@ public PSMongoDBDatabaseGetResults(MongoDBDatabaseGetResults mongoDBDatabaseGetR /// 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 index 272b8d6f4c76..27dd97fefc75 100644 --- a/src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs +++ b/src/CosmosDB/CosmosDB/Models/PSMongoIndex.cs @@ -37,7 +37,7 @@ static public MongoIndex ConvertPSMongoIndexToMongoIndex(PSMongoIndex psMongoInd mongoIndex.Key = PSMongoIndexKeys.ConvertPSMongoIndexKeysToMongoIndexKeys(psMongoIndex.Key); } - if(mongoIndex.Options != null) + if(psMongoIndex.Options != null) { mongoIndex.Options = PSMongoIndexOptions.CovertPSMongoIndexOptionsToMongoIndexOptions(psMongoIndex.Options); } diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs new file mode 100644 index 000000000000..cc93347fe6ba --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSSqlConflictResolutionPolicy.cs @@ -0,0 +1,30 @@ +// ---------------------------------------------------------------------------------- +// +// 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 +{ + // This class was added to avoid breaking changes in consecutive versions, it should be eventually removed + public class PSSqlConflictResolutionPolicy : PSConflictResolutionPolicy + { + public PSSqlConflictResolutionPolicy() : base() + { + } + + public PSSqlConflictResolutionPolicy(ConflictResolutionPolicy conflictResolutionPolicy) : base(conflictResolutionPolicy) + { + } + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs new file mode 100644 index 000000000000..6d851fdad1d2 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSSqlIndexingPolicy.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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 PSSqlIndexingPolicy : PSIndexingPolicy + { + public PSSqlIndexingPolicy() : base() + { + } + + public PSSqlIndexingPolicy(IndexingPolicy indexingPolicy) : base(indexingPolicy) + { + } + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs new file mode 100644 index 000000000000..2e9268974f61 --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKey.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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 PSSqlUniqueKey : PSUniqueKey + { + public PSSqlUniqueKey() : base() + { + } + + public PSSqlUniqueKey(UniqueKey uniqueKey) : base(uniqueKey) + { + } + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs new file mode 100644 index 000000000000..18c7fcb949ec --- /dev/null +++ b/src/CosmosDB/CosmosDB/Models/PSSqlUniqueKeyPolicy.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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 PSSqlUniqueKeyPolicy : PSUniqueKeyPolicy + { + public PSSqlUniqueKeyPolicy() : base() + { + } + + public PSSqlUniqueKeyPolicy(UniqueKeyPolicy uniqueKey) : base(uniqueKey) + { + } + } +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs b/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs index f01da1cd1a27..48e1e2bf3702 100644 --- a/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs +++ b/src/CosmosDB/CosmosDB/Models/PSTableGetResults.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Management.CosmosDB.Models; +using System.Collections.Generic; namespace Microsoft.Azure.Commands.CosmosDB.Models { @@ -26,6 +27,8 @@ public PSTableGetResults(TableGetResults tableGetResults) { Name = tableGetResults.Name; Id = tableGetResults.Id; + Location = tableGetResults.Location; + Tags = tableGetResults.Tags; Resource = new PSTableGetPropertiesResource(tableGetResults.Resource); } @@ -33,11 +36,18 @@ public PSTableGetResults(TableGetResults tableGetResults) /// 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/PSUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs index 781d62b9c97e..e36097d024ca 100644 --- a/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs +++ b/src/CosmosDB/CosmosDB/Models/PSUniqueKeyPolicy.cs @@ -25,6 +25,14 @@ public PSUniqueKeyPolicy() public PSUniqueKeyPolicy(UniqueKeyPolicy uniqueKey) { + UniqueKeys = new List(); + if (uniqueKey.UniqueKeys != null) + { + foreach (UniqueKey key in uniqueKey.UniqueKeys) + { + UniqueKeys.Add(new PSUniqueKey(key)); + } + } } // diff --git a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs index b3d1a7d6b1ee..ae6d03c0f98c 100644 --- a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs +++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBCollection.cs @@ -101,7 +101,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Creating or Updating CosmosDB MongoDB Collection")) + if (ShouldProcess(Name, "Setting CosmosDB MongoDB Collection")) { MongoDBCollectionGetResults mongoDBCollectionGetResults = CosmosDBManagementClient.MongoDBResources.CreateUpdateMongoDBCollectionWithHttpMessagesAsync(ResourceGroupName, AccountName, DatabaseName, Name, mongoDBCollectionCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSMongoDBCollectionGetResults(mongoDBCollectionGetResults)); diff --git a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs index 7067ab7258ca..1cd489bf0cee 100644 --- a/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs +++ b/src/CosmosDB/CosmosDB/MongoDB/SetAzCosmosDBMongoDBDatabase.cs @@ -75,7 +75,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Creating or Updating CosmosDB MongoDB Database")) + if (ShouldProcess(Name, "Setting CosmosDB MongoDB Database")) { MongoDBDatabaseGetResults mongoDBDatabaseGetResults = CosmosDBManagementClient.MongoDBResources.CreateUpdateMongoDBDatabaseWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, mongoDBDatabaseCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSMongoDBDatabaseGetResults(mongoDBDatabaseGetResults)); 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 da5698e30f55..f51e973a15d8 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlConflictResolutionPolicy.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlConflictResolutionPolicy"), OutputType(typeof(PSConflictResolutionPolicy))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlConflictResolutionPolicy"), OutputType(typeof(PSSqlConflictResolutionPolicy))] public class NewAzCosmosDBSqlConflictResolutionPolicy : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, HelpMessage = Constants.ConflictResolutionPolicyModeHelpMessage)] @@ -36,7 +36,7 @@ public class NewAzCosmosDBSqlConflictResolutionPolicy : AzureCosmosDBCmdletBase public override void ExecuteCmdlet() { - PSConflictResolutionPolicy conflictResolutionPolicy = new PSConflictResolutionPolicy + PSSqlConflictResolutionPolicy conflictResolutionPolicy = new PSSqlConflictResolutionPolicy { Mode = Type }; 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 b25ce6c86fff..f1a53d40c54c 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlIndexingPolicy.cs @@ -20,33 +20,41 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIndexingPolicy"), OutputType(typeof(PSIndexingPolicy))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlIndexingPolicy"), OutputType(typeof(PSSqlIndexingPolicy))] public class NewAzCosmosDBSqlIndexingPolicy : 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 sqlIndexingPolicy = new PSIndexingPolicy(); + PSSqlIndexingPolicy sqlIndexingPolicy = new PSSqlIndexingPolicy(); if (IncludedPath != null && IncludedPath.Length > 0) - sqlIndexingPolicy.IncludedPaths = IncludedPath; + { + sqlIndexingPolicy.IncludedPaths = new List(IncludedPath); + } + if (ExcludedPath != null && ExcludedPath.Length > 0) { diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs index 92c07d81cc91..c1cad83d3332 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKey.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKey"), OutputType(typeof(PSUniqueKey))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKey"), OutputType(typeof(PSSqlUniqueKey))] public class NewAzCosmosDBSqlUniqueKey : AzureCosmosDBCmdletBase { [Parameter(Mandatory = true, HelpMessage = Constants.UniqueKeyPathHelpMessage)] @@ -26,7 +26,7 @@ public class NewAzCosmosDBSqlUniqueKey : AzureCosmosDBCmdletBase public override void ExecuteCmdlet() { - PSUniqueKey uniqueKey = new PSUniqueKey + PSSqlUniqueKey uniqueKey = new PSSqlUniqueKey { Paths = Path }; @@ -35,4 +35,4 @@ public override void ExecuteCmdlet() return; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs index 6fddded9c3ff..33458e6eca39 100644 --- a/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs +++ b/src/CosmosDB/CosmosDB/SQL/NewAzCosmosDBSqlUniqueKeyPolicy.cs @@ -18,15 +18,15 @@ namespace Microsoft.Azure.Commands.CosmosDB { - [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKeyPolicy"), OutputType(typeof(PSUniqueKeyPolicy))] + [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CosmosDBSqlUniqueKeyPolicy"), OutputType(typeof(PSSqlUniqueKeyPolicy))] public class NewAzCosmosDBSqlUniqueKeyPolicy : AzureCosmosDBCmdletBase { - [Parameter(Mandatory = true, HelpMessage = Constants.DatabaseNameHelpMessage)] - public PSUniqueKey[] UniqueKey { get; set; } + [Parameter(Mandatory = true, HelpMessage = Constants.SqlUniqueKeysHelpMessage)] + public PSSqlUniqueKey[] UniqueKey { get; set; } public override void ExecuteCmdlet() { - PSUniqueKeyPolicy uniqueKeyPolicy = new PSUniqueKeyPolicy + PSSqlUniqueKeyPolicy uniqueKeyPolicy = new PSSqlUniqueKeyPolicy { UniqueKeys = UniqueKey }; @@ -35,4 +35,4 @@ public override void ExecuteCmdlet() return; } } -} +} \ No newline at end of file diff --git a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs index 378658ce88a5..8ad6d7259d19 100644 --- a/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs +++ b/src/CosmosDB/CosmosDB/SQL/SetAzCosmosDBSqlContainer.cs @@ -43,9 +43,9 @@ 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 PSIndexingPolicy IndexingPolicy { get; set; } + public PSSqlIndexingPolicy IndexingPolicy { get; set; } [Parameter(Mandatory = false, HelpMessage = Constants.PartitionKeyVersionHelpMessage)] public int? PartitionKeyVersion { get; set; } @@ -63,9 +63,9 @@ 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 PSUniqueKeyPolicy UniqueKeyPolicy { get; set; } + public PSSqlUniqueKeyPolicy UniqueKeyPolicy { get; set; } [Parameter(Mandatory = false, HelpMessage = Constants.SqlConflictResolutionPolicyModeHelpMessage)] [PSArgumentCompleter("Custom", "LastWriterWins", "Manual")] @@ -80,9 +80,9 @@ public class SetAzCosmosDBSqlContainer : AzureCosmosDBCmdletBase [ValidateNotNullOrEmpty] public string ConflictResolutionPolicyProcedure { get; set; } - [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.ConflictResolutionPolicyHelpMessage)] + [Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = Constants.SqlConflictResolutionPolicyHelpMessage)] [ValidateNotNull] - public PSConflictResolutionPolicy ConflictResolutionPolicy { get; set; } + public PSSqlConflictResolutionPolicy ConflictResolutionPolicy { get; set; } [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParentObjectParameterSet, HelpMessage = Constants.SqlDatabaseObjectHelpMessage)] [ValidateNotNull] @@ -116,11 +116,23 @@ public override void ExecuteCmdlet() if (UniqueKeyPolicy != null) { - UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy(); + UniqueKeyPolicy uniqueKeyPolicy = new UniqueKeyPolicy + { + UniqueKeys = new List() + }; foreach (PSUniqueKey uniqueKey in UniqueKeyPolicy.UniqueKeys) { - UniqueKey key = new UniqueKey(uniqueKey.Paths); + UniqueKey key = new UniqueKey + { + Paths = new List() + }; + + foreach(string path in uniqueKey.Paths) + { + key.Paths.Add(path); + } + uniqueKeyPolicy.UniqueKeys.Add(key); } @@ -168,50 +180,66 @@ public override void ExecuteCmdlet() if (IndexingPolicy != null) { - IList includedPaths = new List(); - IList excludedPaths = new List(); - IList> compositeIndexes = new List>(); - IList spatialIndexes = new List(); + IndexingPolicy indexingPolicy = new IndexingPolicy + { + Automatic = IndexingPolicy.Automatic, + IndexingMode = IndexingPolicy.IndexingMode, + }; - foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) + if (IndexingPolicy.IncludedPaths != null) { - includedPaths.Add(new IncludedPath + IList includedPaths = new List(); + foreach (PSIncludedPath pSIncludedPath in IndexingPolicy.IncludedPaths) { - Path = pSIncludedPath.Path, - Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) - }); - } + includedPaths.Add(new IncludedPath + { + Path = pSIncludedPath.Path, + Indexes = PSIncludedPath.ConvertPSIndexesToIndexes(pSIncludedPath.Indexes) + }); + } - foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) - { - excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); + indexingPolicy.IncludedPaths = new List(includedPaths); } - foreach (IList pSCompositePathList in IndexingPolicy.CompositeIndexes) + if (IndexingPolicy.ExcludedPaths != null && IndexingPolicy.ExcludedPaths.Count > 0) { - IList compositePathList = new List(); - foreach (PSCompositePath pSCompositePath in pSCompositePathList) + IList excludedPaths = new List(); + foreach (PSExcludedPath pSExcludedPath in IndexingPolicy.ExcludedPaths) { - compositePathList.Add(new CompositePath { Order = pSCompositePath.Order, Path = pSCompositePath.Path }); + excludedPaths.Add(new ExcludedPath { Path = pSExcludedPath.Path }); } - compositeIndexes.Add(compositePathList); + indexingPolicy.ExcludedPaths = new List(excludedPaths); } - foreach (PSSpatialSpec pSSpatialSpec in IndexingPolicy.SpatialIndexes) + if (IndexingPolicy.CompositeIndexes != null) { - spatialIndexes.Add(new SpatialSpec { Path = pSSpatialSpec.Path, Types = pSSpatialSpec.Types }); + 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); } - IndexingPolicy indexingPolicy = new IndexingPolicy + if (IndexingPolicy.SpatialIndexes != null && IndexingPolicy.SpatialIndexes.Count > 0) { - Automatic = IndexingPolicy.Automatic, - IndexingMode = IndexingPolicy.IndexingMode, - IncludedPaths = includedPaths, - ExcludedPaths = excludedPaths, - CompositeIndexes = compositeIndexes, - SpatialIndexes = spatialIndexes - }; + 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; } @@ -228,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/RemoveAzCosmosDBTable.cs b/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs index ffc9abf6deae..14cd945e9929 100644 --- a/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs +++ b/src/CosmosDB/CosmosDB/Table/RemoveAzCosmosDBTable.cs @@ -59,7 +59,7 @@ public override void ExecuteCmdlet() AccountName = ResourceIdentifierExtensions.GetDatabaseAccountName(resourceIdentifier); } - if (ShouldProcess(Name, "Removing CosmosDB Table")) + if (ShouldProcess(Name, "Deleting CosmosDB Table")) { CosmosDBManagementClient.TableResources.DeleteTableWithHttpMessagesAsync(ResourceGroupName, AccountName, Name).GetAwaiter().GetResult(); diff --git a/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs b/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs index 95503f7d1672..21fdb17de8f5 100644 --- a/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs +++ b/src/CosmosDB/CosmosDB/Table/SetAzCosmosDBTable.cs @@ -75,7 +75,7 @@ public override void ExecuteCmdlet() Options = options }; - if (ShouldProcess(Name, "Removing CosmosDB Table")) + if (ShouldProcess(Name, "Setting CosmosDB Table")) { TableGetResults tableGetResults = CosmosDBManagementClient.TableResources.CreateUpdateTableWithHttpMessagesAsync(ResourceGroupName, AccountName, Name, tableCreateUpdateParameters).GetAwaiter().GetResult().Body; WriteObject(new PSTableGetResults(tableGetResults)); diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md index 1fa9042564cb..ebdea61b457f 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinDatabase.md @@ -36,6 +36,7 @@ PS C:\> Get-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName { Name Id Resource {name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetPropertiesResource ``` + Resource Object contains _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md index 0a63c4565b05..b104166c1a5e 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBGremlinGraph.md @@ -35,7 +35,6 @@ PS C:\> Get-AzCosmosDBGremlinGraph -ResourceGroupName {rgName} -AccountName {acc Name Id Resource {name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinGraphGetPropertiesResource - ``` Resource Object contains IndexingPolicy, PartitionKey, DefaultTtl, UniqueKeyPolicy, ConflictResolutionPolicy, _rid, _ts, _etag. diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md index 5bdf7b723bfc..5e83711e41e7 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollection.md @@ -36,6 +36,7 @@ PS C:\> Get-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName Name Id Resource {name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetPropertiesResource ``` + Resource Object contains MongoIndexes, _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md index 5c354b1f6133..53ce322ffe98 100644 --- a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md +++ b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBMongoDBCollectionThroughput.md @@ -39,7 +39,6 @@ Id: {Id} Throughput: {value} MinimumThroughput: {value} OfferReplacePending: {value} - ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md index 115f7c6e412b..bfc4f9332d2d 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraClusterKey.md @@ -29,7 +29,6 @@ PS C:\> New-AzCosmosDBCassandraClusterKey -Name -OrderBy Name OrderBy ---- ------- {name} Asc - ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md index 52bbf4c3a492..150dc5562419 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBCassandraColumn.md @@ -29,7 +29,6 @@ PS C:\> New-AzCosmosDBCassandraColumn -Name "name" -Type int Name Type ---- ---- name int - ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md index 895f53d6bb75..e27a08a4fcc7 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md @@ -13,7 +13,7 @@ Creates a new CosmosDB Sql UniqueKeyPolicy object. ## SYNTAX ``` -New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey [-DefaultProfile ] +New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey [-DefaultProfile ] [] ``` @@ -52,7 +52,7 @@ Accept wildcard characters: False Database name. ```yaml -Type: PSUniqueKey[] +Type: PSSqlUniqueKey[] Parameter Sets: (All) Aliases: diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md index 7d92ecdbc2cd..c4cd8f07f9c4 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBGremlinDatabase.md @@ -10,7 +10,6 @@ schema: 2.0.0 ## SYNOPSIS Deletes a CosmosDB Gremlin Database. - ## SYNTAX ### ByNameParameterSet @@ -32,7 +31,7 @@ The **Remove-AzCosmosDBGremlinDatabase** cmdlet deletes a CosmosDB Gremlin Datab ### Example 1 ```powershell -PS C:\> Remove-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} +PS C:\> Remove-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} ``` The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md index 7233339cc3ef..81a2e7428eaf 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBCollection.md @@ -34,6 +34,7 @@ The **Remove-AzCosmosDBMongoDBCollection** cmdlet deletes a CosmosDB MongoDB Col ```powershell PS C:\> Remove-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName {accountName} -DatabaseName {dbName} -Name {collectionName} ``` + The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md index 126369cf9223..600c3edbd545 100644 --- a/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Remove-AzCosmosDBMongoDBDatabase.md @@ -31,8 +31,9 @@ The **Remove-AzCosmosDBMongoDBDatabase** cmdlet deletes a CosmosDB MongoDB Datab ### Example 1 ```powershell -PS C:\> Remove-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} +PS C:\> Remove-AzCosmosDBMongoDBDatabase -ResourceGroupName {rgName} -AccountName {accountName} -Name {dbName} ``` + The cmdlet returns an object of type bool(when -PassThru is passed) which is true, if the delete was successful. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md index ceecb7ce0ce4..d88fa528bbcd 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinDatabase.md @@ -36,6 +36,7 @@ PS C:\> Set-AzCosmosDBGremlinDatabase -ResourceGroupName {rgName} -AccountName { Name Id Resource {name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSGremlinDatabaseGetPropertiesResource ``` + Resource Object contains _rid, _ts, _etag. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md index 4a1211a25d98..1dd9bca4bd24 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBGremlinGraph.md @@ -19,7 +19,8 @@ Set-AzCosmosDBGremlinGraph -ResourceGroupName -AccountName -Da -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-ConflictResolutionPolicy ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] ``` ### ByParentObjectParameterSet @@ -28,8 +29,8 @@ Set-AzCosmosDBGremlinGraph -Name [-IndexingPolicy ] [ -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] - -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-ConflictResolutionPolicy ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -80,6 +81,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConflictResolutionPolicy +ConflictResolutionPolicy Object of type PSConflictResolutionPolicy, when provided this is set as the ConflictResolutionPolicy of the container. + +```yaml +Type: PSConflictResolutionPolicy +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ConflictResolutionPolicyMode Can have the values: LastWriterWins, Custom, Manual. diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md index e2795582d725..33edcbe13d91 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBMongoDBCollection.md @@ -38,6 +38,7 @@ PS C:\> Set-AzCosmosDBMongoDBCollection -ResourceGroupName {rgName} -AccountName Name Id Resource {name} {id} Microsoft.Azure.Commands.CosmosDB.Models.PSMongoDBCollectionGetPropertiesResource ``` + Resource Object contains MongoIndexes, _rid, _ts, _etag properties. ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md index 857a45865deb..06d351ed16d9 100644 --- a/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md +++ b/src/CosmosDB/CosmosDB/help/Set-AzCosmosDBSqlContainer.md @@ -15,21 +15,22 @@ Creates a new or updates an existing CosmosDB Sql Container. ### ByNameParameterSet (Default) ``` Set-AzCosmosDBSqlContainer -ResourceGroupName -AccountName -DatabaseName - -Name [-IndexingPolicy ] [-PartitionKeyVersion ] -PartitionKeyKind - -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] - [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] + -Name [-IndexingPolicy ] [-PartitionKeyVersion ] + -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] + [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-ConflictResolutionPolicy ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ByParentObjectParameterSet ``` -Set-AzCosmosDBSqlContainer -Name [-IndexingPolicy ] [-PartitionKeyVersion ] - -PartitionKeyKind -PartitionKeyPath [-Throughput ] [-TtlInSeconds ] - [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] +Set-AzCosmosDBSqlContainer -Name [-IndexingPolicy ] + [-PartitionKeyVersion ] -PartitionKeyKind -PartitionKeyPath [-Throughput ] + [-TtlInSeconds ] [-UniqueKeyPolicy ] [-ConflictResolutionPolicyMode ] [-ConflictResolutionPolicyPath ] [-ConflictResolutionPolicyProcedure ] - -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-ConflictResolutionPolicy ] -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -43,15 +44,7 @@ PS C:\> Set-AzCosmosDBSqlContainer -ResourceGroupName {resourceGroupName} -Accou Name : {containerName} Id : {containerId} -SqlContainerGetResultsId : -IndexingPolicy : -PartitionKey : -DefaultTtl : -UniqueKeyPolicy : -ConflictResolutionPolicy : -_rid : -_ts : -_etag : +Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlContainerGetPropertiesResource ``` ## PARAMETERS @@ -86,6 +79,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConflictResolutionPolicy +ConflictResolutionPolicy Object of type PSSqlConflictResolutionPolicy, when provided this is set as the ConflictResolutionPolicy of the container. + +```yaml +Type: PSSqlConflictResolutionPolicy +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ConflictResolutionPolicyMode Can have the values: LastWriterWins, Custom, Manual. @@ -165,7 +173,7 @@ Accept wildcard characters: False Indexing Policy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlIndexingPolicy. ```yaml -Type: PSIndexingPolicy +Type: PSSqlIndexingPolicy Parameter Sets: (All) Aliases: @@ -304,7 +312,7 @@ Accept wildcard characters: False UniqueKeyPolicy Object of type Microsoft.Azure.Commands.CosmosDB.PSSqlUniqueKeyPolicy. ```yaml -Type: PSUniqueKeyPolicy +Type: PSSqlUniqueKeyPolicy Parameter Sets: (All) Aliases: From 860bb01b079f35f991096040f0dc2735e68f49b0 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Wed, 5 Feb 2020 15:03:16 -0800 Subject: [PATCH 8/9] Updated test records and help --- .../TestCassandraOperationsCmdlets.json | 210 +++--- ...ndraOperationsCmdletsUsingInputObject.json | 226 +++---- .../TestGremlinOperationsCmdlets.json | 242 +++---- ...mlinOperationsCmdletsUsingInputObject.json | 224 +++---- .../TestMongoOperationsCmdlets.json | 208 +++--- ...ongoOperationsCmdletsUsingInputObject.json | 224 +++---- .../TestSqlOperationsCmdlets.json | 596 +++++++++--------- ...tSqlOperationsCmdletsUsingInputObject.json | 590 ++++++++--------- .../TestTableOperationsCmdlets.json | 120 ++-- ...ableOperationsCmdletsUsingInputObject.json | 114 ++-- src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 | 2 +- .../help/Get-AzCosmosDBSqlContainer.md | 10 +- .../help/Get-AzCosmosDBSqlDatabase.md | 7 +- .../help/Get-AzCosmosDBSqlStoredProcedure.md | 6 +- .../CosmosDB/help/Get-AzCosmosDBSqlTrigger.md | 8 +- .../Get-AzCosmosDBSqlUserDefinedFunction.md | 6 +- .../New-AzCosmosDBGremlinCompositePath.md | 95 +++ ...CosmosDBGremlinConflictResolutionPolicy.md | 108 ++++ .../help/New-AzCosmosDBGremlinIncludedPath.md | 94 +++ .../New-AzCosmosDBGremlinIncludedPathIndex.md | 111 ++++ .../New-AzCosmosDBGremlinIndexingPolicy.md | 170 +++++ .../help/New-AzCosmosDBGremlinSpatialSpec.md | 94 +++ .../help/New-AzCosmosDBGremlinUniqueKey.md | 77 +++ .../New-AzCosmosDBGremlinUniqueKeyPolicy.md | 82 +++ .../help/New-AzCosmosDBSqlCompositePath.md | 95 +++ ...w-AzCosmosDBSqlConflictResolutionPolicy.md | 111 ++++ .../help/New-AzCosmosDBSqlIncludedPath.md | 97 +++ .../New-AzCosmosDBSqlIncludedPathIndex.md | 111 ++++ .../help/New-AzCosmosDBSqlIndexingPolicy.md | 20 +- .../help/New-AzCosmosDBSqlSpatialSpec.md | 93 +++ .../help/New-AzCosmosDBSqlUniqueKeyPolicy.md | 4 +- 31 files changed, 2739 insertions(+), 1416 deletions(-) create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md create mode 100644 src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md 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 index c4ffeb7b58ff..5b4834d4f330 100644 --- 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 @@ -7,7 +7,7 @@ "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": [ - "bf3385b5-8c77-4911-8f9b-303465b23f7a" + "8e914610-f4a4-446f-929c-f2e303a07be0" ], "Accept-Language": [ "en-US" @@ -33,13 +33,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/operationResults/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01" + "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/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01" + "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": [ - "8e0b62da-5fe4-4a93-95df-aafe7b8a35a1" + "1c08f6e7-0572-4cd4-bc85-d9f1d1032edf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -54,16 +54,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "010cb2e1-a10e-41b3-8b00-befcd20cbb7e" + "61f2d106-5329-4b91-b4ef-cabd5c2ade4a" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214430Z:010cb2e1-a10e-41b3-8b00-befcd20cbb7e" + "WESTUS:20200205T211532Z:61f2d106-5329-4b91-b4ef-cabd5c2ade4a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:44:29 GMT" + "Wed, 05 Feb 2020 21:15:31 GMT" ], "Content-Length": [ "32" @@ -79,8 +79,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy84ZTBiNjJkYS01ZmU0LTRhOTMtOTVkZi1hYWZlN2I4YTM1YTE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -111,19 +111,19 @@ "11999" ], "x-ms-request-id": [ - "1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + "9635dc9c-d6e5-4e5f-8126-112583791a6d" ], "x-ms-correlation-request-id": [ - "1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + "9635dc9c-d6e5-4e5f-8126-112583791a6d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214500Z:1f751ed5-d141-45c0-9ef8-d49ea1e8e857" + "WESTUS:20200205T211602Z:9635dc9c-d6e5-4e5f-8126-112583791a6d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:00 GMT" + "Wed, 05 Feb 2020 21:16:02 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/uaenorth/operationsStatus/8e0b62da-5fe4-4a93-95df-aafe7b8a35a1?api-version=2019-08-01" + "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}", @@ -171,19 +171,19 @@ "11998" ], "x-ms-request-id": [ - "a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + "a9643be3-e424-44c3-b3d2-a9d3a0629613" ], "x-ms-correlation-request-id": [ - "a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + "a9643be3-e424-44c3-b3d2-a9d3a0629613" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214502Z:a7b209f2-d62a-4108-ae6f-f5d6ad222d47" + "WESTUS:20200205T211604Z:a9643be3-e424-44c3-b3d2-a9d3a0629613" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:01 GMT" + "Wed, 05 Feb 2020 21:16:03 GMT" ], "Content-Length": [ "380" @@ -195,7 +195,7 @@ "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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\r\n }\r\n }\r\n}", + "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 }, { @@ -205,7 +205,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2ad48af3-fdc7-45e0-98e9-3fd336d54234" + "84afdb5f-4679-4847-9847-44a884a7e1b6" ], "Accept-Language": [ "en-US" @@ -237,19 +237,19 @@ "11995" ], "x-ms-request-id": [ - "a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + "a7f08edf-6316-46f6-a2f2-85a1e0adf528" ], "x-ms-correlation-request-id": [ - "a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + "a7f08edf-6316-46f6-a2f2-85a1e0adf528" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214535Z:a74d61a1-9434-4aa8-8ff4-3bf8a580fded" + "WESTUS:20200205T211638Z:a7f08edf-6316-46f6-a2f2-85a1e0adf528" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:34 GMT" + "Wed, 05 Feb 2020 21:16:37 GMT" ], "Content-Length": [ "380" @@ -261,7 +261,7 @@ "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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "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": [ - "2525ae54-8a79-40e0-a5d5-a331fd182e9e" + "9df9c653-1efb-43af-8510-a0f5aaeaf1b2" ], "Accept-Language": [ "en-US" @@ -297,13 +297,13 @@ "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/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01" + "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/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01" + "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": [ - "c4ef069f-052f-485c-be48-cddc31a3bcd1" + "e0353193-fbd5-4e25-9f88-538013ce6015" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -318,16 +318,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "223ab8a0-a272-473e-a780-e40cc9da0adb" + "ec5c90e5-7b5e-4895-8397-e3fc20fd86f1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214503Z:223ab8a0-a272-473e-a780-e40cc9da0adb" + "WESTUS:20200205T211606Z:ec5c90e5-7b5e-4895-8397-e3fc20fd86f1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:03 GMT" + "Wed, 05 Feb 2020 21:16:06 GMT" ], "Content-Length": [ "32" @@ -343,8 +343,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jNGVmMDY5Zi0wNTJmLTQ4NWMtYmU0OC1jZGRjMzFhM2JjZDE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -375,19 +375,19 @@ "11997" ], "x-ms-request-id": [ - "b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + "fe48d6d8-e726-4153-9fd6-844f7f9a06d6" ], "x-ms-correlation-request-id": [ - "b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + "fe48d6d8-e726-4153-9fd6-844f7f9a06d6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214534Z:b3f6a8cd-7b3a-4a67-8df0-2c60272ffe56" + "WESTUS:20200205T211636Z:fe48d6d8-e726-4153-9fd6-844f7f9a06d6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:33 GMT" + "Wed, 05 Feb 2020 21:16:36 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/uaenorth/operationsStatus/c4ef069f-052f-485c-be48-cddc31a3bcd1?api-version=2019-08-01" + "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}", @@ -435,19 +435,19 @@ "11996" ], "x-ms-request-id": [ - "cb93efa6-4a26-4057-b4ed-b599a54135e3" + "cc4203f7-d7d5-420e-880b-d3dd477393f5" ], "x-ms-correlation-request-id": [ - "cb93efa6-4a26-4057-b4ed-b599a54135e3" + "cc4203f7-d7d5-420e-880b-d3dd477393f5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214535Z:cb93efa6-4a26-4057-b4ed-b599a54135e3" + "WESTUS:20200205T211637Z:cc4203f7-d7d5-420e-880b-d3dd477393f5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:34 GMT" + "Wed, 05 Feb 2020 21:16:37 GMT" ], "Content-Length": [ "603" @@ -459,7 +459,7 @@ "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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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}", + "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 }, { @@ -469,7 +469,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7b4ef84d-b0c7-4ea1-9d44-8d7e56dd95fb" + "97b5038f-1d40-4634-9619-a8be94e42af8" ], "Accept-Language": [ "en-US" @@ -501,19 +501,19 @@ "11994" ], "x-ms-request-id": [ - "4d776359-fbb7-411c-be32-88f7f7c1f266" + "fd3d9304-d1e0-4157-bead-f1c8b2932918" ], "x-ms-correlation-request-id": [ - "4d776359-fbb7-411c-be32-88f7f7c1f266" + "fd3d9304-d1e0-4157-bead-f1c8b2932918" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214536Z:4d776359-fbb7-411c-be32-88f7f7c1f266" + "WESTUS:20200205T211638Z:fd3d9304-d1e0-4157-bead-f1c8b2932918" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:35 GMT" + "Wed, 05 Feb 2020 21:16:37 GMT" ], "Content-Length": [ "603" @@ -525,7 +525,7 @@ "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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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}", + "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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2d7855c9-a20f-4a92-813f-f79a7faa877c" + "c1a775b4-5337-49c6-ba9f-c6fee88f3031" ], "Accept-Language": [ "en-US" @@ -567,19 +567,19 @@ "11993" ], "x-ms-request-id": [ - "f73dae02-1289-46c1-8717-78666e380ecf" + "bf97f03b-2f1c-428d-a87e-e29ed07e75cd" ], "x-ms-correlation-request-id": [ - "f73dae02-1289-46c1-8717-78666e380ecf" + "bf97f03b-2f1c-428d-a87e-e29ed07e75cd" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214536Z:f73dae02-1289-46c1-8717-78666e380ecf" + "WESTUS:20200205T211639Z:bf97f03b-2f1c-428d-a87e-e29ed07e75cd" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:35 GMT" + "Wed, 05 Feb 2020 21:16:38 GMT" ], "Content-Length": [ "615" @@ -591,7 +591,7 @@ "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\": \"Rvs-AJ2AvYU=\",\r\n \"_etag\": \"\\\"0000c000-0000-3200-0000-5e28ae350000\\\"\",\r\n \"_ts\": 1579724341,\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}", + "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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "83b49cc8-aade-4a58-b5fb-cb88fc9b10df" + "bb39a6d8-bb00-408b-92a4-62664fb7f64a" ], "Accept-Language": [ "en-US" @@ -633,22 +633,22 @@ "11992" ], "x-ms-request-id": [ - "b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + "b07b8815-0bf8-48ef-b1fb-57280856582f" ], "x-ms-correlation-request-id": [ - "b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + "b07b8815-0bf8-48ef-b1fb-57280856582f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214537Z:b4c160b6-16c2-4b93-aa3b-fc6848e6a71e" + "WESTUS:20200205T211640Z:b07b8815-0bf8-48ef-b1fb-57280856582f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:36 GMT" + "Wed, 05 Feb 2020 21:16:39 GMT" ], "Content-Length": [ - "17441" + "17849" ], "Content-Type": [ "application/json" @@ -657,7 +657,7 @@ "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/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/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\": \"Rvs-AA==\",\r\n \"_etag\": \"\\\"0000be00-0000-3200-0000-5e28ae150000\\\"\",\r\n \"_ts\": 1579724309\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}", + "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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1933f63c-36ab-4d06-8321-da70f01a8079" + "304f11af-b3bc-44ca-a6cc-a18bd7481497" ], "Accept-Language": [ "en-US" @@ -687,13 +687,13 @@ "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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + "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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + "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": [ - "c1c6519e-1b57-4e4a-bf1f-868a649b5996" + "52a70f93-a00b-4136-aa80-d2aea25a8b11" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -708,16 +708,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "0d96de1b-6b54-4d23-9544-518e32413ceb" + "82a4f24a-27e3-430d-bf38-2a60cd04eddb" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214537Z:0d96de1b-6b54-4d23-9544-518e32413ceb" + "WESTUS:20200205T211640Z:82a4f24a-27e3-430d-bf38-2a60cd04eddb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:45:36 GMT" + "Wed, 05 Feb 2020 21:16:40 GMT" ], "Content-Length": [ "32" @@ -733,8 +733,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jMWM2NTE5ZS0xYjU3LTRlNGEtYmYxZi04NjhhNjQ5YjU5OTY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -765,19 +765,19 @@ "11991" ], "x-ms-request-id": [ - "a3e013ee-8ee5-40f5-9eef-c350280e1de2" + "bc752f7f-a36e-45df-98ac-da3e973091cc" ], "x-ms-correlation-request-id": [ - "a3e013ee-8ee5-40f5-9eef-c350280e1de2" + "bc752f7f-a36e-45df-98ac-da3e973091cc" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214607Z:a3e013ee-8ee5-40f5-9eef-c350280e1de2" + "WESTUS:20200205T211711Z:bc752f7f-a36e-45df-98ac-da3e973091cc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:46:07 GMT" + "Wed, 05 Feb 2020 21:17:10 GMT" ], "Content-Length": [ "33" @@ -786,15 +786,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + "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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi90YWJsZXMvdGFibGUvb3BlcmF0aW9uUmVzdWx0cy9jMWM2NTE5ZS0xYjU3LTRlNGEtYmYxZi04NjhhNjQ5YjU5OTY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -825,25 +825,25 @@ "11990" ], "x-ms-request-id": [ - "abea4254-d737-4312-9f13-664239f9e0d0" + "d1435f79-69bb-47cb-842b-1b1c7042f94a" ], "x-ms-correlation-request-id": [ - "abea4254-d737-4312-9f13-664239f9e0d0" + "d1435f79-69bb-47cb-842b-1b1c7042f94a" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214607Z:abea4254-d737-4312-9f13-664239f9e0d0" + "WESTUS:20200205T211712Z:d1435f79-69bb-47cb-842b-1b1c7042f94a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:46:07 GMT" + "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/c1c6519e-1b57-4e4a-bf1f-868a649b5996?api-version=2019-08-01" + "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": "", @@ -856,7 +856,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7e5d1eca-8c66-4543-af27-b4941de2a6db" + "f9694399-96a2-4e86-9193-32993403b967" ], "Accept-Language": [ "en-US" @@ -876,13 +876,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db/operationResults/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + "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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + "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": [ - "158620be-4f95-403a-9342-4bf26593d68e" + "03b40424-b869-472e-8f13-1c52df1b1a37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -897,16 +897,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "5b6faef7-a691-4ec4-91bb-b002c7049cca" + "67aa82b1-e18d-4417-bd1b-d1c3a9398b26" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214608Z:5b6faef7-a691-4ec4-91bb-b002c7049cca" + "WESTUS:20200205T211713Z:67aa82b1-e18d-4417-bd1b-d1c3a9398b26" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:46:08 GMT" + "Wed, 05 Feb 2020 21:17:12 GMT" ], "Content-Length": [ "32" @@ -922,8 +922,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8xNTg2MjBiZS00Zjk1LTQwM2EtOTM0Mi00YmYyNjU5M2Q2OGU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -954,19 +954,19 @@ "11999" ], "x-ms-request-id": [ - "11d95cf0-c077-47c4-845a-7a4b66434d92" + "09b7918b-fd2e-4001-97e3-eecd8bdfe909" ], "x-ms-correlation-request-id": [ - "11d95cf0-c077-47c4-845a-7a4b66434d92" + "09b7918b-fd2e-4001-97e3-eecd8bdfe909" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214639Z:11d95cf0-c077-47c4-845a-7a4b66434d92" + "WESTUS:20200205T211744Z:09b7918b-fd2e-4001-97e3-eecd8bdfe909" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:46:38 GMT" + "Wed, 05 Feb 2020 21:17:43 GMT" ], "Content-Length": [ "33" @@ -975,15 +975,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + "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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYi9vcGVyYXRpb25SZXN1bHRzLzE1ODYyMGJlLTRmOTUtNDAzYS05MzQyLTRiZjI2NTkzZDY4ZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": { @@ -1014,25 +1014,25 @@ "11998" ], "x-ms-request-id": [ - "a88a4fa7-5115-447c-bddd-f12bf650a129" + "57b2ca46-eaed-440c-9a49-04f26ceb1d5d" ], "x-ms-correlation-request-id": [ - "a88a4fa7-5115-447c-bddd-f12bf650a129" + "57b2ca46-eaed-440c-9a49-04f26ceb1d5d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T214639Z:a88a4fa7-5115-447c-bddd-f12bf650a129" + "WESTUS:20200205T211744Z:57b2ca46-eaed-440c-9a49-04f26ceb1d5d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 21:46:38 GMT" + "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/158620be-4f95-403a-9342-4bf26593d68e?api-version=2019-08-01" + "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": "", 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 index d3c5b3a4353a..25f5b78002af 100644 --- 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 @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "86583b33-5bee-4355-a5d6-de33f0c73e1c" + "16948b5d-6ba6-4353-9edb-909966962223" ], "Accept-Language": [ "en-US" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "bc86a371-a444-444e-9dbb-acd14dc58b6e" + "8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9" ], "x-ms-correlation-request-id": [ - "bc86a371-a444-444e-9dbb-acd14dc58b6e" + "8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201615Z:bc86a371-a444-444e-9dbb-acd14dc58b6e" + "WESTUS:20200205T211318Z:8bea9404-42f9-4dbc-a5e6-ea7883e6e8c9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:14 GMT" + "Wed, 05 Feb 2020 21:13:18 GMT" ], "Content-Length": [ "1767" @@ -73,7 +73,7 @@ "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": [ - "23c41e0a-5c06-4fd7-811b-c756c60f8402" + "86ff690a-b85f-4d38-94a9-7b057d3aaa85" ], "Accept-Language": [ "en-US" @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/operationResults/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01" + "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/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01" + "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": [ - "c38ef102-fef7-40a2-b451-f3882f682d1e" + "8ac5e84e-3ad9-472e-977f-956f0ba53571" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "77ec7585-f771-4822-8df2-d5d94dbaa914" + "0e52143e-a9ed-409f-ba38-cb858ad57457" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201615Z:77ec7585-f771-4822-8df2-d5d94dbaa914" + "WESTUS:20200205T211319Z:0e52143e-a9ed-409f-ba38-cb858ad57457" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:14 GMT" + "Wed, 05 Feb 2020 21:13:18 GMT" ], "Content-Length": [ "32" @@ -145,8 +145,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9jMzhlZjEwMi1mZWY3LTQwYTItYjQ1MS1mMzg4MmY2ODJkMWU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -177,19 +177,19 @@ "11998" ], "x-ms-request-id": [ - "a0721e5b-76a3-44de-8f0c-04aac6f9581e" + "2658af93-0943-41fc-bc2d-cfc6571ef917" ], "x-ms-correlation-request-id": [ - "a0721e5b-76a3-44de-8f0c-04aac6f9581e" + "2658af93-0943-41fc-bc2d-cfc6571ef917" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201646Z:a0721e5b-76a3-44de-8f0c-04aac6f9581e" + "WESTUS:20200205T211349Z:2658af93-0943-41fc-bc2d-cfc6571ef917" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:45 GMT" + "Wed, 05 Feb 2020 21:13:49 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/uaenorth/operationsStatus/c38ef102-fef7-40a2-b451-f3882f682d1e?api-version=2019-08-01" + "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}", @@ -237,19 +237,19 @@ "11997" ], "x-ms-request-id": [ - "d8d64cb5-c229-454b-b846-98394fc06a2b" + "dfb1f131-902a-4846-b667-1f0b2f41fb23" ], "x-ms-correlation-request-id": [ - "d8d64cb5-c229-454b-b846-98394fc06a2b" + "dfb1f131-902a-4846-b667-1f0b2f41fb23" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201647Z:d8d64cb5-c229-454b-b846-98394fc06a2b" + "WESTUS:20200205T211350Z:dfb1f131-902a-4846-b667-1f0b2f41fb23" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:46 GMT" + "Wed, 05 Feb 2020 21:13:50 GMT" ], "Content-Length": [ "383" @@ -261,7 +261,7 @@ "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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f5195f91-eb3c-4f6d-bc3e-27eb8f167670" + "08ce4526-dd1a-4350-81f1-56d2cfcb4ce0" ], "Accept-Language": [ "en-US" @@ -303,19 +303,19 @@ "11994" ], "x-ms-request-id": [ - "4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + "a9d84a19-5aec-4c87-b932-bf1682d58217" ], "x-ms-correlation-request-id": [ - "4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + "a9d84a19-5aec-4c87-b932-bf1682d58217" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201721Z:4ee4c0d6-f244-4d0e-89b9-13936c923ba1" + "WESTUS:20200205T211425Z:a9d84a19-5aec-4c87-b932-bf1682d58217" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:21 GMT" + "Wed, 05 Feb 2020 21:14:24 GMT" ], "Content-Length": [ "383" @@ -327,7 +327,7 @@ "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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\r\n }\r\n }\r\n}", + "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 }, { @@ -337,7 +337,7 @@ "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": [ - "9e7f695a-3dae-4efc-90ee-98501c122b90" + "678a171e-9807-451a-8658-be4df157f731" ], "Accept-Language": [ "en-US" @@ -363,13 +363,13 @@ "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/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01" + "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/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01" + "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": [ - "3cdec57d-713c-4308-9432-81bebde69a65" + "de4b06c5-ad24-4761-ac58-ca72036993ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -384,16 +384,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "94484826-980d-42e6-bed2-1a9a452733e9" + "f791230a-b444-4aaa-be85-334887c8252f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201649Z:94484826-980d-42e6-bed2-1a9a452733e9" + "WESTUS:20200205T211353Z:f791230a-b444-4aaa-be85-334887c8252f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:48 GMT" + "Wed, 05 Feb 2020 21:13:52 GMT" ], "Content-Length": [ "32" @@ -409,8 +409,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy8zY2RlYzU3ZC03MTNjLTQzMDgtOTQzMi04MWJlYmRlNjlhNjU/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -441,19 +441,19 @@ "11996" ], "x-ms-request-id": [ - "6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + "5a378bae-acc5-4843-b2f9-0ca8de43e1a8" ], "x-ms-correlation-request-id": [ - "6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + "5a378bae-acc5-4843-b2f9-0ca8de43e1a8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201719Z:6490a0fd-b8ec-4bda-b992-1db6dcd1c2a7" + "WESTUS:20200205T211423Z:5a378bae-acc5-4843-b2f9-0ca8de43e1a8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:19 GMT" + "Wed, 05 Feb 2020 21:14:22 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/uaenorth/operationsStatus/3cdec57d-713c-4308-9432-81bebde69a65?api-version=2019-08-01" + "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}", @@ -501,19 +501,19 @@ "11995" ], "x-ms-request-id": [ - "cd1cd972-7fea-4179-9615-5df60301e50b" + "3fd07ccb-ea65-4624-83e3-97dfc4217ef8" ], "x-ms-correlation-request-id": [ - "cd1cd972-7fea-4179-9615-5df60301e50b" + "3fd07ccb-ea65-4624-83e3-97dfc4217ef8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201720Z:cd1cd972-7fea-4179-9615-5df60301e50b" + "WESTUS:20200205T211424Z:3fd07ccb-ea65-4624-83e3-97dfc4217ef8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:20 GMT" + "Wed, 05 Feb 2020 21:14:23 GMT" ], "Content-Length": [ "604" @@ -525,7 +525,7 @@ "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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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}", + "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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "29928461-c84f-48ce-96ce-ff11e5357699" + "79eb5e39-a27e-4153-bc1c-587fb1815fcd" ], "Accept-Language": [ "en-US" @@ -567,19 +567,19 @@ "11993" ], "x-ms-request-id": [ - "3eb14894-9996-47b1-b584-5d720f3119c6" + "c82c9cc8-b7fc-414b-9846-14760fc44c99" ], "x-ms-correlation-request-id": [ - "3eb14894-9996-47b1-b584-5d720f3119c6" + "c82c9cc8-b7fc-414b-9846-14760fc44c99" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201722Z:3eb14894-9996-47b1-b584-5d720f3119c6" + "WESTUS:20200205T211425Z:c82c9cc8-b7fc-414b-9846-14760fc44c99" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:21 GMT" + "Wed, 05 Feb 2020 21:14:24 GMT" ], "Content-Length": [ "604" @@ -591,7 +591,7 @@ "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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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}", + "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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e9dccf90-f2e4-4055-b4e6-75bb27584cf2" + "410156ac-8ffe-4161-882d-6b939a1ab110" ], "Accept-Language": [ "en-US" @@ -633,19 +633,19 @@ "11992" ], "x-ms-request-id": [ - "f4848486-cfab-412b-9d58-ac4e261bf229" + "45713dad-a02b-47a4-b54f-3369f3ab65a3" ], "x-ms-correlation-request-id": [ - "f4848486-cfab-412b-9d58-ac4e261bf229" + "45713dad-a02b-47a4-b54f-3369f3ab65a3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201722Z:f4848486-cfab-412b-9d58-ac4e261bf229" + "WESTUS:20200205T211426Z:45713dad-a02b-47a4-b54f-3369f3ab65a3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:22 GMT" + "Wed, 05 Feb 2020 21:14:25 GMT" ], "Content-Length": [ "616" @@ -657,7 +657,7 @@ "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\": \"FDlVAJEZ26s=\",\r\n \"_etag\": \"\\\"0000ba00-0000-3200-0000-5e28adb30000\\\"\",\r\n \"_ts\": 1579724211,\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}", + "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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ba68f1d7-9bab-47ca-81ae-6e35da039ee8" + "cda5ab42-6b6b-4e80-abc5-7f65028428c3" ], "Accept-Language": [ "en-US" @@ -699,22 +699,22 @@ "11991" ], "x-ms-request-id": [ - "89f004d4-1f24-4d37-ae53-57c5840b1852" + "a12ec22d-ecb9-4d14-a6fc-d80990bc3773" ], "x-ms-correlation-request-id": [ - "89f004d4-1f24-4d37-ae53-57c5840b1852" + "a12ec22d-ecb9-4d14-a6fc-d80990bc3773" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201723Z:89f004d4-1f24-4d37-ae53-57c5840b1852" + "WESTUS:20200205T211426Z:a12ec22d-ecb9-4d14-a6fc-d80990bc3773" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:22 GMT" + "Wed, 05 Feb 2020 21:14:25 GMT" ], "Content-Length": [ - "17444" + "17852" ], "Content-Type": [ "application/json" @@ -723,7 +723,7 @@ "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/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/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\": \"FDlVAA==\",\r\n \"_etag\": \"\\\"0000b800-0000-3200-0000-5e28ad920000\\\"\",\r\n \"_ts\": 1579724178\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}", + "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 }, { @@ -733,7 +733,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7ca6fa25-5c0e-436d-92e0-55564f11a4ed" + "b91af20a-969f-456f-a6f6-986b8eb3ac03" ], "Accept-Language": [ "en-US" @@ -753,13 +753,13 @@ "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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + "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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + "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": [ - "d9d09c98-09bc-4c13-ac4c-543a6803c1c8" + "e6e93a9b-5de2-413c-9ef2-8e2a6761133a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -774,16 +774,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "64df520c-00f2-4e81-b594-3896649cbfe8" + "98c42b26-3544-4bed-bb9a-1ffbfca15be6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201723Z:64df520c-00f2-4e81-b594-3896649cbfe8" + "WESTUS:20200205T211427Z:98c42b26-3544-4bed-bb9a-1ffbfca15be6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:23 GMT" + "Wed, 05 Feb 2020 21:14:26 GMT" ], "Content-Length": [ "32" @@ -799,8 +799,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy9kOWQwOWM5OC0wOWJjLTRjMTMtYWM0Yy01NDNhNjgwM2MxYzg/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -831,19 +831,19 @@ "11990" ], "x-ms-request-id": [ - "7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + "f767bd18-1143-4254-b228-3229e04c6f9d" ], "x-ms-correlation-request-id": [ - "7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + "f767bd18-1143-4254-b228-3229e04c6f9d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201753Z:7cce0a16-e8e0-4a45-9b0d-b7bfd151cf8f" + "WESTUS:20200205T211457Z:f767bd18-1143-4254-b228-3229e04c6f9d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:53 GMT" + "Wed, 05 Feb 2020 21:14:57 GMT" ], "Content-Length": [ "33" @@ -852,15 +852,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + "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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvdGFibGVzL3RhYmxlL29wZXJhdGlvblJlc3VsdHMvZDlkMDljOTgtMDliYy00YzEzLWFjNGMtNTQzYTY4MDNjMWM4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -891,25 +891,25 @@ "11989" ], "x-ms-request-id": [ - "64d9ddf8-b767-4166-86f0-cadbf5b8515d" + "aad6b0e9-4319-4ece-9977-cbe96360eed1" ], "x-ms-correlation-request-id": [ - "64d9ddf8-b767-4166-86f0-cadbf5b8515d" + "aad6b0e9-4319-4ece-9977-cbe96360eed1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201754Z:64d9ddf8-b767-4166-86f0-cadbf5b8515d" + "WESTUS:20200205T211459Z:aad6b0e9-4319-4ece-9977-cbe96360eed1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:53 GMT" + "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/d9d09c98-09bc-4c13-ac4c-543a6803c1c8?api-version=2019-08-01" + "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": "", @@ -922,7 +922,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6f1dd7ba-95da-490d-ada6-5e5485d278c9" + "c5e3c12d-f5fa-46f8-b7bb-3fdc8612c432" ], "Accept-Language": [ "en-US" @@ -942,13 +942,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2725/cassandraKeyspaces/db2/operationResults/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + "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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + "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": [ - "42aff329-46ba-44a1-af16-4447e0edcf00" + "54a54b28-59b5-4f8b-8765-295ffb5a3f5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -960,19 +960,19 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14998" + "14999" ], "x-ms-correlation-request-id": [ - "02dbd391-d602-4971-b643-cde2a01e797a" + "86d8a1a2-33a0-4419-8b79-21ef3814fdda" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201754Z:02dbd391-d602-4971-b643-cde2a01e797a" + "WESTUS:20200205T211459Z:86d8a1a2-33a0-4419-8b79-21ef3814fdda" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:17:53 GMT" + "Wed, 05 Feb 2020 21:14:59 GMT" ], "Content-Length": [ "32" @@ -988,8 +988,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvdWFlbm9ydGgvb3BlcmF0aW9uc1N0YXR1cy80MmFmZjMyOS00NmJhLTQ0YTEtYWYxNi00NDQ3ZTBlZGNmMDA/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -1017,22 +1017,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11999" ], "x-ms-request-id": [ - "8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + "21081939-8cd9-429c-927a-81a8da975563" ], "x-ms-correlation-request-id": [ - "8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + "21081939-8cd9-429c-927a-81a8da975563" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201825Z:8c66deb6-a40a-4ec7-99b1-82fb355fb76c" + "WESTUS:20200205T211529Z:21081939-8cd9-429c-927a-81a8da975563" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:18:24 GMT" + "Wed, 05 Feb 2020 21:15:29 GMT" ], "Content-Length": [ "33" @@ -1041,15 +1041,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/uaenorth/operationsStatus/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + "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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNzI1L2Nhc3NhbmRyYUtleXNwYWNlcy9kYjIvb3BlcmF0aW9uUmVzdWx0cy80MmFmZjMyOS00NmJhLTQ0YTEtYWYxNi00NDQ3ZTBlZGNmMDA/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -1077,28 +1077,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11998" ], "x-ms-request-id": [ - "2578126c-7d7a-47a9-8443-77e657ed1fd0" + "41c64e6d-04f9-4958-b64f-6a6bda1da76f" ], "x-ms-correlation-request-id": [ - "2578126c-7d7a-47a9-8443-77e657ed1fd0" + "41c64e6d-04f9-4958-b64f-6a6bda1da76f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201825Z:2578126c-7d7a-47a9-8443-77e657ed1fd0" + "WESTUS:20200205T211530Z:41c64e6d-04f9-4958-b64f-6a6bda1da76f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:18:25 GMT" + "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/42aff329-46ba-44a1-af16-4447e0edcf00?api-version=2019-08-01" + "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": "", 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 index 2be6afdf3fe0..61199595600b 100644 --- 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 @@ -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": [ - "ad3c9006-4880-46b0-89af-28ea843ca1eb" + "bb90848a-0432-48f6-b9e6-ae517012d20c" ], "Accept-Language": [ "en-US" @@ -33,13 +33,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/operationResults/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01" + "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/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01" + "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": [ - "04fc961f-ce15-4786-bd94-dc991047c8a1" + "371f24dd-63d5-4806-b18b-e4c6adee2b31" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -54,16 +54,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "0eeeb036-282d-4e8d-8e00-88bf41458fc7" + "675f0dab-8cd6-4ab7-b911-fcb1e27068d4" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201159Z:0eeeb036-282d-4e8d-8e00-88bf41458fc7" + "WESTUS:20200205T210652Z:675f0dab-8cd6-4ab7-b911-fcb1e27068d4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:11:58 GMT" + "Wed, 05 Feb 2020 21:06:52 GMT" ], "Content-Length": [ "32" @@ -79,8 +79,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDRmYzk2MWYtY2UxNS00Nzg2LWJkOTQtZGM5OTEwNDdjOGExP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -108,22 +108,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11998" ], "x-ms-request-id": [ - "ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + "549a36cc-0785-4f37-bd14-705b8894ee2d" ], "x-ms-correlation-request-id": [ - "ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + "549a36cc-0785-4f37-bd14-705b8894ee2d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201229Z:ba0a3fa5-5ad9-48a5-a0ae-b620e90aef2a" + "WESTUS:20200205T210722Z:549a36cc-0785-4f37-bd14-705b8894ee2d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:12:29 GMT" + "Wed, 05 Feb 2020 21:07:22 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/eastus/operationsStatus/04fc961f-ce15-4786-bd94-dc991047c8a1?api-version=2019-08-01" + "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}", @@ -168,22 +168,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11997" ], "x-ms-request-id": [ - "2eed0c12-71b4-448e-b186-b8793e405540" + "602e54c9-b8dd-4ba8-8813-ff4d36064378" ], "x-ms-correlation-request-id": [ - "2eed0c12-71b4-448e-b186-b8793e405540" + "602e54c9-b8dd-4ba8-8813-ff4d36064378" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201229Z:2eed0c12-71b4-448e-b186-b8793e405540" + "WESTUS:20200205T210722Z:602e54c9-b8dd-4ba8-8813-ff4d36064378" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:12:29 GMT" + "Wed, 05 Feb 2020 21:07:22 GMT" ], "Content-Length": [ "448" @@ -195,7 +195,7 @@ "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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\r\n }\r\n }\r\n}", + "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 }, { @@ -205,7 +205,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7f77b042-eda6-4222-b31a-7e7cc8288deb" + "cddf444c-68ad-49fb-83af-d280ff257539" ], "Accept-Language": [ "en-US" @@ -234,22 +234,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11994" ], "x-ms-request-id": [ - "07e1fb74-8798-426d-a39a-51b4a8323bae" + "d811a272-4dfe-49cb-8782-bf15861f60c5" ], "x-ms-correlation-request-id": [ - "07e1fb74-8798-426d-a39a-51b4a8323bae" + "d811a272-4dfe-49cb-8782-bf15861f60c5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201302Z:07e1fb74-8798-426d-a39a-51b4a8323bae" + "WESTUS:20200205T210754Z:d811a272-4dfe-49cb-8782-bf15861f60c5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:01 GMT" + "Wed, 05 Feb 2020 21:07:53 GMT" ], "Content-Length": [ "448" @@ -261,17 +261,17 @@ "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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\r\n }\r\n }\r\n}", + "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 \"partitionKey\": {\r\n \"paths\": [\r\n \"/foo\"\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\": \"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": [ - "814899e0-431d-4177-a43e-045ac0f42a82" + "527ff01a-3a7d-4738-8c84-c7c8955d421f" ], "Accept-Language": [ "en-US" @@ -286,7 +286,7 @@ "application/json; charset=utf-8" ], "Content-Length": [ - "205" + "2039" ] }, "ResponseHeaders": { @@ -297,13 +297,13 @@ "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/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01" + "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/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01" + "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": [ - "31973555-9db8-4d56-be33-49119031538f" + "0c0e6bb3-7826-4d55-8a22-f89bc602366f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -318,16 +318,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "f3c0a890-0034-4ee1-a8dc-e1ebc0cc662b" + "c805788a-d6e2-424c-b581-4c97618c7fc5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201230Z:f3c0a890-0034-4ee1-a8dc-e1ebc0cc662b" + "WESTUS:20200205T210723Z:c805788a-d6e2-424c-b581-4c97618c7fc5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:12:30 GMT" + "Wed, 05 Feb 2020 21:07:23 GMT" ], "Content-Length": [ "32" @@ -343,8 +343,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzE5NzM1NTUtOWRiOC00ZDU2LWJlMzMtNDkxMTkwMzE1MzhmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -372,22 +372,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11996" ], "x-ms-request-id": [ - "92ef5356-e08f-49ea-9016-601e975d0ab8" + "f4d5f5de-e034-4250-a9d4-d8735e56df04" ], "x-ms-correlation-request-id": [ - "92ef5356-e08f-49ea-9016-601e975d0ab8" + "f4d5f5de-e034-4250-a9d4-d8735e56df04" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201300Z:92ef5356-e08f-49ea-9016-601e975d0ab8" + "WESTUS:20200205T210753Z:f4d5f5de-e034-4250-a9d4-d8735e56df04" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:00 GMT" + "Wed, 05 Feb 2020 21:07:53 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/eastus/operationsStatus/31973555-9db8-4d56-be33-49119031538f?api-version=2019-08-01" + "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}", @@ -432,25 +432,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11995" ], "x-ms-request-id": [ - "206406c6-70b4-4e92-a1f2-458262b01cdc" + "4c80bbb3-1265-437e-8a81-d9f184612309" ], "x-ms-correlation-request-id": [ - "206406c6-70b4-4e92-a1f2-458262b01cdc" + "4c80bbb3-1265-437e-8a81-d9f184612309" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201301Z:206406c6-70b4-4e92-a1f2-458262b01cdc" + "WESTUS:20200205T210754Z:4c80bbb3-1265-437e-8a81-d9f184612309" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:00 GMT" + "Wed, 05 Feb 2020 21:07:53 GMT" ], "Content-Length": [ - "1014" + "1436" ], "Content-Type": [ "application/json" @@ -459,7 +459,7 @@ "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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/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 }, { @@ -469,7 +469,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b1fdfb0e-452a-4c29-a2d2-a4e1c90b41d3" + "5a4c9619-8ca2-4d06-b32d-8270d1d99711" ], "Accept-Language": [ "en-US" @@ -498,25 +498,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11993" ], "x-ms-request-id": [ - "cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + "5e888c2f-df7b-41d3-a4dc-647017db391b" ], "x-ms-correlation-request-id": [ - "cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + "5e888c2f-df7b-41d3-a4dc-647017db391b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201302Z:cbd61f0a-1ae8-4f9f-bad6-0fb3313aaf31" + "WESTUS:20200205T210754Z:5e888c2f-df7b-41d3-a4dc-647017db391b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:01 GMT" + "Wed, 05 Feb 2020 21:07:54 GMT" ], "Content-Length": [ - "1014" + "1436" ], "Content-Type": [ "application/json" @@ -525,7 +525,7 @@ "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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/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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e38e7ce3-a2b1-4810-9566-0db34b9d75a6" + "e53e0bd4-b8fd-4cfb-9ea0-8deee2c1dab0" ], "Accept-Language": [ "en-US" @@ -564,25 +564,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11992" ], "x-ms-request-id": [ - "167c0397-684c-46a7-af90-0a9fe23a9105" + "1be090e1-04bb-4d79-be51-393fc1831433" ], "x-ms-correlation-request-id": [ - "167c0397-684c-46a7-af90-0a9fe23a9105" + "1be090e1-04bb-4d79-be51-393fc1831433" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201302Z:167c0397-684c-46a7-af90-0a9fe23a9105" + "WESTUS:20200205T210755Z:1be090e1-04bb-4d79-be51-393fc1831433" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:01 GMT" + "Wed, 05 Feb 2020 21:07:54 GMT" ], "Content-Length": [ - "950" + "1370" ], "Content-Type": [ "application/json" @@ -591,7 +591,7 @@ "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\": \"/\\\"_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\": \"cZYmAKqEq3I=\",\r\n \"_ts\": 1579723951,\r\n \"_self\": \"dbs/cZYmAA==/colls/cZYmAKqEq3I=/\",\r\n \"_etag\": \"\\\"0000da07-0000-0100-0000-5e28acaf0000\\\"\",\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/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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e9206a03-28bf-4a48-87f2-389932482df2" + "f68725d4-d310-4ef7-aba3-549228aeb41e" ], "Accept-Language": [ "en-US" @@ -630,22 +630,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11991" ], "x-ms-request-id": [ - "799668ba-b724-4708-8cc1-80eedef5ae29" + "2c6f5e49-d23b-44d7-8119-9af918fd3027" ], "x-ms-correlation-request-id": [ - "799668ba-b724-4708-8cc1-80eedef5ae29" + "2c6f5e49-d23b-44d7-8119-9af918fd3027" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201303Z:799668ba-b724-4708-8cc1-80eedef5ae29" + "WESTUS:20200205T210755Z:2c6f5e49-d23b-44d7-8119-9af918fd3027" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:02 GMT" + "Wed, 05 Feb 2020 21:07:54 GMT" ], "Content-Length": [ "903" @@ -657,7 +657,7 @@ "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/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\": \"cZYmAA==\",\r\n \"_self\": \"dbs/cZYmAA==/\",\r\n \"_etag\": \"\\\"0000d807-0000-0100-0000-5e28ac900000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579723920\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/\\\"\\\"\",\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}", + "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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "29f53ae0-5aa7-4e73-a35b-78b5822dfa4c" + "0d8a64a0-03af-413e-9694-2d475927a01b" ], "Accept-Language": [ "en-US" @@ -687,13 +687,13 @@ "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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + "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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + "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": [ - "cd4d3cac-56b1-438f-96f3-146affbe8366" + "4b6df823-5c06-49d4-8c27-35abd6661eb2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -708,16 +708,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "d0b04cee-4ad8-47c4-acea-be8685a58e9f" + "1efa961a-0c17-41f8-92a8-b6224b7a7870" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201303Z:d0b04cee-4ad8-47c4-acea-be8685a58e9f" + "WESTUS:20200205T210756Z:1efa961a-0c17-41f8-92a8-b6224b7a7870" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:02 GMT" + "Wed, 05 Feb 2020 21:07:55 GMT" ], "Content-Length": [ "32" @@ -733,8 +733,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2Q0ZDNjYWMtNTZiMS00MzhmLTk2ZjMtMTQ2YWZmYmU4MzY2P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -762,22 +762,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11990" ], "x-ms-request-id": [ - "8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + "5c0f871d-c953-4e24-a33d-95510c6ffeb5" ], "x-ms-correlation-request-id": [ - "8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + "5c0f871d-c953-4e24-a33d-95510c6ffeb5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201333Z:8ed1a6d9-c8cc-40c4-bc04-8cd4e8caccbb" + "WESTUS:20200205T210826Z:5c0f871d-c953-4e24-a33d-95510c6ffeb5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:33 GMT" + "Wed, 05 Feb 2020 21:08:25 GMT" ], "Content-Length": [ "33" @@ -786,15 +786,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + "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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL2dyYXBocy9ncmFwaDEvb3BlcmF0aW9uUmVzdWx0cy9jZDRkM2NhYy01NmIxLTQzOGYtOTZmMy0xNDZhZmZiZTgzNjY/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -822,28 +822,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11989" ], "x-ms-request-id": [ - "38f187f7-7c96-483a-8d3b-2e44b327d79e" + "403deae5-6759-4027-b33f-9d8f1d79d2ae" ], "x-ms-correlation-request-id": [ - "38f187f7-7c96-483a-8d3b-2e44b327d79e" + "403deae5-6759-4027-b33f-9d8f1d79d2ae" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201334Z:38f187f7-7c96-483a-8d3b-2e44b327d79e" + "WESTUS:20200205T210826Z:403deae5-6759-4027-b33f-9d8f1d79d2ae" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:33 GMT" + "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/cd4d3cac-56b1-438f-96f3-146affbe8366?api-version=2019-08-01" + "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": "", @@ -856,7 +856,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "14e233ed-7813-4805-a5d1-aaa5cc7714e6" + "f81296a7-fde2-4620-b0ab-06e6cbc85c86" ], "Accept-Language": [ "en-US" @@ -876,13 +876,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName/operationResults/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + "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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + "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": [ - "96dc829f-dded-4933-b37d-9ebaebd39a2c" + "833ed0dc-88b8-4809-808b-0c08ce8b97c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -897,16 +897,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "e078f8f0-2cbc-4fe0-b4b2-39ca5c9d67f1" + "5b261bab-a87b-4841-8fa0-a079d5f8a096" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201334Z:e078f8f0-2cbc-4fe0-b4b2-39ca5c9d67f1" + "WESTUS:20200205T210827Z:5b261bab-a87b-4841-8fa0-a079d5f8a096" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:13:34 GMT" + "Wed, 05 Feb 2020 21:08:26 GMT" ], "Content-Length": [ "32" @@ -922,8 +922,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOTZkYzgyOWYtZGRlZC00OTMzLWIzN2QtOWViYWViZDM5YTJjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -951,22 +951,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11999" ], "x-ms-request-id": [ - "f584ce1d-84b6-4a3c-be46-e51c322be337" + "cec77ccb-6367-47a8-bc6c-9287cf847781" ], "x-ms-correlation-request-id": [ - "f584ce1d-84b6-4a3c-be46-e51c322be337" + "cec77ccb-6367-47a8-bc6c-9287cf847781" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201405Z:f584ce1d-84b6-4a3c-be46-e51c322be337" + "WESTUS:20200205T210857Z:cec77ccb-6367-47a8-bc6c-9287cf847781" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:04 GMT" + "Wed, 05 Feb 2020 21:08:56 GMT" ], "Content-Length": [ "33" @@ -975,15 +975,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + "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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lL29wZXJhdGlvblJlc3VsdHMvOTZkYzgyOWYtZGRlZC00OTMzLWIzN2QtOWViYWViZDM5YTJjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1011,28 +1011,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11998" ], "x-ms-request-id": [ - "775dba03-81a6-46e4-8549-80d3079c7f72" + "f2531bf9-07b2-4260-b7de-6fb313fd888a" ], "x-ms-correlation-request-id": [ - "775dba03-81a6-46e4-8549-80d3079c7f72" + "f2531bf9-07b2-4260-b7de-6fb313fd888a" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201405Z:775dba03-81a6-46e4-8549-80d3079c7f72" + "WESTUS:20200205T210857Z:f2531bf9-07b2-4260-b7de-6fb313fd888a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:04 GMT" + "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/96dc829f-dded-4933-b37d-9ebaebd39a2c?api-version=2019-08-01" + "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": "", 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 index fc4f71d0696a..8d00b2605355 100644 --- 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 @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "158a226f-b260-4d47-b9c0-da9416b88c3a" + "9dc840c3-a371-4371-a414-d3516605abe5" ], "Accept-Language": [ "en-US" @@ -36,22 +36,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11999" ], "x-ms-request-id": [ - "70818aaa-09db-413e-ac9f-4a3cc4bffc57" + "30791575-3ae5-4d87-98fb-82ca3080d3dd" ], "x-ms-correlation-request-id": [ - "70818aaa-09db-413e-ac9f-4a3cc4bffc57" + "30791575-3ae5-4d87-98fb-82ca3080d3dd" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201407Z:70818aaa-09db-413e-ac9f-4a3cc4bffc57" + "WESTUS:20200205T210859Z:30791575-3ae5-4d87-98fb-82ca3080d3dd" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:06 GMT" + "Wed, 05 Feb 2020 21:08:58 GMT" ], "Content-Length": [ "1746" @@ -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": [ - "5be55883-3153-4cc9-b219-b786d797cc41" + "e1481b42-086b-460e-b32a-3961244ef944" ], "Accept-Language": [ "en-US" @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/operationResults/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01" + "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/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01" + "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": [ - "4fa88a0e-3004-49d3-88f8-170fece5fc0c" + "bd2cf9a5-595a-4ed9-a0ac-bf9a49b8e168" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "a7eab5e5-7be3-428e-8cc9-e7a0e2f7c739" + "765a2e6d-1b46-4cfd-b16d-8d01bafe4f05" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201407Z:a7eab5e5-7be3-428e-8cc9-e7a0e2f7c739" + "WESTUS:20200205T210859Z:765a2e6d-1b46-4cfd-b16d-8d01bafe4f05" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:07 GMT" + "Wed, 05 Feb 2020 21:08:59 GMT" ], "Content-Length": [ "32" @@ -145,8 +145,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGZhODhhMGUtMzAwNC00OWQzLTg4ZjgtMTcwZmVjZTVmYzBjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -174,22 +174,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11998" ], "x-ms-request-id": [ - "0a832f74-ddb5-46ff-993a-a24feda437b6" + "26646451-0ab8-497d-8496-f3a2d26c0c21" ], "x-ms-correlation-request-id": [ - "0a832f74-ddb5-46ff-993a-a24feda437b6" + "26646451-0ab8-497d-8496-f3a2d26c0c21" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201438Z:0a832f74-ddb5-46ff-993a-a24feda437b6" + "WESTUS:20200205T210929Z:26646451-0ab8-497d-8496-f3a2d26c0c21" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:37 GMT" + "Wed, 05 Feb 2020 21:09:29 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/eastus/operationsStatus/4fa88a0e-3004-49d3-88f8-170fece5fc0c?api-version=2019-08-01" + "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}", @@ -234,22 +234,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11997" ], "x-ms-request-id": [ - "55f42056-0268-49d3-81ee-73bafdbb77c8" + "4892c8d2-0e4e-46bb-bb21-efde7b2412bb" ], "x-ms-correlation-request-id": [ - "55f42056-0268-49d3-81ee-73bafdbb77c8" + "4892c8d2-0e4e-46bb-bb21-efde7b2412bb" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201438Z:55f42056-0268-49d3-81ee-73bafdbb77c8" + "WESTUS:20200205T210930Z:4892c8d2-0e4e-46bb-bb21-efde7b2412bb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:37 GMT" + "Wed, 05 Feb 2020 21:09:29 GMT" ], "Content-Length": [ "451" @@ -261,7 +261,7 @@ "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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4abeb91b-f5ef-4352-b676-165088b770f3" + "c34f7260-f2f4-49e1-b31e-199bf4659580" ], "Accept-Language": [ "en-US" @@ -303,19 +303,19 @@ "11994" ], "x-ms-request-id": [ - "f6179c2c-5762-40e9-a98d-f84eb892d402" + "5d16a93b-7152-449e-a6ba-a4bf7a7e0c96" ], "x-ms-correlation-request-id": [ - "f6179c2c-5762-40e9-a98d-f84eb892d402" + "5d16a93b-7152-449e-a6ba-a4bf7a7e0c96" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201510Z:f6179c2c-5762-40e9-a98d-f84eb892d402" + "WESTUS:20200205T211001Z:5d16a93b-7152-449e-a6ba-a4bf7a7e0c96" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:09 GMT" + "Wed, 05 Feb 2020 21:10:01 GMT" ], "Content-Length": [ "451" @@ -327,7 +327,7 @@ "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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\r\n }\r\n }\r\n}", + "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 }, { @@ -337,7 +337,7 @@ "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": [ - "9a2e50ce-ff5b-46c0-8bcd-80a1a20366e9" + "c95c63a9-e523-471d-9dc6-481ad988e7f7" ], "Accept-Language": [ "en-US" @@ -363,13 +363,13 @@ "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/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01" + "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/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01" + "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": [ - "d0c531ea-7bb5-474b-9d30-546bbcb051fb" + "ff7f8745-8f70-442b-a519-54d31de92aea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -384,16 +384,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "48584679-e1f7-456a-b654-2dabc6dce67c" + "aeaaa4ee-87ca-4cc2-9103-e8d6801c8786" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201439Z:48584679-e1f7-456a-b654-2dabc6dce67c" + "WESTUS:20200205T210930Z:aeaaa4ee-87ca-4cc2-9103-e8d6801c8786" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:14:38 GMT" + "Wed, 05 Feb 2020 21:09:29 GMT" ], "Content-Length": [ "32" @@ -409,8 +409,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZDBjNTMxZWEtN2JiNS00NzRiLTlkMzAtNTQ2YmJjYjA1MWZiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -441,19 +441,19 @@ "11996" ], "x-ms-request-id": [ - "e5947935-5ca8-4557-a098-c7d25fd54bc4" + "64255878-3f22-4409-a680-5950c9bf9327" ], "x-ms-correlation-request-id": [ - "e5947935-5ca8-4557-a098-c7d25fd54bc4" + "64255878-3f22-4409-a680-5950c9bf9327" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201509Z:e5947935-5ca8-4557-a098-c7d25fd54bc4" + "WESTUS:20200205T211000Z:64255878-3f22-4409-a680-5950c9bf9327" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:09 GMT" + "Wed, 05 Feb 2020 21:10:00 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/eastus/operationsStatus/d0c531ea-7bb5-474b-9d30-546bbcb051fb?api-version=2019-08-01" + "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}", @@ -501,19 +501,19 @@ "11995" ], "x-ms-request-id": [ - "5f464d18-2399-4f4d-806d-4ba47114bffc" + "bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61" ], "x-ms-correlation-request-id": [ - "5f464d18-2399-4f4d-806d-4ba47114bffc" + "bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201510Z:5f464d18-2399-4f4d-806d-4ba47114bffc" + "WESTUS:20200205T211001Z:bd46aacf-0bd5-4e6a-b7b3-92e8561c3e61" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:09 GMT" + "Wed, 05 Feb 2020 21:10:01 GMT" ], "Content-Length": [ "1015" @@ -525,7 +525,7 @@ "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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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/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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4b6b5331-6047-4ea4-84da-4891f2cd8c9a" + "6f722976-b149-4422-9c3d-88b9a274e155" ], "Accept-Language": [ "en-US" @@ -567,19 +567,19 @@ "11993" ], "x-ms-request-id": [ - "485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + "514f7fea-6223-41e0-96af-f90d1e4f70d7" ], "x-ms-correlation-request-id": [ - "485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + "514f7fea-6223-41e0-96af-f90d1e4f70d7" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201510Z:485f2fef-c2df-4faa-8c7f-14e5c4db0f8d" + "WESTUS:20200205T211001Z:514f7fea-6223-41e0-96af-f90d1e4f70d7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:09 GMT" + "Wed, 05 Feb 2020 21:10:01 GMT" ], "Content-Length": [ "1015" @@ -591,7 +591,7 @@ "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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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/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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dbfe1675-349b-4f40-b14a-ab1dd7be1bb0" + "0d753fad-5016-41ed-b92d-11e2beb21315" ], "Accept-Language": [ "en-US" @@ -633,19 +633,19 @@ "11992" ], "x-ms-request-id": [ - "85d12d99-0e55-47cb-9d0e-8ab979549a46" + "9b45f4da-bda6-43d4-b548-ae5361b401d4" ], "x-ms-correlation-request-id": [ - "85d12d99-0e55-47cb-9d0e-8ab979549a46" + "9b45f4da-bda6-43d4-b548-ae5361b401d4" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201510Z:85d12d99-0e55-47cb-9d0e-8ab979549a46" + "WESTUS:20200205T211001Z:9b45f4da-bda6-43d4-b548-ae5361b401d4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:09 GMT" + "Wed, 05 Feb 2020 21:10:01 GMT" ], "Content-Length": [ "951" @@ -657,7 +657,7 @@ "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\": \"MWh3AKIwaDA=\",\r\n \"_ts\": 1579724080,\r\n \"_self\": \"dbs/MWh3AA==/colls/MWh3AKIwaDA=/\",\r\n \"_etag\": \"\\\"0000e007-0000-0100-0000-5e28ad300000\\\"\",\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/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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "882f4eb3-33d1-460b-a64d-ec16fb2927ba" + "d9f83052-706a-4341-ae6a-ab3c6d995781" ], "Accept-Language": [ "en-US" @@ -699,19 +699,19 @@ "11991" ], "x-ms-request-id": [ - "b8d7acc1-2d0c-4ae0-8688-36c133352491" + "46451105-5473-4aab-ac2b-04205787ed9d" ], "x-ms-correlation-request-id": [ - "b8d7acc1-2d0c-4ae0-8688-36c133352491" + "46451105-5473-4aab-ac2b-04205787ed9d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201510Z:b8d7acc1-2d0c-4ae0-8688-36c133352491" + "WESTUS:20200205T211002Z:46451105-5473-4aab-ac2b-04205787ed9d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:10 GMT" + "Wed, 05 Feb 2020 21:10:02 GMT" ], "Content-Length": [ "906" @@ -723,7 +723,7 @@ "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\": \"MWh3AA==\",\r\n \"_self\": \"dbs/MWh3AA==/\",\r\n \"_etag\": \"\\\"0000de07-0000-0100-0000-5e28ad110000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579724049\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/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 }, { @@ -733,7 +733,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ce53c33f-090c-4b15-aa58-c2425ed1f760" + "19191656-5d97-4d10-8b69-50d75daa165c" ], "Accept-Language": [ "en-US" @@ -753,13 +753,13 @@ "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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + "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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + "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": [ - "b7dc0121-4a15-4385-a471-b3011b4aeba4" + "95f7bb68-1972-4a68-943b-598f31286e2d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -774,16 +774,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "999353e1-0839-45b2-a908-97297faea889" + "73a979a8-29b5-4532-a9c6-d1710f1780ce" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201511Z:999353e1-0839-45b2-a908-97297faea889" + "WESTUS:20200205T211002Z:73a979a8-29b5-4532-a9c6-d1710f1780ce" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:10 GMT" + "Wed, 05 Feb 2020 21:10:02 GMT" ], "Content-Length": [ "32" @@ -799,8 +799,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYjdkYzAxMjEtNGExNS00Mzg1LWE0NzEtYjMwMTFiNGFlYmE0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -831,19 +831,19 @@ "11990" ], "x-ms-request-id": [ - "ee050a4a-4036-4994-8d25-12f2699bf1b9" + "0cbed432-f2e8-457c-ad48-1070b233d35b" ], "x-ms-correlation-request-id": [ - "ee050a4a-4036-4994-8d25-12f2699bf1b9" + "0cbed432-f2e8-457c-ad48-1070b233d35b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201541Z:ee050a4a-4036-4994-8d25-12f2699bf1b9" + "WESTUS:20200205T211032Z:0cbed432-f2e8-457c-ad48-1070b233d35b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:41 GMT" + "Wed, 05 Feb 2020 21:10:32 GMT" ], "Content-Length": [ "33" @@ -852,15 +852,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + "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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9ncmFwaHMvZ3JhcGgxL29wZXJhdGlvblJlc3VsdHMvYjdkYzAxMjEtNGExNS00Mzg1LWE0NzEtYjMwMTFiNGFlYmE0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -891,25 +891,25 @@ "11989" ], "x-ms-request-id": [ - "a5098f2b-740a-4fc5-993f-a82214da46ef" + "b8344782-28a2-4792-848f-b1e0ea1338eb" ], "x-ms-correlation-request-id": [ - "a5098f2b-740a-4fc5-993f-a82214da46ef" + "b8344782-28a2-4792-848f-b1e0ea1338eb" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201541Z:a5098f2b-740a-4fc5-993f-a82214da46ef" + "WESTUS:20200205T211032Z:b8344782-28a2-4792-848f-b1e0ea1338eb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:41 GMT" + "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/b7dc0121-4a15-4385-a471-b3011b4aeba4?api-version=2019-08-01" + "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": "", @@ -922,7 +922,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3834bcb6-26b1-41f7-b093-a8ce18f4bc31" + "442ae118-af57-4976-8fbf-6b1b84020825" ], "Accept-Language": [ "en-US" @@ -942,13 +942,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db1002/gremlinDatabases/dbName2/operationResults/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + "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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + "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": [ - "8b0626bb-6980-4eef-b23f-a50f3aecb35e" + "5323e8ad-3757-4f6f-86a3-87475db43cd3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -963,16 +963,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "bca08b2a-0849-4bfc-8485-cf4991c725f3" + "70d6c7e7-a96a-4101-86ca-91c3e25d1656" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201542Z:bca08b2a-0849-4bfc-8485-cf4991c725f3" + "WESTUS:20200205T211033Z:70d6c7e7-a96a-4101-86ca-91c3e25d1656" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:15:41 GMT" + "Wed, 05 Feb 2020 21:10:32 GMT" ], "Content-Length": [ "32" @@ -988,8 +988,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvOGIwNjI2YmItNjk4MC00ZWVmLWIyM2YtYTUwZjNhZWNiMzVlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1020,19 +1020,19 @@ "11999" ], "x-ms-request-id": [ - "cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + "0ee88a82-4fa8-453b-a7cf-777f46f1efd6" ], "x-ms-correlation-request-id": [ - "cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + "0ee88a82-4fa8-453b-a7cf-777f46f1efd6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201613Z:cebbf2d8-0864-49e0-b91d-98e8e7eb9214" + "WESTUS:20200205T211103Z:0ee88a82-4fa8-453b-a7cf-777f46f1efd6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:12 GMT" + "Wed, 05 Feb 2020 21:11:02 GMT" ], "Content-Length": [ "33" @@ -1041,15 +1041,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + "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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIxMDAyL2dyZW1saW5EYXRhYmFzZXMvZGJOYW1lMi9vcGVyYXRpb25SZXN1bHRzLzhiMDYyNmJiLTY5ODAtNGVlZi1iMjNmLWE1MGYzYWVjYjM1ZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": { @@ -1080,25 +1080,25 @@ "11998" ], "x-ms-request-id": [ - "9c3f8d8b-0417-4ade-a463-9a2870e37816" + "485eb4b1-692a-4094-994a-c1a2581da5c2" ], "x-ms-correlation-request-id": [ - "9c3f8d8b-0417-4ade-a463-9a2870e37816" + "485eb4b1-692a-4094-994a-c1a2581da5c2" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201613Z:9c3f8d8b-0417-4ade-a463-9a2870e37816" + "WESTUS:20200205T211104Z:485eb4b1-692a-4094-994a-c1a2581da5c2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:16:13 GMT" + "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/8b0626bb-6980-4eef-b23f-a50f3aecb35e?api-version=2019-08-01" + "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": "", 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 index 578c536a4dce..8c82f879d57e 100644 --- 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 @@ -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": [ - "045c4b07-79c8-4f98-ac52-4d4e67e30ee7" + "55cf5b95-691b-4f2d-9be7-5a9e3d35bd56" ], "Accept-Language": [ "en-US" @@ -33,13 +33,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/operationResults/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01" + "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/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01" + "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": [ - "a12537eb-2ca0-4806-ade8-463746830588" + "45460b45-7190-4682-b29f-8658f7497a08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -54,16 +54,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "854c19a1-a311-4e41-99df-590d40a043c4" + "1f45402c-bef2-4848-a1b2-e0249a4d48f5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202140Z:854c19a1-a311-4e41-99df-590d40a043c4" + "WESTUS:20200205T205402Z:1f45402c-bef2-4848-a1b2-e0249a4d48f5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:40 GMT" + "Wed, 05 Feb 2020 20:54:01 GMT" ], "Content-Length": [ "32" @@ -79,8 +79,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTEyNTM3ZWItMmNhMC00ODA2LWFkZTgtNDYzNzQ2ODMwNTg4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -111,19 +111,19 @@ "11999" ], "x-ms-request-id": [ - "3291e4e2-f3fe-4315-a621-b642cfa2d183" + "802a36fd-d99e-4076-b48b-4412b0e5aca0" ], "x-ms-correlation-request-id": [ - "3291e4e2-f3fe-4315-a621-b642cfa2d183" + "802a36fd-d99e-4076-b48b-4412b0e5aca0" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202211Z:3291e4e2-f3fe-4315-a621-b642cfa2d183" + "WESTUS:20200205T205432Z:802a36fd-d99e-4076-b48b-4412b0e5aca0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:10 GMT" + "Wed, 05 Feb 2020 20:54:32 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/eastus/operationsStatus/a12537eb-2ca0-4806-ade8-463746830588?api-version=2019-08-01" + "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}", @@ -171,19 +171,19 @@ "11998" ], "x-ms-request-id": [ - "76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + "3781b4c9-0778-4efa-b471-c305b091eddf" ], "x-ms-correlation-request-id": [ - "76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + "3781b4c9-0778-4efa-b471-c305b091eddf" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202211Z:76dae7ff-2d5d-4e7b-982e-2ad88a8c507f" + "WESTUS:20200205T205432Z:3781b4c9-0778-4efa-b471-c305b091eddf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:10 GMT" + "Wed, 05 Feb 2020 20:54:32 GMT" ], "Content-Length": [ "387" @@ -195,7 +195,7 @@ "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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\r\n }\r\n }\r\n}", + "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 }, { @@ -205,7 +205,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f8e8829e-3db7-4e75-8c50-b9cc699e287e" + "7732f39c-031e-4a38-9588-63d164cd6e7b" ], "Accept-Language": [ "en-US" @@ -237,19 +237,19 @@ "11995" ], "x-ms-request-id": [ - "68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + "c69d284d-0d03-4397-a496-5afc87d5e604" ], "x-ms-correlation-request-id": [ - "68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + "c69d284d-0d03-4397-a496-5afc87d5e604" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202243Z:68f496bf-9f26-4fc6-8d4c-eeafc2997b7f" + "WESTUS:20200205T205503Z:c69d284d-0d03-4397-a496-5afc87d5e604" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:42 GMT" + "Wed, 05 Feb 2020 20:55:03 GMT" ], "Content-Length": [ "387" @@ -261,7 +261,7 @@ "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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "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": [ - "a9bb545d-f063-4d50-9c6b-9273d9c5c80b" + "5ab59381-7d08-4c07-9fed-2430b37f40bc" ], "Accept-Language": [ "en-US" @@ -297,13 +297,13 @@ "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/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01" + "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/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01" + "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": [ - "189f8fa9-8af6-4989-ac84-676e9d6ee68c" + "2a6e0488-7ee6-4cf8-bd78-a0c0436fcdae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -318,16 +318,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "e871deb1-c74c-4846-bffa-a83a01c6de41" + "3d5f049f-627b-42dc-b16e-8d0dcc9ef7a4" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202212Z:e871deb1-c74c-4846-bffa-a83a01c6de41" + "WESTUS:20200205T205432Z:3d5f049f-627b-42dc-b16e-8d0dcc9ef7a4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:11 GMT" + "Wed, 05 Feb 2020 20:54:32 GMT" ], "Content-Length": [ "32" @@ -343,8 +343,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMTg5ZjhmYTktOGFmNi00OTg5LWFjODQtNjc2ZTlkNmVlNjhjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -375,19 +375,19 @@ "11997" ], "x-ms-request-id": [ - "9edb45cd-9a21-412e-a677-e47cbb3b1076" + "4485a373-afe7-4c47-bff4-53af30317b36" ], "x-ms-correlation-request-id": [ - "9edb45cd-9a21-412e-a677-e47cbb3b1076" + "4485a373-afe7-4c47-bff4-53af30317b36" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202242Z:9edb45cd-9a21-412e-a677-e47cbb3b1076" + "WESTUS:20200205T205503Z:4485a373-afe7-4c47-bff4-53af30317b36" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:41 GMT" + "Wed, 05 Feb 2020 20:55:02 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/eastus/operationsStatus/189f8fa9-8af6-4989-ac84-676e9d6ee68c?api-version=2019-08-01" + "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}", @@ -435,19 +435,19 @@ "11996" ], "x-ms-request-id": [ - "fce72b5e-f454-498b-9731-f0b521017dda" + "621f55ee-719c-4952-9fa6-229e4a48adb8" ], "x-ms-correlation-request-id": [ - "fce72b5e-f454-498b-9731-f0b521017dda" + "621f55ee-719c-4952-9fa6-229e4a48adb8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202242Z:fce72b5e-f454-498b-9731-f0b521017dda" + "WESTUS:20200205T205503Z:621f55ee-719c-4952-9fa6-229e4a48adb8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:42 GMT" + "Wed, 05 Feb 2020 20:55:03 GMT" ], "Content-Length": [ "487" @@ -459,7 +459,7 @@ "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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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}", + "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 }, { @@ -469,7 +469,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3122fd25-9af3-40f8-bd1a-3b0232944e4a" + "c9d4b0ee-8a2a-4467-80c9-be9bbbf63648" ], "Accept-Language": [ "en-US" @@ -501,19 +501,19 @@ "11994" ], "x-ms-request-id": [ - "e573d25a-1fa7-4e61-ae3e-1691786e157f" + "20e6c2df-6318-49cd-b9e1-39f775430c0d" ], "x-ms-correlation-request-id": [ - "e573d25a-1fa7-4e61-ae3e-1691786e157f" + "20e6c2df-6318-49cd-b9e1-39f775430c0d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202243Z:e573d25a-1fa7-4e61-ae3e-1691786e157f" + "WESTUS:20200205T205503Z:20e6c2df-6318-49cd-b9e1-39f775430c0d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:42 GMT" + "Wed, 05 Feb 2020 20:55:03 GMT" ], "Content-Length": [ "487" @@ -525,7 +525,7 @@ "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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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}", + "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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1a4e5049-ccd7-4217-b5a4-d64b401ad8e0" + "5fa21251-0a4f-435e-9695-f12bf43ff374" ], "Accept-Language": [ "en-US" @@ -567,19 +567,19 @@ "11993" ], "x-ms-request-id": [ - "00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + "270d1d5d-80fd-4791-bf72-789b93bd884c" ], "x-ms-correlation-request-id": [ - "00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + "270d1d5d-80fd-4791-bf72-789b93bd884c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202243Z:00f87fd4-3ae5-4e60-ab5e-8e181b76ab31" + "WESTUS:20200205T205504Z:270d1d5d-80fd-4791-bf72-789b93bd884c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:42 GMT" + "Wed, 05 Feb 2020 20:55:03 GMT" ], "Content-Length": [ "499" @@ -591,7 +591,7 @@ "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\": \"4R0yAM5BS6w=\",\r\n \"_etag\": \"\\\"00006a0b-0000-0100-0000-5e28aef60000\\\"\",\r\n \"_ts\": 1579724534,\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}", + "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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7a044118-bb6a-4278-af62-98d6a9b3e9da" + "cabfca59-0c9f-4102-9dea-316c8ef6a492" ], "Accept-Language": [ "en-US" @@ -633,19 +633,19 @@ "11992" ], "x-ms-request-id": [ - "0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + "b1576774-b69b-49ac-9c99-0aa160cbb0f9" ], "x-ms-correlation-request-id": [ - "0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + "b1576774-b69b-49ac-9c99-0aa160cbb0f9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202243Z:0343ad29-1ae6-4ac7-98a1-2d6309a0b0ab" + "WESTUS:20200205T205504Z:b1576774-b69b-49ac-9c99-0aa160cbb0f9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:42 GMT" + "Wed, 05 Feb 2020 20:55:04 GMT" ], "Content-Length": [ "399" @@ -657,7 +657,7 @@ "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\": \"4R0yAA==\",\r\n \"_etag\": \"\\\"0000680b-0000-0100-0000-5e28aed60000\\\"\",\r\n \"_ts\": 1579724502\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/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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5d06f64c-2939-494c-bc81-9cf7580a2d3c" + "7d0ea5d7-d40f-4523-a724-d0b363d51dce" ], "Accept-Language": [ "en-US" @@ -687,13 +687,13 @@ "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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + "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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + "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": [ - "2af3c9ed-16a4-4bad-b3ff-199a787521fc" + "31b6906b-0abc-44bf-9907-1dd18a1ae6fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -708,16 +708,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "3897d3a0-5f39-43dd-a08c-f3b6a64377e0" + "fffcd07d-a249-48c2-bb59-21231fe8c0db" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202243Z:3897d3a0-5f39-43dd-a08c-f3b6a64377e0" + "WESTUS:20200205T205504Z:fffcd07d-a249-48c2-bb59-21231fe8c0db" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:22:43 GMT" + "Wed, 05 Feb 2020 20:55:04 GMT" ], "Content-Length": [ "32" @@ -733,8 +733,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMmFmM2M5ZWQtMTZhNC00YmFkLWIzZmYtMTk5YTc4NzUyMWZjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -765,19 +765,19 @@ "11991" ], "x-ms-request-id": [ - "f7c434f9-7485-489c-9e08-21c45364cd2a" + "ae42427b-8b71-4839-a161-e9a5f475817b" ], "x-ms-correlation-request-id": [ - "f7c434f9-7485-489c-9e08-21c45364cd2a" + "ae42427b-8b71-4839-a161-e9a5f475817b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202314Z:f7c434f9-7485-489c-9e08-21c45364cd2a" + "WESTUS:20200205T205534Z:ae42427b-8b71-4839-a161-e9a5f475817b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:23:14 GMT" + "Wed, 05 Feb 2020 20:55:34 GMT" ], "Content-Length": [ "33" @@ -786,15 +786,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + "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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvY29sbGVjdGlvbnMvY29sbGVjdGlvbjEvb3BlcmF0aW9uUmVzdWx0cy8yYWYzYzllZC0xNmE0LTRiYWQtYjNmZi0xOTlhNzg3NTIxZmM/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -825,25 +825,25 @@ "11990" ], "x-ms-request-id": [ - "9c52b64e-5c42-4ab6-84b9-593c270db5c5" + "242c27c0-fda1-4f5b-9451-75fafab54df5" ], "x-ms-correlation-request-id": [ - "9c52b64e-5c42-4ab6-84b9-593c270db5c5" + "242c27c0-fda1-4f5b-9451-75fafab54df5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202314Z:9c52b64e-5c42-4ab6-84b9-593c270db5c5" + "WESTUS:20200205T205535Z:242c27c0-fda1-4f5b-9451-75fafab54df5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:23:14 GMT" + "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/2af3c9ed-16a4-4bad-b3ff-199a787521fc?api-version=2019-08-01" + "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": "", @@ -856,7 +856,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2c033c93-b9f1-4c6c-b9f8-ff7a3372c7e0" + "24b36c20-6929-4e84-9945-c93c7d8219f8" ], "Accept-Language": [ "en-US" @@ -876,13 +876,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName/operationResults/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + "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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + "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": [ - "1bac7f44-8c2d-45d1-bdac-4cb2bc38f031" + "c338ba5d-7887-4992-9955-82891838df37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -897,16 +897,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "aac60377-f0b9-4edb-b215-f25ebbe933d8" + "4be7934a-ba2f-474d-be73-ae4b456fdaaf" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202315Z:aac60377-f0b9-4edb-b215-f25ebbe933d8" + "WESTUS:20200205T205535Z:4be7934a-ba2f-474d-be73-ae4b456fdaaf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:23:15 GMT" + "Wed, 05 Feb 2020 20:55:34 GMT" ], "Content-Length": [ "32" @@ -922,8 +922,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMWJhYzdmNDQtOGMyZC00NWQxLWJkYWMtNGNiMmJjMzhmMDMxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -954,19 +954,19 @@ "11999" ], "x-ms-request-id": [ - "627dbfa3-0900-4343-bee9-e0334a7ba012" + "b8deae08-4b96-477a-80f8-4910aeb71b20" ], "x-ms-correlation-request-id": [ - "627dbfa3-0900-4343-bee9-e0334a7ba012" + "b8deae08-4b96-477a-80f8-4910aeb71b20" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202346Z:627dbfa3-0900-4343-bee9-e0334a7ba012" + "WESTUS:20200205T205606Z:b8deae08-4b96-477a-80f8-4910aeb71b20" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:23:45 GMT" + "Wed, 05 Feb 2020 20:56:06 GMT" ], "Content-Length": [ "33" @@ -975,15 +975,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + "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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy8xYmFjN2Y0NC04YzJkLTQ1ZDEtYmRhYy00Y2IyYmMzOGYwMzE/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -1014,25 +1014,25 @@ "11998" ], "x-ms-request-id": [ - "1f812cdc-732a-4a0d-8a74-db97b107ac29" + "b1588840-f8c8-4656-abb8-2d9142c5b1c3" ], "x-ms-correlation-request-id": [ - "1f812cdc-732a-4a0d-8a74-db97b107ac29" + "b1588840-f8c8-4656-abb8-2d9142c5b1c3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202346Z:1f812cdc-732a-4a0d-8a74-db97b107ac29" + "WESTUS:20200205T205606Z:b1588840-f8c8-4656-abb8-2d9142c5b1c3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:23:45 GMT" + "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/1bac7f44-8c2d-45d1-bdac-4cb2bc38f031?api-version=2019-08-01" + "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": "", 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 index 1187bb427f63..53f20e853d4f 100644 --- 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 @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a44ba723-28d4-4df4-984a-7b9f342a86b9" + "cec59213-f0e6-4605-b6b6-9bfa855aee3c" ], "Accept-Language": [ "en-US" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + "9df37aab-d66f-4e54-85d7-41f612a5f7c8" ], "x-ms-correlation-request-id": [ - "12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + "9df37aab-d66f-4e54-85d7-41f612a5f7c8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201932Z:12d5030c-2ee7-44a3-9d27-f8c7d2cd8193" + "WESTUS:20200205T205153Z:9df37aab-d66f-4e54-85d7-41f612a5f7c8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:19:31 GMT" + "Wed, 05 Feb 2020 20:51:53 GMT" ], "Content-Length": [ "1621" @@ -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": [ - "4cd641f4-75d4-4eda-9d93-619ecd5d4f3d" + "b589d82b-ac8f-4cf7-9c27-9014d431d316" ], "Accept-Language": [ "en-US" @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/operationResults/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01" + "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/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01" + "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": [ - "5f4bfa51-df24-42da-92e6-1840e78589c5" + "1992a4f8-802a-4ab5-b7b7-e63aed29da46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "ff940738-24ec-4031-a078-599122a488bb" + "e960ade3-e5b1-4e41-ad73-f379ed3b9636" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T201933Z:ff940738-24ec-4031-a078-599122a488bb" + "WESTUS:20200205T205154Z:e960ade3-e5b1-4e41-ad73-f379ed3b9636" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:19:32 GMT" + "Wed, 05 Feb 2020 20:51:54 GMT" ], "Content-Length": [ "32" @@ -145,8 +145,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWY0YmZhNTEtZGYyNC00MmRhLTkyZTYtMTg0MGU3ODU4OWM1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -177,19 +177,19 @@ "11998" ], "x-ms-request-id": [ - "532f4f22-9c82-47e1-9d92-fb034a2b889e" + "a0292627-4444-42ba-8cad-dab8367e928e" ], "x-ms-correlation-request-id": [ - "532f4f22-9c82-47e1-9d92-fb034a2b889e" + "a0292627-4444-42ba-8cad-dab8367e928e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202003Z:532f4f22-9c82-47e1-9d92-fb034a2b889e" + "WESTUS:20200205T205224Z:a0292627-4444-42ba-8cad-dab8367e928e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:02 GMT" + "Wed, 05 Feb 2020 20:52:24 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/eastus/operationsStatus/5f4bfa51-df24-42da-92e6-1840e78589c5?api-version=2019-08-01" + "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}", @@ -237,19 +237,19 @@ "11997" ], "x-ms-request-id": [ - "0408f88e-f26a-4a26-b0c3-eac0839977e1" + "1e0b64ae-51fb-4a84-aff4-23521b1b7e1e" ], "x-ms-correlation-request-id": [ - "0408f88e-f26a-4a26-b0c3-eac0839977e1" + "1e0b64ae-51fb-4a84-aff4-23521b1b7e1e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202004Z:0408f88e-f26a-4a26-b0c3-eac0839977e1" + "WESTUS:20200205T205225Z:1e0b64ae-51fb-4a84-aff4-23521b1b7e1e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:04 GMT" + "Wed, 05 Feb 2020 20:52:24 GMT" ], "Content-Length": [ "390" @@ -261,7 +261,7 @@ "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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "59cd1c66-80af-483b-9a1a-d536bdd3c30d" + "eb604003-c93f-4e52-a132-3c77d6d06682" ], "Accept-Language": [ "en-US" @@ -303,19 +303,19 @@ "11994" ], "x-ms-request-id": [ - "d103e4d8-1b67-4158-baf9-ecfab40f184e" + "ef9c04ef-3b39-47a3-b894-0b70a25a3e89" ], "x-ms-correlation-request-id": [ - "d103e4d8-1b67-4158-baf9-ecfab40f184e" + "ef9c04ef-3b39-47a3-b894-0b70a25a3e89" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202035Z:d103e4d8-1b67-4158-baf9-ecfab40f184e" + "WESTUS:20200205T205256Z:ef9c04ef-3b39-47a3-b894-0b70a25a3e89" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:35 GMT" + "Wed, 05 Feb 2020 20:52:55 GMT" ], "Content-Length": [ "390" @@ -327,7 +327,7 @@ "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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\r\n }\r\n }\r\n}", + "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 }, { @@ -337,7 +337,7 @@ "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": [ - "81c6f3a7-bb95-4aa2-aa53-de9dd651f98d" + "517b9fbb-0fee-4e06-889e-3ad9f8f47dda" ], "Accept-Language": [ "en-US" @@ -363,13 +363,13 @@ "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/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01" + "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/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01" + "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": [ - "e8f9e10f-91a3-4446-8ab2-0bd810dcab6a" + "04654eaf-9246-453a-bb84-8862a72aed54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -384,16 +384,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "080ba186-ab48-4c74-8af0-db73f52baaae" + "79862c89-d3bb-434e-acb1-c00d2aa826ad" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202004Z:080ba186-ab48-4c74-8af0-db73f52baaae" + "WESTUS:20200205T205225Z:79862c89-d3bb-434e-acb1-c00d2aa826ad" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:04 GMT" + "Wed, 05 Feb 2020 20:52:25 GMT" ], "Content-Length": [ "32" @@ -409,8 +409,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZThmOWUxMGYtOTFhMy00NDQ2LThhYjItMGJkODEwZGNhYjZhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -441,19 +441,19 @@ "11996" ], "x-ms-request-id": [ - "4aa552b7-1eec-45e9-92d0-d356cfd50d30" + "2d891a95-d0e3-46cc-b072-3bf3950e6a72" ], "x-ms-correlation-request-id": [ - "4aa552b7-1eec-45e9-92d0-d356cfd50d30" + "2d891a95-d0e3-46cc-b072-3bf3950e6a72" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202035Z:4aa552b7-1eec-45e9-92d0-d356cfd50d30" + "WESTUS:20200205T205255Z:2d891a95-d0e3-46cc-b072-3bf3950e6a72" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:34 GMT" + "Wed, 05 Feb 2020 20:52:55 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/eastus/operationsStatus/e8f9e10f-91a3-4446-8ab2-0bd810dcab6a?api-version=2019-08-01" + "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}", @@ -501,19 +501,19 @@ "11995" ], "x-ms-request-id": [ - "830169d3-ff9f-4428-ba35-1801cd8a7737" + "099a8517-2961-4d8a-8c28-bb8ac91f47c6" ], "x-ms-correlation-request-id": [ - "830169d3-ff9f-4428-ba35-1801cd8a7737" + "099a8517-2961-4d8a-8c28-bb8ac91f47c6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202035Z:830169d3-ff9f-4428-ba35-1801cd8a7737" + "WESTUS:20200205T205256Z:099a8517-2961-4d8a-8c28-bb8ac91f47c6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:35 GMT" + "Wed, 05 Feb 2020 20:52:55 GMT" ], "Content-Length": [ "488" @@ -525,7 +525,7 @@ "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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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}", + "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 }, { @@ -535,7 +535,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3d82dc88-b648-48aa-bbdb-f8d20fcaa7da" + "2c3c5ded-1787-4b3d-9aa7-1804294df8b0" ], "Accept-Language": [ "en-US" @@ -567,19 +567,19 @@ "11993" ], "x-ms-request-id": [ - "576336a9-e7de-4ae7-8c2e-107f506a9ff4" + "432e7569-f0eb-47ca-8beb-124112460d5d" ], "x-ms-correlation-request-id": [ - "576336a9-e7de-4ae7-8c2e-107f506a9ff4" + "432e7569-f0eb-47ca-8beb-124112460d5d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202035Z:576336a9-e7de-4ae7-8c2e-107f506a9ff4" + "WESTUS:20200205T205256Z:432e7569-f0eb-47ca-8beb-124112460d5d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:35 GMT" + "Wed, 05 Feb 2020 20:52:56 GMT" ], "Content-Length": [ "488" @@ -591,7 +591,7 @@ "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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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}", + "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 }, { @@ -601,7 +601,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "819940b2-3fda-461a-83c7-bee4d8bccf03" + "66fe78e7-c22a-4780-8c63-04151aaa4092" ], "Accept-Language": [ "en-US" @@ -633,19 +633,19 @@ "11992" ], "x-ms-request-id": [ - "83b1d7cf-e123-4950-9c87-ab541aeae14d" + "ff243153-7cb6-4329-b2ce-e6231d4312b9" ], "x-ms-correlation-request-id": [ - "83b1d7cf-e123-4950-9c87-ab541aeae14d" + "ff243153-7cb6-4329-b2ce-e6231d4312b9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202036Z:83b1d7cf-e123-4950-9c87-ab541aeae14d" + "WESTUS:20200205T205257Z:ff243153-7cb6-4329-b2ce-e6231d4312b9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:35 GMT" + "Wed, 05 Feb 2020 20:52:56 GMT" ], "Content-Length": [ "500" @@ -657,7 +657,7 @@ "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\": \"obcHAPD1p0I=\",\r\n \"_etag\": \"\\\"0000640b-0000-0100-0000-5e28ae760000\\\"\",\r\n \"_ts\": 1579724406,\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}", + "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 }, { @@ -667,7 +667,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dfeb4d55-a6d0-4e27-84c7-e294ed3a8369" + "5b1f166f-8da5-438a-b1db-99449bd92d10" ], "Accept-Language": [ "en-US" @@ -699,22 +699,22 @@ "11991" ], "x-ms-request-id": [ - "9bd975f8-9d08-42b8-b7e3-c271014d5762" + "7e62f8ff-7924-42b4-8802-fbce6f83c6be" ], "x-ms-correlation-request-id": [ - "9bd975f8-9d08-42b8-b7e3-c271014d5762" + "7e62f8ff-7924-42b4-8802-fbce6f83c6be" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202036Z:9bd975f8-9d08-42b8-b7e3-c271014d5762" + "WESTUS:20200205T205257Z:7e62f8ff-7924-42b4-8802-fbce6f83c6be" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:35 GMT" + "Wed, 05 Feb 2020 20:52:56 GMT" ], "Content-Length": [ - "402" + "790" ], "Content-Type": [ "application/json" @@ -723,7 +723,7 @@ "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/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\": \"obcHAA==\",\r\n \"_etag\": \"\\\"0000620b-0000-0100-0000-5e28ae560000\\\"\",\r\n \"_ts\": 1579724374\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/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 }, { @@ -733,7 +733,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1bd23946-4eff-4aad-8555-3ef0f41114c6" + "31a62977-6b55-440f-ba30-58bbbbb025d3" ], "Accept-Language": [ "en-US" @@ -753,13 +753,13 @@ "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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + "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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + "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": [ - "30f5ab17-5607-480b-b951-2039e1a53481" + "fef0bd91-d295-4ea3-a923-b6aa780c3e54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -774,16 +774,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "565bba8f-1d1d-4862-809d-1aac4fe0d36c" + "acbe6e7d-094b-4746-9eb8-6e6a87a2597c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202036Z:565bba8f-1d1d-4862-809d-1aac4fe0d36c" + "WESTUS:20200205T205257Z:acbe6e7d-094b-4746-9eb8-6e6a87a2597c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:20:36 GMT" + "Wed, 05 Feb 2020 20:52:57 GMT" ], "Content-Length": [ "32" @@ -799,8 +799,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMzBmNWFiMTctNTYwNy00ODBiLWI5NTEtMjAzOWUxYTUzNDgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -831,19 +831,19 @@ "11990" ], "x-ms-request-id": [ - "dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + "5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4" ], "x-ms-correlation-request-id": [ - "dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + "5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202106Z:dbcfd259-05dd-4c8e-bf72-a646306ff6ae" + "WESTUS:20200205T205328Z:5965259f-c5e1-4d83-bfbe-3cf2c4e4e3d4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:06 GMT" + "Wed, 05 Feb 2020 20:53:27 GMT" ], "Content-Length": [ "33" @@ -852,15 +852,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + "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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL2NvbGxlY3Rpb25zL2NvbGxlY3Rpb24yL29wZXJhdGlvblJlc3VsdHMvMzBmNWFiMTctNTYwNy00ODBiLWI5NTEtMjAzOWUxYTUzNDgxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -891,25 +891,25 @@ "11989" ], "x-ms-request-id": [ - "b6ae1153-5b45-43c1-b437-4b36dd092dbb" + "3441f14e-80ba-4593-9a81-94504df833c0" ], "x-ms-correlation-request-id": [ - "b6ae1153-5b45-43c1-b437-4b36dd092dbb" + "3441f14e-80ba-4593-9a81-94504df833c0" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202107Z:b6ae1153-5b45-43c1-b437-4b36dd092dbb" + "WESTUS:20200205T205328Z:3441f14e-80ba-4593-9a81-94504df833c0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:07 GMT" + "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/30f5ab17-5607-480b-b951-2039e1a53481?api-version=2019-08-01" + "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": "", @@ -922,7 +922,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0fc8c5c0-f5b7-4ef7-9d83-527a6c13cd57" + "5c9a3e05-1b93-4d16-b78a-f269614714d7" ], "Accept-Language": [ "en-US" @@ -942,13 +942,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/dbName2/operationResults/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + "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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + "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": [ - "cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5" + "41986db7-bbda-4f39-8d3d-bdf678f4c9ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -963,16 +963,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "dee47a8f-cf5e-4d43-85ab-d0c9188bf131" + "f078f61b-adc2-4a03-972c-6cd1d88eb759" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202107Z:dee47a8f-cf5e-4d43-85ab-d0c9188bf131" + "WESTUS:20200205T205329Z:f078f61b-adc2-4a03-972c-6cd1d88eb759" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:06 GMT" + "Wed, 05 Feb 2020 20:53:28 GMT" ], "Content-Length": [ "32" @@ -988,8 +988,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2RkNGE4N2MtNDNlMS00ZGVlLTg1OTYtM2I5ZmM3ZGFmOGY1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1017,22 +1017,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11171" + "11999" ], "x-ms-request-id": [ - "253005bc-41c7-4c5c-a82d-0268ba63bb14" + "04ea5ee8-0b0e-4d67-97e2-fef83524ed46" ], "x-ms-correlation-request-id": [ - "253005bc-41c7-4c5c-a82d-0268ba63bb14" + "04ea5ee8-0b0e-4d67-97e2-fef83524ed46" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202138Z:253005bc-41c7-4c5c-a82d-0268ba63bb14" + "WESTUS:20200205T205359Z:04ea5ee8-0b0e-4d67-97e2-fef83524ed46" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:37 GMT" + "Wed, 05 Feb 2020 20:53:59 GMT" ], "Content-Length": [ "33" @@ -1041,15 +1041,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + "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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvY2RkNGE4N2MtNDNlMS00ZGVlLTg1OTYtM2I5ZmM3ZGFmOGY1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1077,28 +1077,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11170" + "11998" ], "x-ms-request-id": [ - "2e40762f-a32d-44b9-a482-c4056c9908bd" + "3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1" ], "x-ms-correlation-request-id": [ - "2e40762f-a32d-44b9-a482-c4056c9908bd" + "3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T202138Z:2e40762f-a32d-44b9-a482-c4056c9908bd" + "WESTUS:20200205T205359Z:3a1e4bb4-2f6c-48be-8bdc-2736686dd0a1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:21:38 GMT" + "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/cdd4a87c-43e1-4dee-8596-3b9fc7daf8f5?api-version=2019-08-01" + "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": "", 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 f1c31eab2fad..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": [ - "778ad0ac-3a26-4f1b-a4c2-35bd56a465a7" + "efba0469-4172-44a8-8315-960f1ba901c0" ], "Accept-Language": [ "en-US" @@ -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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?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": [ - "0b7cad7e-62fc-47d5-8432-db192d8e63b4" + "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": [ - "70b36d75-a3d1-4cf0-8f8b-b8170f73d66a" + "53212ee2-ba4f-455a-a10f-2f994342b15b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193656Z:70b36d75-a3d1-4cf0-8f8b-b8170f73d66a" + "WESTUS:20200205T205608Z:53212ee2-ba4f-455a-a10f-2f994342b15b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:36:56 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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMGI3Y2FkN2UtNjJmYy00N2Q1LTg0MzItZGIxOTJkOGU2M2I0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -108,22 +108,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11997" ], "x-ms-request-id": [ - "6a5f07a3-e703-4f18-a098-e37ee8fdedf1" + "dd0ccb1f-f92a-4dcd-8522-cf352ded950f" ], "x-ms-correlation-request-id": [ - "6a5f07a3-e703-4f18-a098-e37ee8fdedf1" + "dd0ccb1f-f92a-4dcd-8522-cf352ded950f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193726Z:6a5f07a3-e703-4f18-a098-e37ee8fdedf1" + "WESTUS:20200205T205639Z:dd0ccb1f-f92a-4dcd-8522-cf352ded950f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:26 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/0b7cad7e-62fc-47d5-8432-db192d8e63b4?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}", @@ -168,22 +168,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11996" ], "x-ms-request-id": [ - "26dfd2ef-a070-4fdf-ac2c-2b51da286a99" + "0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c" ], "x-ms-correlation-request-id": [ - "26dfd2ef-a070-4fdf-ac2c-2b51da286a99" + "0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193727Z:26dfd2ef-a070-4fdf-ac2c-2b51da286a99" + "WESTUS:20200205T205639Z:0a72d32f-4f4e-4e32-9c21-4dd2ee8a528c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:26 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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\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": [ - "c4f3c30d-9c82-4776-8e39-86817733b734" + "d8879d42-d315-48d1-ad1c-03cc7b133bdd" ], "Accept-Language": [ "en-US" @@ -234,22 +234,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11986" ], "x-ms-request-id": [ - "919b6652-8055-4436-bb7b-a82016ad15aa" + "a338ab89-d99b-4b58-a605-2e26f619112f" ], "x-ms-correlation-request-id": [ - "919b6652-8055-4436-bb7b-a82016ad15aa" + "a338ab89-d99b-4b58-a605-2e26f619112f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193933Z:919b6652-8055-4436-bb7b-a82016ad15aa" + "WESTUS:20200205T205848Z:a338ab89-d99b-4b58-a605-2e26f619112f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\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": [ - "451844d5-e299-4170-8606-afd4ebe077b9" + "be287a05-2f01-46b0-b0ee-57b550c2816f" ], "Accept-Language": [ "en-US" @@ -286,7 +286,7 @@ "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/3a75086d-ee20-4fff-a323-3cf94632c6ca?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/3a75086d-ee20-4fff-a323-3cf94632c6ca?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": [ - "3a75086d-ee20-4fff-a323-3cf94632c6ca" + "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": [ - "0478a9e7-b819-4e80-8efb-c333c44da6af" + "bb518b72-c111-4a7e-94b0-90d972bf96f1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193728Z:0478a9e7-b819-4e80-8efb-c333c44da6af" + "WESTUS:20200205T205640Z:bb518b72-c111-4a7e-94b0-90d972bf96f1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:27 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/3a75086d-ee20-4fff-a323-3cf94632c6ca?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvM2E3NTA4NmQtZWUyMC00ZmZmLWEzMjMtM2NmOTQ2MzJjNmNhP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -372,22 +372,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11995" ], "x-ms-request-id": [ - "4d504405-52b0-4cab-8d1a-aaf297bb6ec5" + "7989538a-40c0-4917-9929-b7c2713bde98" ], "x-ms-correlation-request-id": [ - "4d504405-52b0-4cab-8d1a-aaf297bb6ec5" + "7989538a-40c0-4917-9929-b7c2713bde98" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193758Z:4d504405-52b0-4cab-8d1a-aaf297bb6ec5" + "WESTUS:20200205T205711Z:7989538a-40c0-4917-9929-b7c2713bde98" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:58 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/3a75086d-ee20-4fff-a323-3cf94632c6ca?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}", @@ -432,25 +432,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11994" ], "x-ms-request-id": [ - "4ed67982-c8bc-480d-a9bf-6a4f6305df70" + "f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3" ], "x-ms-correlation-request-id": [ - "4ed67982-c8bc-480d-a9bf-6a4f6305df70" + "f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193759Z:4ed67982-c8bc-480d-a9bf-6a4f6305df70" + "WESTUS:20200205T205711Z:f7d9efb9-6a70-4a43-ab7e-e9536ff35ff3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:59 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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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": [ - "3301003f-cc9b-47b6-9380-f2506ac2325d" + "093794d1-3b0f-46d2-9152-1a17d4469720" ], "Accept-Language": [ "en-US" @@ -498,25 +498,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11985" ], "x-ms-request-id": [ - "6e54655a-9f70-42a4-97bf-5f8b214ba52c" + "c856fb7a-6577-4882-affa-4cc47e605ddd" ], "x-ms-correlation-request-id": [ - "6e54655a-9f70-42a4-97bf-5f8b214ba52c" + "c856fb7a-6577-4882-affa-4cc47e605ddd" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193933Z:6e54655a-9f70-42a4-97bf-5f8b214ba52c" + "WESTUS:20200205T205849Z:c856fb7a-6577-4882-affa-4cc47e605ddd" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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": [ - "5325d380-9311-4c73-96ae-4473d526ae75" + "6e22555c-ade6-4581-9012-f0d8159f66b1" ], "Accept-Language": [ "en-US" @@ -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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?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": [ - "5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7" + "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": [ - "aac701d7-2e85-4069-b738-b81bf155bc6f" + "9bda3de4-8465-49b0-a9cd-f0e4b0559c34" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193759Z:aac701d7-2e85-4069-b738-b81bf155bc6f" + "WESTUS:20200205T205713Z:9bda3de4-8465-49b0-a9cd-f0e4b0559c34" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:37:59 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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWIzYzA0NDEtNzlkMy00M2YxLThlYzctN2IwYTVjYjI4OWY3P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -636,22 +636,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11993" ], "x-ms-request-id": [ - "ddfbfbfb-f04b-4c18-9b00-fd67863af72a" + "3337a3d2-73b2-4237-a1cc-6d4dc40d0c03" ], "x-ms-correlation-request-id": [ - "ddfbfbfb-f04b-4c18-9b00-fd67863af72a" + "3337a3d2-73b2-4237-a1cc-6d4dc40d0c03" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193829Z:ddfbfbfb-f04b-4c18-9b00-fd67863af72a" + "WESTUS:20200205T205743Z:3337a3d2-73b2-4237-a1cc-6d4dc40d0c03" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:38:29 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/5b3c0441-79d3-43f1-8ec7-7b0a5cb289f7?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}", @@ -696,22 +696,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11992" ], "x-ms-request-id": [ - "fa425a47-25bc-4d9c-a852-7373c177599b" + "365957a6-5b7d-4b08-8798-076ff54f6285" ], "x-ms-correlation-request-id": [ - "fa425a47-25bc-4d9c-a852-7373c177599b" + "365957a6-5b7d-4b08-8798-076ff54f6285" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193830Z:fa425a47-25bc-4d9c-a852-7373c177599b" + "WESTUS:20200205T205743Z:365957a6-5b7d-4b08-8798-076ff54f6285" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:38:30 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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\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": [ - "f97c1c92-2af1-4020-9fd3-28e32693c7f4" + "a7e75087-af6c-40e3-aef3-484b97324734" ], "Accept-Language": [ "en-US" @@ -762,22 +762,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11984" ], "x-ms-request-id": [ - "75298303-b1e5-4478-ad31-0379c238de55" + "a4e77a3b-5665-44d9-8cee-c058703f8005" ], "x-ms-correlation-request-id": [ - "75298303-b1e5-4478-ad31-0379c238de55" + "a4e77a3b-5665-44d9-8cee-c058703f8005" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193934Z:75298303-b1e5-4478-ad31-0379c238de55" + "WESTUS:20200205T205849Z:a4e77a3b-5665-44d9-8cee-c058703f8005" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\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": [ - "377bcbd3-6ed8-4da8-ae2c-ea2e912ffd43" + "2821a4bc-5e16-4f6d-b17a-69c7eabe1917" ], "Accept-Language": [ "en-US" @@ -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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?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": [ - "af2806de-b38b-43b0-a7f0-d6c4bc122aab" + "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": [ - "fc18c0a1-3226-4f5e-859f-8fc21d4e05ed" + "c668e846-c3dc-43ad-a221-1ab37e1de0d3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193831Z:fc18c0a1-3226-4f5e-859f-8fc21d4e05ed" + "WESTUS:20200205T205744Z:c668e846-c3dc-43ad-a221-1ab37e1de0d3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:38:30 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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWYyODA2ZGUtYjM4Yi00M2IwLWE3ZjAtZDZjNGJjMTIyYWFiP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -900,22 +900,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11991" ], "x-ms-request-id": [ - "d1ed6486-3074-4432-92ea-11b94427c332" + "3f0531c0-9f7f-4586-bb94-b204d60b8f5e" ], "x-ms-correlation-request-id": [ - "d1ed6486-3074-4432-92ea-11b94427c332" + "3f0531c0-9f7f-4586-bb94-b204d60b8f5e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193901Z:d1ed6486-3074-4432-92ea-11b94427c332" + "WESTUS:20200205T205816Z:3f0531c0-9f7f-4586-bb94-b204d60b8f5e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:00 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/af2806de-b38b-43b0-a7f0-d6c4bc122aab?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}", @@ -960,22 +960,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11990" ], "x-ms-request-id": [ - "b5687cda-6ec1-457e-83a3-56a2ef30b076" + "6037aea8-0a03-4104-b515-bad625ce9747" ], "x-ms-correlation-request-id": [ - "b5687cda-6ec1-457e-83a3-56a2ef30b076" + "6037aea8-0a03-4104-b515-bad625ce9747" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193901Z:b5687cda-6ec1-457e-83a3-56a2ef30b076" + "WESTUS:20200205T205816Z:6037aea8-0a03-4104-b515-bad625ce9747" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:00 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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\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": [ - "bf0a08fa-0c31-4b26-9825-30a260f90114" + "85b57873-6172-463b-b3e2-5eb9a4bc53ad" ], "Accept-Language": [ "en-US" @@ -1026,22 +1026,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11983" ], "x-ms-request-id": [ - "a000404e-1541-4d97-b5e9-bc5ab05df9b0" + "5ca51eda-e92d-4890-a550-d5e1340f9fb3" ], "x-ms-correlation-request-id": [ - "a000404e-1541-4d97-b5e9-bc5ab05df9b0" + "5ca51eda-e92d-4890-a550-d5e1340f9fb3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193934Z:a000404e-1541-4d97-b5e9-bc5ab05df9b0" + "WESTUS:20200205T205849Z:5ca51eda-e92d-4890-a550-d5e1340f9fb3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:34 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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\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": [ - "5f1160bf-f129-4c15-a9b6-486959347cda" + "203ab4f4-7c23-42b9-9ad3-c071f6f9a6f8" ], "Accept-Language": [ "en-US" @@ -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/ce004e02-b458-4ec9-8f69-1928f3265b0d?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/ce004e02-b458-4ec9-8f69-1928f3265b0d?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": [ - "ce004e02-b458-4ec9-8f69-1928f3265b0d" + "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": [ - "71ec05cf-1e88-47ce-b18a-3e0dd758c91e" + "552e651f-07b3-458d-ba26-37df6945353b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193902Z:71ec05cf-1e88-47ce-b18a-3e0dd758c91e" + "WESTUS:20200205T205817Z:552e651f-07b3-458d-ba26-37df6945353b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:01 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/ce004e02-b458-4ec9-8f69-1928f3265b0d?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvY2UwMDRlMDItYjQ1OC00ZWM5LThmNjktMTkyOGYzMjY1YjBkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1164,22 +1164,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11988" ], "x-ms-request-id": [ - "d232306f-41a7-4f42-8f1e-28a7e95641b5" + "a687da25-e278-4ff2-9eb5-f250e4547d82" ], "x-ms-correlation-request-id": [ - "d232306f-41a7-4f42-8f1e-28a7e95641b5" + "a687da25-e278-4ff2-9eb5-f250e4547d82" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193932Z:d232306f-41a7-4f42-8f1e-28a7e95641b5" + "WESTUS:20200205T205848Z:a687da25-e278-4ff2-9eb5-f250e4547d82" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:32 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/ce004e02-b458-4ec9-8f69-1928f3265b0d?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}", @@ -1224,22 +1224,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11987" ], "x-ms-request-id": [ - "f5f99284-9aa4-4249-8ebf-d956cb9dbebf" + "ad86db57-328b-476a-bb03-ab3ee639c257" ], "x-ms-correlation-request-id": [ - "f5f99284-9aa4-4249-8ebf-d956cb9dbebf" + "ad86db57-328b-476a-bb03-ab3ee639c257" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193933Z:f5f99284-9aa4-4249-8ebf-d956cb9dbebf" + "WESTUS:20200205T205848Z:ad86db57-328b-476a-bb03-ab3ee639c257" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:33 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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\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": [ - "86317302-1c1c-44eb-9d2b-e646da9ff433" + "e00232f3-b888-40c9-8fc7-c7136c85759d" ], "Accept-Language": [ "en-US" @@ -1290,22 +1290,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11982" ], "x-ms-request-id": [ - "ccd3434f-5900-45ca-8165-661734a32dc5" + "c6ce1113-ceda-4876-94e1-74454d473463" ], "x-ms-correlation-request-id": [ - "ccd3434f-5900-45ca-8165-661734a32dc5" + "c6ce1113-ceda-4876-94e1-74454d473463" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193934Z:ccd3434f-5900-45ca-8165-661734a32dc5" + "WESTUS:20200205T205850Z:c6ce1113-ceda-4876-94e1-74454d473463" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:34 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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\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": [ - "84ee8fda-026d-472a-b422-c94fcb562844" + "19a6e4c2-d13e-439a-825a-44b10c552e8b" ], "Accept-Language": [ "en-US" @@ -1356,25 +1356,25 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11981" ], "x-ms-request-id": [ - "d3863cfd-236f-44e4-9081-4acdd600f634" + "18deb4b5-fb46-4a3c-88a0-ca66704a9745" ], "x-ms-correlation-request-id": [ - "d3863cfd-236f-44e4-9081-4acdd600f634" + "18deb4b5-fb46-4a3c-88a0-ca66704a9745" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193935Z:d3863cfd-236f-44e4-9081-4acdd600f634" + "WESTUS:20200205T205850Z:18deb4b5-fb46-4a3c-88a0-ca66704a9745" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:34 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\": \"xDISAOTNT9E=\",\r\n \"_ts\": 1579721849,\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/\",\r\n \"_etag\": \"\\\"0000d704-0000-0700-0000-5e28a4790000\\\"\",\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": [ - "35fe0f0d-6338-428b-8ef2-5e06fb09223b" + "b1124c85-0db8-441a-80da-652e9e9fc5e0" ], "Accept-Language": [ "en-US" @@ -1422,22 +1422,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11980" ], "x-ms-request-id": [ - "7a79e1aa-85b3-404e-860f-16ce0b60908d" + "129f5087-3326-4a1f-9825-ed8a409993e8" ], "x-ms-correlation-request-id": [ - "7a79e1aa-85b3-404e-860f-16ce0b60908d" + "129f5087-3326-4a1f-9825-ed8a409993e8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193935Z:7a79e1aa-85b3-404e-860f-16ce0b60908d" + "WESTUS:20200205T205851Z:129f5087-3326-4a1f-9825-ed8a409993e8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:35 GMT" + "Wed, 05 Feb 2020 20:58:50 GMT" ], "Content-Length": [ "455" @@ -1449,7 +1449,7 @@ "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\": \"xDISAA==\",\r\n \"_self\": \"dbs/xDISAA==/\",\r\n \"_etag\": \"\\\"0000d504-0000-0700-0000-5e28a45a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579721818\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 }, { @@ -1459,7 +1459,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "956fc724-6776-4f35-a071-4be709fb0c1d" + "40ecfbb5-168f-4c35-9ac3-02c7bf242cca" ], "Accept-Language": [ "en-US" @@ -1488,22 +1488,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11979" ], "x-ms-request-id": [ - "bb84ba23-882b-480e-ae9e-2f2e56e98ed3" + "ac215b77-de0f-465e-b160-71c490613b3c" ], "x-ms-correlation-request-id": [ - "bb84ba23-882b-480e-ae9e-2f2e56e98ed3" + "ac215b77-de0f-465e-b160-71c490613b3c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193935Z:bb84ba23-882b-480e-ae9e-2f2e56e98ed3" + "WESTUS:20200205T205851Z:ac215b77-de0f-465e-b160-71c490613b3c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:35 GMT" + "Wed, 05 Feb 2020 20:58:50 GMT" ], "Content-Length": [ "710" @@ -1515,7 +1515,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?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\": \"xDISAOTNT9EBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/sprocs/xDISAOTNT9EBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"bd0022a6-0000-0700-0000-5e28a4990000\\\"\",\r\n \"_ts\": 1579721881\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 }, { @@ -1525,7 +1525,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2b680bf1-54b5-4680-8e78-20f63708c5e6" + "f52c69ce-5f5a-4712-8529-74158ae5e1f0" ], "Accept-Language": [ "en-US" @@ -1554,22 +1554,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "11978" ], "x-ms-request-id": [ - "163d07d5-84d5-434e-96b7-cd45a8c1f590" + "2fd281ff-1e36-4fa4-96fd-e97cd9a79810" ], "x-ms-correlation-request-id": [ - "163d07d5-84d5-434e-96b7-cd45a8c1f590" + "2fd281ff-1e36-4fa4-96fd-e97cd9a79810" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193936Z:163d07d5-84d5-434e-96b7-cd45a8c1f590" + "WESTUS:20200205T205851Z:2fd281ff-1e36-4fa4-96fd-e97cd9a79810" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:35 GMT" + "Wed, 05 Feb 2020 20:58:50 GMT" ], "Content-Length": [ "680" @@ -1581,7 +1581,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?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\": \"xDISAOTNT9EBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/udfs/xDISAOTNT9EBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"bd0023a6-0000-0700-0000-5e28a4b80000\\\"\",\r\n \"_ts\": 1579721912\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 }, { @@ -1591,7 +1591,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "68cd828a-dd1f-4563-af16-2616bbe34568" + "c3982c97-5b0c-4fb8-92c8-4c1b06796ed3" ], "Accept-Language": [ "en-US" @@ -1620,22 +1620,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11977" ], "x-ms-request-id": [ - "5ab06461-9e77-49c2-9374-69de5d45922c" + "22022087-9c58-4926-97d0-cefb4e857d7e" ], "x-ms-correlation-request-id": [ - "5ab06461-9e77-49c2-9374-69de5d45922c" + "22022087-9c58-4926-97d0-cefb4e857d7e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193936Z:5ab06461-9e77-49c2-9374-69de5d45922c" + "WESTUS:20200205T205852Z:22022087-9c58-4926-97d0-cefb4e857d7e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:35 GMT" + "Wed, 05 Feb 2020 20:58:51 GMT" ], "Content-Length": [ "717" @@ -1647,7 +1647,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?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\": \"xDISAOTNT9EBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xDISAA==/colls/xDISAOTNT9E=/triggers/xDISAOTNT9EBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"bd0024a6-0000-0700-0000-5e28a4d80000\\\"\",\r\n \"_ts\": 1579721944\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": [ - "63876abe-e3c8-419b-9283-211865dc4aee" + "8ae053f9-cdeb-4093-bdfe-acb8c33f9187" ], "Accept-Language": [ "en-US" @@ -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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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": [ - "a26fa2fc-9033-4701-b9be-79ad752cdbdc" + "2dd39a45-1535-48a5-b988-9c619bcdf690" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1698,16 +1698,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "b00f36eb-a1ae-45da-9bad-ec7588e58e71" + "d5b4f50c-2381-410d-8938-f3920faf6edc" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T193936Z:b00f36eb-a1ae-45da-9bad-ec7588e58e71" + "WESTUS:20200205T205852Z:d5b4f50c-2381-410d-8938-f3920faf6edc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:39:36 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTI2ZmEyZmMtOTAzMy00NzAxLWI5YmUtNzlhZDc1MmNkYmRjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1752,22 +1752,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11976" ], "x-ms-request-id": [ - "0ec9e917-39dc-4273-bf63-1be409d045bb" + "5c096850-d42c-426e-ab6b-656c6177f2d4" ], "x-ms-correlation-request-id": [ - "0ec9e917-39dc-4273-bf63-1be409d045bb" + "5c096850-d42c-426e-ab6b-656c6177f2d4" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194006Z:0ec9e917-39dc-4273-bf63-1be409d045bb" + "WESTUS:20200205T205923Z:5c096850-d42c-426e-ab6b-656c6177f2d4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:06 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlL29wZXJhdGlvblJlc3VsdHMvYTI2ZmEyZmMtOTAzMy00NzAxLWI5YmUtNzlhZDc1MmNkYmRjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1812,28 +1812,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "11975" ], "x-ms-request-id": [ - "1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" + "361e75b0-21f4-45d4-be6e-b7e8113b8ed0" ], "x-ms-correlation-request-id": [ - "1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" + "361e75b0-21f4-45d4-be6e-b7e8113b8ed0" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194006Z:1e1a5ee8-b2e7-4f6a-add3-5bad1da1d47c" + "WESTUS:20200205T205923Z:361e75b0-21f4-45d4-be6e-b7e8113b8ed0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:06 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/a26fa2fc-9033-4701-b9be-79ad752cdbdc?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": [ - "4be89287-8ab6-4c7e-b514-2ebfcd4c0f75" + "73444da9-9c49-48be-b6b7-24bffee2ef82" ], "Accept-Language": [ "en-US" @@ -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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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": [ - "0926e9ce-2cf0-4667-b3aa-e3b41821803d" + "5e3af686-27d2-43d8-8c8f-03e0e0ddfd39" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1884,19 +1884,19 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14998" + "14999" ], "x-ms-correlation-request-id": [ - "5a8e0493-b5c8-485f-a3dc-b9b5a05121da" + "65b4ad85-49c8-4dbe-b7fb-06b86d1a8570" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194008Z:5a8e0493-b5c8-485f-a3dc-b9b5a05121da" + "WESTUS:20200205T205923Z:65b4ad85-49c8-4dbe-b7fb-06b86d1a8570" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:07 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDkyNmU5Y2UtMmNmMC00NjY3LWIzYWEtZTNiNDE4MjE4MDNkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1941,22 +1941,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "11997" ], "x-ms-request-id": [ - "89db864e-3931-4c22-9165-d1a7d924ebef" + "9f2dd840-7f7e-4467-be13-401d093cb8ce" ], "x-ms-correlation-request-id": [ - "89db864e-3931-4c22-9165-d1a7d924ebef" + "9f2dd840-7f7e-4467-be13-401d093cb8ce" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194038Z:89db864e-3931-4c22-9165-d1a7d924ebef" + "WESTUS:20200205T205954Z:9f2dd840-7f7e-4467-be13-401d093cb8ce" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:37 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3RyaWdnZXJzL3RyaWdnZXIvb3BlcmF0aW9uUmVzdWx0cy8wOTI2ZTljZS0yY2YwLTQ2NjctYjNhYS1lM2I0MTgyMTgwM2Q/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": { @@ -2001,28 +2001,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" + "11996" ], "x-ms-request-id": [ - "b0a01de8-2225-4634-a5b0-113ce71f5b92" + "ae8c753c-d174-4117-8bda-fcc4fdf57026" ], "x-ms-correlation-request-id": [ - "b0a01de8-2225-4634-a5b0-113ce71f5b92" + "ae8c753c-d174-4117-8bda-fcc4fdf57026" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194038Z:b0a01de8-2225-4634-a5b0-113ce71f5b92" + "WESTUS:20200205T205954Z:ae8c753c-d174-4117-8bda-fcc4fdf57026" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:37 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/0926e9ce-2cf0-4667-b3aa-e3b41821803d?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": [ - "7158e61f-3ed5-4d2b-b3cd-4b9042b7b027" + "15502f7a-43c0-473b-967e-ea07d2878155" ], "Accept-Language": [ "en-US" @@ -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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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": [ - "a8884468-5aae-4a3d-8227-cffa55ed0ff0" + "722cf9e7-3aa7-4e56-9714-5bda4dbdc3da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2076,16 +2076,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "8b5dbcb2-4417-4705-b8db-e6555381313b" + "dee766a8-b7b6-4218-a3e4-889c26eb95e9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194039Z:8b5dbcb2-4417-4705-b8db-e6555381313b" + "WESTUS:20200205T205955Z:dee766a8-b7b6-4218-a3e4-889c26eb95e9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:40:39 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYTg4ODQ0NjgtNWFhZS00YTNkLTgyMjctY2ZmYTU1ZWQwZmYwP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2133,19 +2133,19 @@ "11999" ], "x-ms-request-id": [ - "837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" + "83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f" ], "x-ms-correlation-request-id": [ - "837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" + "83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194109Z:837c8590-31e9-41cc-8f3e-c0b5c42f9d5a" + "WESTUS:20200205T210025Z:83f4e7d8-49ed-4d2c-9b3f-e37f33a4432f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:09 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VkZi9vcGVyYXRpb25SZXN1bHRzL2E4ODg0NDY4LTVhYWUtNGEzZC04MjI3LWNmZmE1NWVkMGZmMD9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": { @@ -2193,25 +2193,25 @@ "11998" ], "x-ms-request-id": [ - "3f367b4e-a6b4-4973-a763-504eee3c279c" + "ad0e9127-1a61-43a3-9097-8238d3cd8299" ], "x-ms-correlation-request-id": [ - "3f367b4e-a6b4-4973-a763-504eee3c279c" + "ad0e9127-1a61-43a3-9097-8238d3cd8299" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194110Z:3f367b4e-a6b4-4973-a763-504eee3c279c" + "WESTUS:20200205T210025Z:ad0e9127-1a61-43a3-9097-8238d3cd8299" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:09 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/a8884468-5aae-4a3d-8227-cffa55ed0ff0?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": [ - "df1901bf-ef6f-4277-ae58-4a7e2bda935e" + "54d891c1-6335-46f6-b974-908efb0910b2" ], "Accept-Language": [ "en-US" @@ -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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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": [ - "4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291" + "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": [ - "b00942d9-9349-4b12-8147-e61de7e38cf8" + "299e7eea-87b3-4944-a812-ceb0301e69e2" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194110Z:b00942d9-9349-4b12-8147-e61de7e38cf8" + "WESTUS:20200205T210026Z:299e7eea-87b3-4944-a812-ceb0301e69e2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:10 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNGJjYTBmN2YtOWYzZS00ZWRmLWE5YzgtOGEwZmI0MDNiMjkxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2319,22 +2319,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "x-ms-request-id": [ - "ca49d808-7827-4406-83c0-90021e788566" + "0b2ca7c6-80fe-4839-983e-5f2469be3d9f" ], "x-ms-correlation-request-id": [ - "ca49d808-7827-4406-83c0-90021e788566" + "0b2ca7c6-80fe-4839-983e-5f2469be3d9f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194141Z:ca49d808-7827-4406-83c0-90021e788566" + "WESTUS:20200205T210056Z:0b2ca7c6-80fe-4839-983e-5f2469be3d9f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:40 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvY29udGFpbmVycy9jb250YWluZXIxL29wZXJhdGlvblJlc3VsdHMvNGJjYTBmN2YtOWYzZS00ZWRmLWE5YzgtOGEwZmI0MDNiMjkxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2379,28 +2379,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11998" ], "x-ms-request-id": [ - "d5217543-1b8c-45c9-b4f4-f05e159635ae" + "8e0592b3-5dbe-4275-9c07-21f39aee91fe" ], "x-ms-correlation-request-id": [ - "d5217543-1b8c-45c9-b4f4-f05e159635ae" + "8e0592b3-5dbe-4275-9c07-21f39aee91fe" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194141Z:d5217543-1b8c-45c9-b4f4-f05e159635ae" + "WESTUS:20200205T210057Z:8e0592b3-5dbe-4275-9c07-21f39aee91fe" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:40 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/4bca0f7f-9f3e-4edf-a9c8-8a0fb403b291?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": [ - "8f9b0cd9-b158-490b-91da-1af1a66d64e4" + "0b717e62-a056-4b2e-9e3c-57a9bf754d4c" ], "Accept-Language": [ "en-US" @@ -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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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": [ - "e8b50fc6-0092-4c1c-87ab-bed4f54c14ec" + "588d5c7b-0720-40a1-84e6-abfb83891173" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2454,16 +2454,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "0580d51d-f8d4-483b-9272-7fe8398c71bb" + "211d198f-5225-4dba-8d94-20869adf08d3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194142Z:0580d51d-f8d4-483b-9272-7fe8398c71bb" + "WESTUS:20200205T210057Z:211d198f-5225-4dba-8d94-20869adf08d3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:41:41 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZThiNTBmYzYtMDA5Mi00YzFjLTg3YWItYmVkNGY1NGMxNGVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2511,19 +2511,19 @@ "11999" ], "x-ms-request-id": [ - "dddc1e6a-a433-4119-b940-21c9713623cc" + "bd3294b6-ba00-4e10-949c-81a1bc4027e9" ], "x-ms-correlation-request-id": [ - "dddc1e6a-a433-4119-b940-21c9713623cc" + "bd3294b6-ba00-4e10-949c-81a1bc4027e9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194212Z:dddc1e6a-a433-4119-b940-21c9713623cc" + "WESTUS:20200205T210128Z:bd3294b6-ba00-4e10-949c-81a1bc4027e9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:12 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUvb3BlcmF0aW9uUmVzdWx0cy9lOGI1MGZjNi0wMDkyLTRjMWMtODdhYi1iZWQ0ZjU0YzE0ZWM/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": { @@ -2571,25 +2571,25 @@ "11998" ], "x-ms-request-id": [ - "ac69b091-aabf-439b-9507-ae141941e56c" + "bbb86882-b951-4dc2-9cda-9f5e82badb47" ], "x-ms-correlation-request-id": [ - "ac69b091-aabf-439b-9507-ae141941e56c" + "bbb86882-b951-4dc2-9cda-9f5e82badb47" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194212Z:ac69b091-aabf-439b-9507-ae141941e56c" + "WESTUS:20200205T210128Z:bbb86882-b951-4dc2-9cda-9f5e82badb47" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:12 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/e8b50fc6-0092-4c1c-87ab-bed4f54c14ec?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 ae78ae729180..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": [ - "d1715364-738d-4317-9dd5-1f8daeb1bc57" + "a6439069-9713-41c3-85d7-b744f0de72b0" ], "Accept-Language": [ "en-US" @@ -36,22 +36,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "x-ms-request-id": [ - "606f9131-93bd-4ff1-be8f-26a41f48ada3" + "61d3fb64-040b-4254-9a76-05e28abbaa5d" ], "x-ms-correlation-request-id": [ - "606f9131-93bd-4ff1-be8f-26a41f48ada3" + "61d3fb64-040b-4254-9a76-05e28abbaa5d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194216Z:606f9131-93bd-4ff1-be8f-26a41f48ada3" + "WESTUS:20200205T210132Z:61d3fb64-040b-4254-9a76-05e28abbaa5d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:16 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": [ - "14dc6a38-435b-48eb-abaa-778c22b56b6a" + "a0c88b76-8ffe-4d3d-a15c-f698416e6e5e" ], "Accept-Language": [ "en-US" @@ -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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?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": [ - "dc29b709-ca3d-4e47-9d11-e3ce82171cc2" + "95a18cb5-25d0-47f3-b10b-71123b2d718c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "e1a2017c-adcd-470b-93d2-e5cfd357e663" + "1cb9a047-2fa2-4bab-b377-21eda25d46b8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194217Z:e1a2017c-adcd-470b-93d2-e5cfd357e663" + "WESTUS:20200205T210132Z:1cb9a047-2fa2-4bab-b377-21eda25d46b8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:17 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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZGMyOWI3MDktY2EzZC00ZTQ3LTlkMTEtZTNjZTgyMTcxY2MyP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -174,22 +174,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11998" ], "x-ms-request-id": [ - "aae7d807-56f5-405c-8526-a34172911ada" + "daf668c9-1847-4fbc-85f9-58b3a804ab04" ], "x-ms-correlation-request-id": [ - "aae7d807-56f5-405c-8526-a34172911ada" + "daf668c9-1847-4fbc-85f9-58b3a804ab04" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194247Z:aae7d807-56f5-405c-8526-a34172911ada" + "WESTUS:20200205T210203Z:daf668c9-1847-4fbc-85f9-58b3a804ab04" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:47 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/dc29b709-ca3d-4e47-9d11-e3ce82171cc2?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}", @@ -234,22 +234,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11997" ], "x-ms-request-id": [ - "9f58e7eb-169b-438e-a4cc-848de7410a47" + "38135fb6-fe5f-45fb-a0f1-c77a2b146919" ], "x-ms-correlation-request-id": [ - "9f58e7eb-169b-438e-a4cc-848de7410a47" + "38135fb6-fe5f-45fb-a0f1-c77a2b146919" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194248Z:9f58e7eb-169b-438e-a4cc-848de7410a47" + "WESTUS:20200205T210203Z:38135fb6-fe5f-45fb-a0f1-c77a2b146919" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:47 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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\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": [ - "a6e92a8a-3c80-489e-8cee-355ce3175e39" + "51a42b46-5e98-4f06-8aaf-93dd6ff0e4e7" ], "Accept-Language": [ "en-US" @@ -300,22 +300,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11988" ], "x-ms-request-id": [ - "0d080277-6b79-4cb4-b3e3-e36e3e0354a4" + "af8b09be-efaa-4207-9d76-1e6653283935" ], "x-ms-correlation-request-id": [ - "0d080277-6b79-4cb4-b3e3-e36e3e0354a4" + "af8b09be-efaa-4207-9d76-1e6653283935" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194454Z:0d080277-6b79-4cb4-b3e3-e36e3e0354a4" + "WESTUS:20200205T210409Z:af8b09be-efaa-4207-9d76-1e6653283935" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:53 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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\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": [ - "d0accf77-156a-483f-b9e8-c38c953a6d1d" + "82c499a0-08c0-4f6b-b42e-b3757ec624ef" ], "Accept-Language": [ "en-US" @@ -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/a8a923f2-af99-4d4c-abf5-b8b31479b529?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/a8a923f2-af99-4d4c-abf5-b8b31479b529?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": [ - "a8a923f2-af99-4d4c-abf5-b8b31479b529" + "1f071532-9003-4a22-be32-00f1ade94da3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -384,16 +384,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "022abb20-79ca-4d28-a0ae-56cab3bb8833" + "79032750-45fd-4060-8ffe-660791c81164" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194249Z:022abb20-79ca-4d28-a0ae-56cab3bb8833" + "WESTUS:20200205T210204Z:79032750-45fd-4060-8ffe-660791c81164" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:42:48 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/a8a923f2-af99-4d4c-abf5-b8b31479b529?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYThhOTIzZjItYWY5OS00ZDRjLWFiZjUtYjhiMzE0NzliNTI5P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -438,22 +438,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11996" ], "x-ms-request-id": [ - "22aa636b-df6e-44ea-b300-0f4508b12c45" + "2be7277b-32b7-4240-965a-319c1ca1011b" ], "x-ms-correlation-request-id": [ - "22aa636b-df6e-44ea-b300-0f4508b12c45" + "2be7277b-32b7-4240-965a-319c1ca1011b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194319Z:22aa636b-df6e-44ea-b300-0f4508b12c45" + "WESTUS:20200205T210234Z:2be7277b-32b7-4240-965a-319c1ca1011b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:18 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/a8a923f2-af99-4d4c-abf5-b8b31479b529?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}", @@ -498,22 +498,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11995" ], "x-ms-request-id": [ - "76f9c0d1-2ab6-4940-9e8b-185bb83da779" + "100c81c0-8f75-4bd1-b6f0-cfebba067438" ], "x-ms-correlation-request-id": [ - "76f9c0d1-2ab6-4940-9e8b-185bb83da779" + "100c81c0-8f75-4bd1-b6f0-cfebba067438" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194319Z:76f9c0d1-2ab6-4940-9e8b-185bb83da779" + "WESTUS:20200205T210234Z:100c81c0-8f75-4bd1-b6f0-cfebba067438" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:19 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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": [ - "ac27df2f-0509-4779-a5dc-c5fe6e8ccad3" + "2383ab74-d023-4fa8-b045-8813e756f4cb" ], "Accept-Language": [ "en-US" @@ -564,22 +564,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11987" ], "x-ms-request-id": [ - "0451b583-f405-4f71-868f-9949ceb9c10d" + "349f19ed-fab3-4290-870f-ce1e6ce30920" ], "x-ms-correlation-request-id": [ - "0451b583-f405-4f71-868f-9949ceb9c10d" + "349f19ed-fab3-4290-870f-ce1e6ce30920" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194455Z:0451b583-f405-4f71-868f-9949ceb9c10d" + "WESTUS:20200205T210409Z:349f19ed-fab3-4290-870f-ce1e6ce30920" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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": [ - "d0a7f829-8a4f-4d55-b65c-0d5b1854571e" + "d0cc4653-813f-4271-8435-06864947de8a" ], "Accept-Language": [ "en-US" @@ -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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?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": [ - "fe355e56-c5d8-4c2e-8ebf-962ac12c9cde" + "21ec11e8-3a27-4b57-807e-25e06632ac76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -648,16 +648,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "c2be9251-31df-4519-aa1f-997022939c48" + "e355c80a-3bd6-4868-973b-f9f54e8279cc" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194320Z:c2be9251-31df-4519-aa1f-997022939c48" + "WESTUS:20200205T210235Z:e355c80a-3bd6-4868-973b-f9f54e8279cc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:19 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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZmUzNTVlNTYtYzVkOC00YzJlLThlYmYtOTYyYWMxMmM5Y2RlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -702,22 +702,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11994" ], "x-ms-request-id": [ - "8b6ca421-fd88-49b9-ac00-f9caf2e59e24" + "73569b48-26c0-4e99-8ea0-b1152f591a04" ], "x-ms-correlation-request-id": [ - "8b6ca421-fd88-49b9-ac00-f9caf2e59e24" + "73569b48-26c0-4e99-8ea0-b1152f591a04" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194350Z:8b6ca421-fd88-49b9-ac00-f9caf2e59e24" + "WESTUS:20200205T210305Z:73569b48-26c0-4e99-8ea0-b1152f591a04" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:50 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/fe355e56-c5d8-4c2e-8ebf-962ac12c9cde?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}", @@ -762,22 +762,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11993" ], "x-ms-request-id": [ - "7c73d15d-a49b-4a3a-86f2-3da911353757" + "863493ba-28f7-4187-a165-8df6ccc5b039" ], "x-ms-correlation-request-id": [ - "7c73d15d-a49b-4a3a-86f2-3da911353757" + "863493ba-28f7-4187-a165-8df6ccc5b039" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194351Z:7c73d15d-a49b-4a3a-86f2-3da911353757" + "WESTUS:20200205T210305Z:863493ba-28f7-4187-a165-8df6ccc5b039" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:51 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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\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": [ - "44e1af0c-b95f-488e-ab02-aa1f386f974a" + "df68c7b4-3901-4dcb-b39c-f56965d6248b" ], "Accept-Language": [ "en-US" @@ -828,22 +828,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11986" ], "x-ms-request-id": [ - "5478f4ba-fc58-4c51-90d3-0a041dc67e27" + "3904a16f-4ece-40a9-99e5-f81aa8ad17f7" ], "x-ms-correlation-request-id": [ - "5478f4ba-fc58-4c51-90d3-0a041dc67e27" + "3904a16f-4ece-40a9-99e5-f81aa8ad17f7" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194455Z:5478f4ba-fc58-4c51-90d3-0a041dc67e27" + "WESTUS:20200205T210410Z:3904a16f-4ece-40a9-99e5-f81aa8ad17f7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\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": [ - "5a51ba89-8a77-448a-8004-bf46ff449c8b" + "32f2e5e2-24a9-4c4d-84dc-e02c22da1ea3" ], "Accept-Language": [ "en-US" @@ -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/541db1a9-e47c-4347-97d1-3ea1af532813?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/541db1a9-e47c-4347-97d1-3ea1af532813?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": [ - "541db1a9-e47c-4347-97d1-3ea1af532813" + "ec41ce73-2261-4ff2-8dbd-9afc3dca8192" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -912,16 +912,16 @@ "1196" ], "x-ms-correlation-request-id": [ - "e3533e67-5712-4f98-8232-f96152aa0190" + "fbb2fea5-eb08-456f-b7d1-6e0af11c10a1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194351Z:e3533e67-5712-4f98-8232-f96152aa0190" + "WESTUS:20200205T210306Z:fbb2fea5-eb08-456f-b7d1-6e0af11c10a1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:43:51 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/541db1a9-e47c-4347-97d1-3ea1af532813?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNTQxZGIxYTktZTQ3Yy00MzQ3LTk3ZDEtM2VhMWFmNTMyODEzP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -966,22 +966,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11992" ], "x-ms-request-id": [ - "b8f55b54-d141-4442-974a-b0c92d823da6" + "14a47074-8f00-4eb6-a025-a415cb78705c" ], "x-ms-correlation-request-id": [ - "b8f55b54-d141-4442-974a-b0c92d823da6" + "14a47074-8f00-4eb6-a025-a415cb78705c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194422Z:b8f55b54-d141-4442-974a-b0c92d823da6" + "WESTUS:20200205T210337Z:14a47074-8f00-4eb6-a025-a415cb78705c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:21 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/541db1a9-e47c-4347-97d1-3ea1af532813?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}", @@ -1026,22 +1026,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11991" ], "x-ms-request-id": [ - "57a9c47d-ae6e-43f0-b21d-87ea8caaf682" + "a4e2a45a-1bf4-46f6-8559-66a9f175dec5" ], "x-ms-correlation-request-id": [ - "57a9c47d-ae6e-43f0-b21d-87ea8caaf682" + "a4e2a45a-1bf4-46f6-8559-66a9f175dec5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194422Z:57a9c47d-ae6e-43f0-b21d-87ea8caaf682" + "WESTUS:20200205T210337Z:a4e2a45a-1bf4-46f6-8559-66a9f175dec5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:22 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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\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": [ - "9703c036-963e-4fe5-bf01-6684a05d145f" + "f7931a2f-0cdd-448c-9a8e-4b130fd407a8" ], "Accept-Language": [ "en-US" @@ -1092,22 +1092,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11985" ], "x-ms-request-id": [ - "2cf5593e-1e47-446b-af79-be230b48ae44" + "e16dd555-09f5-4700-bafc-a29e0fd24c8e" ], "x-ms-correlation-request-id": [ - "2cf5593e-1e47-446b-af79-be230b48ae44" + "e16dd555-09f5-4700-bafc-a29e0fd24c8e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194455Z:2cf5593e-1e47-446b-af79-be230b48ae44" + "WESTUS:20200205T210410Z:e16dd555-09f5-4700-bafc-a29e0fd24c8e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\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": [ - "aecd465a-5a37-4d8b-a9d7-469e2eccf219" + "ba62aff6-b825-418e-bbd0-42b3a48651d8" ], "Accept-Language": [ "en-US" @@ -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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?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": [ - "ac87b5ec-aa8e-45a7-82da-c96663ce2aaf" + "16835f20-1717-47df-9766-66fef75a3f6e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1176,16 +1176,16 @@ "1195" ], "x-ms-correlation-request-id": [ - "2ae08100-d123-48c3-88ff-d6c4e37fb7ed" + "857e5ac5-e0fc-4355-99a7-fbf655e361e1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194423Z:2ae08100-d123-48c3-88ff-d6c4e37fb7ed" + "WESTUS:20200205T210338Z:857e5ac5-e0fc-4355-99a7-fbf655e361e1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:22 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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvYWM4N2I1ZWMtYWE4ZS00NWE3LTgyZGEtYzk2NjYzY2UyYWFmP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1230,22 +1230,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11990" ], "x-ms-request-id": [ - "36b2d005-4a38-4448-9e0b-95050e923317" + "766c0b8d-5f33-4420-9c5a-53a3161e1afe" ], "x-ms-correlation-request-id": [ - "36b2d005-4a38-4448-9e0b-95050e923317" + "766c0b8d-5f33-4420-9c5a-53a3161e1afe" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194454Z:36b2d005-4a38-4448-9e0b-95050e923317" + "WESTUS:20200205T210408Z:766c0b8d-5f33-4420-9c5a-53a3161e1afe" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:53 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/ac87b5ec-aa8e-45a7-82da-c96663ce2aaf?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}", @@ -1290,22 +1290,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11989" ], "x-ms-request-id": [ - "33e68371-bb28-4f7e-b398-a7ff748dec80" + "05d751e3-702f-492a-9f22-629173dc1a5f" ], "x-ms-correlation-request-id": [ - "33e68371-bb28-4f7e-b398-a7ff748dec80" + "05d751e3-702f-492a-9f22-629173dc1a5f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194454Z:33e68371-bb28-4f7e-b398-a7ff748dec80" + "WESTUS:20200205T210409Z:05d751e3-702f-492a-9f22-629173dc1a5f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:53 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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\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": [ - "c2b37e2f-3878-4c8e-b417-38d67315c2fc" + "9e692fbc-5c24-4277-a866-de72cf9b618f" ], "Accept-Language": [ "en-US" @@ -1356,22 +1356,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11984" ], "x-ms-request-id": [ - "5f5a5048-2635-429e-aace-2d19db28a8f6" + "85f57431-57a8-4381-80c0-34dad790bfd7" ], "x-ms-correlation-request-id": [ - "5f5a5048-2635-429e-aace-2d19db28a8f6" + "85f57431-57a8-4381-80c0-34dad790bfd7" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194455Z:5f5a5048-2635-429e-aace-2d19db28a8f6" + "WESTUS:20200205T210410Z:85f57431-57a8-4381-80c0-34dad790bfd7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:54 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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\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": [ - "f62a3ba2-8b5c-4563-9d83-94a06f74b88e" + "55519b7e-ded6-429a-aec9-cf34d37533ff" ], "Accept-Language": [ "en-US" @@ -1422,22 +1422,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "11983" ], "x-ms-request-id": [ - "0ca196d6-404c-4831-93b6-b1a281d6f751" + "00c97999-4bb6-4d9b-af04-7dfc88de7635" ], "x-ms-correlation-request-id": [ - "0ca196d6-404c-4831-93b6-b1a281d6f751" + "00c97999-4bb6-4d9b-af04-7dfc88de7635" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194456Z:0ca196d6-404c-4831-93b6-b1a281d6f751" + "WESTUS:20200205T210411Z:00c97999-4bb6-4d9b-af04-7dfc88de7635" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:55 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\": \"pZ40AKqklqg=\",\r\n \"_ts\": 1579722170,\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/\",\r\n \"_etag\": \"\\\"0000de04-0000-0700-0000-5e28a5ba0000\\\"\",\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": [ - "7c7c96e8-a45b-461a-884c-1f5edb7ddeb4" + "d74aa6aa-6237-4723-be9f-dde1d678b601" ], "Accept-Language": [ "en-US" @@ -1488,22 +1488,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11982" ], "x-ms-request-id": [ - "382b7817-04d0-4057-a8d6-d6b571517c87" + "b6a00f14-e265-4f9e-9635-b9f2e581469d" ], "x-ms-correlation-request-id": [ - "382b7817-04d0-4057-a8d6-d6b571517c87" + "b6a00f14-e265-4f9e-9635-b9f2e581469d" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194456Z:382b7817-04d0-4057-a8d6-d6b571517c87" + "WESTUS:20200205T210411Z:b6a00f14-e265-4f9e-9635-b9f2e581469d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:55 GMT" + "Wed, 05 Feb 2020 21:04:10 GMT" ], "Content-Length": [ "458" @@ -1515,7 +1515,7 @@ "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\": \"pZ40AA==\",\r\n \"_self\": \"dbs/pZ40AA==/\",\r\n \"_etag\": \"\\\"0000dc04-0000-0700-0000-5e28a59a0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1579722138\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 }, { @@ -1525,7 +1525,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ac37fb7c-21d5-4b2d-958b-371bc39e76a0" + "fe19c952-f9d1-44b8-a20c-517b6fbdeb37" ], "Accept-Language": [ "en-US" @@ -1554,22 +1554,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11981" ], "x-ms-request-id": [ - "2ec5ef38-892f-4beb-9c97-063ca5e9c80a" + "ba6597b1-b4ba-4a9f-a761-abff06c43b16" ], "x-ms-correlation-request-id": [ - "2ec5ef38-892f-4beb-9c97-063ca5e9c80a" + "ba6597b1-b4ba-4a9f-a761-abff06c43b16" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194456Z:2ec5ef38-892f-4beb-9c97-063ca5e9c80a" + "WESTUS:20200205T210411Z:ba6597b1-b4ba-4a9f-a761-abff06c43b16" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:55 GMT" + "Wed, 05 Feb 2020 21:04:10 GMT" ], "Content-Length": [ "711" @@ -1581,7 +1581,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?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\": \"pZ40AKqklqgBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/sprocs/pZ40AKqklqgBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"4300fa45-0000-0700-0000-5e28a5da0000\\\"\",\r\n \"_ts\": 1579722202\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 }, { @@ -1591,7 +1591,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8a535957-05c0-4a25-afe3-6b8497600a05" + "4b4ad38a-8e0f-410c-80dc-c5ee47429ab2" ], "Accept-Language": [ "en-US" @@ -1620,22 +1620,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "11980" ], "x-ms-request-id": [ - "152af817-f11e-42db-b26f-b643bb2445d3" + "11c9b545-cc81-4229-b462-0eb75e5ca4d6" ], "x-ms-correlation-request-id": [ - "152af817-f11e-42db-b26f-b643bb2445d3" + "11c9b545-cc81-4229-b462-0eb75e5ca4d6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194456Z:152af817-f11e-42db-b26f-b643bb2445d3" + "WESTUS:20200205T210411Z:11c9b545-cc81-4229-b462-0eb75e5ca4d6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:55 GMT" + "Wed, 05 Feb 2020 21:04:11 GMT" ], "Content-Length": [ "681" @@ -1647,7 +1647,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?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\": \"pZ40AKqklqgBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/udfs/pZ40AKqklqgBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"4300fc45-0000-0700-0000-5e28a5f90000\\\"\",\r\n \"_ts\": 1579722233\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 }, { @@ -1657,7 +1657,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d8e2e5bc-2cdd-4dd1-9c54-8f4caedaf138" + "d43628b8-5b88-487f-801e-4013c161505a" ], "Accept-Language": [ "en-US" @@ -1686,22 +1686,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "11979" ], "x-ms-request-id": [ - "5a819d2d-fbd2-4726-950e-eb3f2c299733" + "cb1322e4-261a-41c1-9dfb-65f796f2e9a2" ], "x-ms-correlation-request-id": [ - "5a819d2d-fbd2-4726-950e-eb3f2c299733" + "cb1322e4-261a-41c1-9dfb-65f796f2e9a2" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194457Z:5a819d2d-fbd2-4726-950e-eb3f2c299733" + "WESTUS:20200205T210412Z:cb1322e4-261a-41c1-9dfb-65f796f2e9a2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:56 GMT" + "Wed, 05 Feb 2020 21:04:11 GMT" ], "Content-Length": [ "718" @@ -1713,7 +1713,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?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\": \"pZ40AKqklqgBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/pZ40AA==/colls/pZ40AKqklqg=/triggers/pZ40AKqklqgBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"4300344a-0000-0700-0000-5e28a6190000\\\"\",\r\n \"_ts\": 1579722265\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": [ - "b5243860-3d0d-4368-95b3-8153ccb82d80" + "dda9c81c-0092-4418-84cd-bdfe970659e6" ], "Accept-Language": [ "en-US" @@ -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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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": [ - "f3b70b36-0acb-44e6-b32f-9d6c9f54e51e" + "ec0c8e28-48c6-4b38-97d7-96e9397bc7fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1764,16 +1764,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "ba5d9bac-a023-4f51-932b-66a26b2c2643" + "fd2aa4dc-a3fc-4004-bde4-82731e23ac68" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194457Z:ba5d9bac-a023-4f51-932b-66a26b2c2643" + "WESTUS:20200205T210412Z:fd2aa4dc-a3fc-4004-bde4-82731e23ac68" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:44:56 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZjNiNzBiMzYtMGFjYi00NGU2LWIzMmYtOWQ2YzlmNTRlNTFlP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -1818,22 +1818,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" + "11978" ], "x-ms-request-id": [ - "46078499-84cc-408e-94ca-ed1464645211" + "2dd5ca4c-fe5d-4ba0-a01b-80227c87f835" ], "x-ms-correlation-request-id": [ - "46078499-84cc-408e-94ca-ed1464645211" + "2dd5ca4c-fe5d-4ba0-a01b-80227c87f835" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194527Z:46078499-84cc-408e-94ca-ed1464645211" + "WESTUS:20200205T210443Z:2dd5ca4c-fe5d-4ba0-a01b-80227c87f835" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:45:27 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZS9vcGVyYXRpb25SZXN1bHRzL2YzYjcwYjM2LTBhY2ItNDRlNi1iMzJmLTlkNmM5ZjU0ZTUxZT9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": { @@ -1878,28 +1878,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" + "11977" ], "x-ms-request-id": [ - "bc34df5a-7409-4903-8537-40a2671d35d5" + "d36c9087-2000-4c7d-a86b-6b571c745e32" ], "x-ms-correlation-request-id": [ - "bc34df5a-7409-4903-8537-40a2671d35d5" + "d36c9087-2000-4c7d-a86b-6b571c745e32" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194527Z:bc34df5a-7409-4903-8537-40a2671d35d5" + "WESTUS:20200205T210443Z:d36c9087-2000-4c7d-a86b-6b571c745e32" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:45:27 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/f3b70b36-0acb-44e6-b32f-9d6c9f54e51e?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": [ - "4ce27610-2ba9-41b0-8581-9bd486894945" + "bf82b71c-ffa2-4047-8416-a591164fcceb" ], "Accept-Language": [ "en-US" @@ -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/9b66d387-faff-40f7-a25d-fe390d5691ad?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/9b66d387-faff-40f7-a25d-fe390d5691ad?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": [ - "9b66d387-faff-40f7-a25d-fe390d5691ad" + "10fe1ac3-0512-40bb-8d66-4973fc26023a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1953,16 +1953,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "6c8f4001-8bff-4a72-944e-d9658348f46b" + "8b17b368-6f80-4a6b-9886-f0fa294178f9" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194528Z:6c8f4001-8bff-4a72-944e-d9658348f46b" + "WESTUS:20200205T210443Z:8b17b368-6f80-4a6b-9886-f0fa294178f9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:45:28 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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvOWI2NmQzODctZmFmZi00MGY3LWEyNWQtZmUzOTBkNTY5MWFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2007,22 +2007,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11999" ], "x-ms-request-id": [ - "ec953321-7568-42a5-8d56-959bf258b2db" + "09b87108-6128-4929-a764-fa8d14b92ddf" ], "x-ms-correlation-request-id": [ - "ec953321-7568-42a5-8d56-959bf258b2db" + "09b87108-6128-4929-a764-fa8d14b92ddf" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194559Z:ec953321-7568-42a5-8d56-959bf258b2db" + "WESTUS:20200205T210514Z:09b87108-6128-4929-a764-fa8d14b92ddf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:45:59 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/9b66d387-faff-40f7-a25d-fe390d5691ad?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/9b66d387-faff-40f7-a25d-fe390d5691ad?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS90cmlnZ2Vycy90cmlnZ2VyL29wZXJhdGlvblJlc3VsdHMvOWI2NmQzODctZmFmZi00MGY3LWEyNWQtZmUzOTBkNTY5MWFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2067,28 +2067,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11998" ], "x-ms-request-id": [ - "8608ac9c-b938-4037-81e2-28bf13f53c7b" + "a5153736-b1b8-47a4-ae9f-743857ad1d60" ], "x-ms-correlation-request-id": [ - "8608ac9c-b938-4037-81e2-28bf13f53c7b" + "a5153736-b1b8-47a4-ae9f-743857ad1d60" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194559Z:8608ac9c-b938-4037-81e2-28bf13f53c7b" + "WESTUS:20200205T210515Z:a5153736-b1b8-47a4-ae9f-743857ad1d60" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:45:59 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/9b66d387-faff-40f7-a25d-fe390d5691ad?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": [ - "5ccbaeef-3726-40ea-9bdd-c0bb02b0f0f8" + "4f4d618f-2012-4ecf-b519-4c0ce1bdf4ae" ], "Accept-Language": [ "en-US" @@ -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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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": [ - "d9bf9845-0579-4b40-9ec0-1c9bf46bd355" + "03d64a54-eb4f-4d3b-baf3-69357bdd0ce6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2142,16 +2142,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "e9b350f1-cd48-4f78-a454-ba2471732d6a" + "c91b1ad6-34c2-4f5d-aa93-d5831bc5a5a5" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194600Z:e9b350f1-cd48-4f78-a454-ba2471732d6a" + "WESTUS:20200205T210516Z:c91b1ad6-34c2-4f5d-aa93-d5831bc5a5a5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:46:00 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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvZDliZjk4NDUtMDU3OS00YjQwLTllYzAtMWM5YmY0NmJkMzU1P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2199,19 +2199,19 @@ "11999" ], "x-ms-request-id": [ - "5537a554-06fa-4176-8957-0fdab56311f1" + "f0b768c8-fc15-4dca-aa5f-51e8a6bdf899" ], "x-ms-correlation-request-id": [ - "5537a554-06fa-4176-8957-0fdab56311f1" + "f0b768c8-fc15-4dca-aa5f-51e8a6bdf899" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194630Z:5537a554-06fa-4176-8957-0fdab56311f1" + "WESTUS:20200205T210547Z:f0b768c8-fc15-4dca-aa5f-51e8a6bdf899" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:46:29 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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS91c2VyRGVmaW5lZEZ1bmN0aW9ucy91ZGYvb3BlcmF0aW9uUmVzdWx0cy9kOWJmOTg0NS0wNTc5LTRiNDAtOWVjMC0xYzliZjQ2YmQzNTU/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": { @@ -2259,25 +2259,25 @@ "11998" ], "x-ms-request-id": [ - "9bf4a52f-aeb1-4c83-baba-6b25e97344cd" + "36714f86-979a-478b-9c36-e284fdb49119" ], "x-ms-correlation-request-id": [ - "9bf4a52f-aeb1-4c83-baba-6b25e97344cd" + "36714f86-979a-478b-9c36-e284fdb49119" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194630Z:9bf4a52f-aeb1-4c83-baba-6b25e97344cd" + "WESTUS:20200205T210547Z:36714f86-979a-478b-9c36-e284fdb49119" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:46:29 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/d9bf9845-0579-4b40-9ec0-1c9bf46bd355?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": [ - "df0ea7d0-f151-4110-ab85-7755bdc81519" + "4bb460d0-1ffb-40a6-ba1e-c59441d600b9" ], "Accept-Language": [ "en-US" @@ -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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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": [ - "062ceb7d-e80c-44fc-9964-bb9d720de2ec" + "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": [ - "72f64e2f-3604-4959-a4c7-09f2a34a4410" + "3f5adbd0-34d0-4747-8258-97bbdfc6fdf8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194631Z:72f64e2f-3604-4959-a4c7-09f2a34a4410" + "WESTUS:20200205T210547Z:3f5adbd0-34d0-4747-8258-97bbdfc6fdf8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:46:30 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDYyY2ViN2QtZTgwYy00NGZjLTk5NjQtYmI5ZDcyMGRlMmVjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2385,22 +2385,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11988" ], "x-ms-request-id": [ - "99186537-d0d5-46e9-9d29-14a5192f8c36" + "adc2b10f-015b-472c-8da0-6eebdb9a3cac" ], "x-ms-correlation-request-id": [ - "99186537-d0d5-46e9-9d29-14a5192f8c36" + "adc2b10f-015b-472c-8da0-6eebdb9a3cac" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194701Z:99186537-d0d5-46e9-9d29-14a5192f8c36" + "WESTUS:20200205T210618Z:adc2b10f-015b-472c-8da0-6eebdb9a3cac" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:47:01 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL2NvbnRhaW5lcnMvY29udGFpbmVyMS9vcGVyYXRpb25SZXN1bHRzLzA2MmNlYjdkLWU4MGMtNDRmYy05OTY0LWJiOWQ3MjBkZTJlYz9hcGktdmVyc2lvbj0yMDE5LTA4LTAx", + "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": { @@ -2445,28 +2445,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11987" ], "x-ms-request-id": [ - "837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" + "3b0f34cc-bd13-4378-8698-8bce7f3c9893" ], "x-ms-correlation-request-id": [ - "837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" + "3b0f34cc-bd13-4378-8698-8bce7f3c9893" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194701Z:837ca3a1-fa7b-4267-9fc9-9a9eba6d697b" + "WESTUS:20200205T210618Z:3b0f34cc-bd13-4378-8698-8bce7f3c9893" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:47:01 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/062ceb7d-e80c-44fc-9964-bb9d720de2ec?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": [ - "df04d221-4612-4214-8845-96f16eed1d68" + "187e1966-f863-4c1a-9e2c-e53e12b88bd3" ], "Accept-Language": [ "en-US" @@ -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/657d060f-3773-4baf-979c-2787c0e0361d?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/657d060f-3773-4baf-979c-2787c0e0361d?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": [ - "657d060f-3773-4baf-979c-2787c0e0361d" + "c59426e0-14a5-4ed2-95a3-2390b4f4f49e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2520,16 +2520,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "871c0f76-0cd7-4887-b173-02505392125e" + "564541f2-5a2a-4712-ac4a-04749de7903f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194702Z:871c0f76-0cd7-4887-b173-02505392125e" + "WESTUS:20200205T210619Z:564541f2-5a2a-4712-ac4a-04749de7903f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:47:01 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/657d060f-3773-4baf-979c-2787c0e0361d?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnNTdGF0dXMvNjU3ZDA2MGYtMzc3My00YmFmLTk3OWMtMjc4N2MwZTAzNjFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2574,22 +2574,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11998" ], "x-ms-request-id": [ - "b2a08433-beeb-474b-94fd-3b405f9fa8fe" + "782d7cae-f63e-483b-bd4f-9b931634344f" ], "x-ms-correlation-request-id": [ - "b2a08433-beeb-474b-94fd-3b405f9fa8fe" + "782d7cae-f63e-483b-bd4f-9b931634344f" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194732Z:b2a08433-beeb-474b-94fd-3b405f9fa8fe" + "WESTUS:20200205T210649Z:782d7cae-f63e-483b-bd4f-9b931634344f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:47:32 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/657d060f-3773-4baf-979c-2787c0e0361d?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/657d060f-3773-4baf-979c-2787c0e0361d?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL3JndGVzdDk5MjEyMzI4MTIvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY29zbW9zZGI5OTIxMjMyODEyL3NxbERhdGFiYXNlcy9kYk5hbWUyL29wZXJhdGlvblJlc3VsdHMvNjU3ZDA2MGYtMzc3My00YmFmLTk3OWMtMjc4N2MwZTAzNjFkP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -2634,28 +2634,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11997" ], "x-ms-request-id": [ - "0f6ab9d8-7ed1-4c56-b353-824db1775fa7" + "4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8" ], "x-ms-correlation-request-id": [ - "0f6ab9d8-7ed1-4c56-b353-824db1775fa7" + "4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T194733Z:0f6ab9d8-7ed1-4c56-b353-824db1775fa7" + "WESTUS:20200205T210650Z:4f3e10cf-11c8-47a9-bf7f-b94e1ed493c8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 19:47:32 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/657d060f-3773-4baf-979c-2787c0e0361d?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 index 15669d7c7b89..794086d24f39 100644 --- 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 @@ -7,7 +7,7 @@ "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": [ - "d6a4674e-2f1e-4c21-84cb-9dcf4ee6185d" + "a78e36a8-a159-4845-af62-efd3dfb42d74" ], "Accept-Language": [ "en-US" @@ -33,13 +33,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1/operationResults/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01" + "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/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01" + "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": [ - "e7b85334-281d-4837-9871-970532a2ecdc" + "e2dd3bf7-e99b-43f2-9fad-5c162431fd9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,19 +51,19 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1199" ], "x-ms-correlation-request-id": [ - "fa87d025-ecc5-49ee-8493-38199e73e881" + "cad0df02-c010-4b77-9846-6956e08f995c" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200413Z:fa87d025-ecc5-49ee-8493-38199e73e881" + "WESTUS:20200205T211210Z:cad0df02-c010-4b77-9846-6956e08f995c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:12 GMT" + "Wed, 05 Feb 2020 21:12:10 GMT" ], "Content-Length": [ "32" @@ -79,8 +79,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZTdiODUzMzQtMjgxZC00ODM3LTk4NzEtOTcwNTMyYTJlY2RjP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -108,22 +108,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" + "11999" ], "x-ms-request-id": [ - "6c02e525-d16d-4a85-9c37-9e5add337026" + "d43b8a48-9da2-427e-8141-f11b8e0ad645" ], "x-ms-correlation-request-id": [ - "6c02e525-d16d-4a85-9c37-9e5add337026" + "d43b8a48-9da2-427e-8141-f11b8e0ad645" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200444Z:6c02e525-d16d-4a85-9c37-9e5add337026" + "WESTUS:20200205T211241Z:d43b8a48-9da2-427e-8141-f11b8e0ad645" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:44 GMT" + "Wed, 05 Feb 2020 21:12:41 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/eastus/operationsStatus/e7b85334-281d-4837-9871-970532a2ecdc?api-version=2019-08-01" + "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}", @@ -168,22 +168,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" + "11998" ], "x-ms-request-id": [ - "6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + "37c42cc3-57dd-461e-9a0e-fec0d2152815" ], "x-ms-correlation-request-id": [ - "6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + "37c42cc3-57dd-461e-9a0e-fec0d2152815" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200444Z:6bfc18a9-4328-4cb8-b3f1-dfbd2ccff178" + "WESTUS:20200205T211241Z:37c42cc3-57dd-461e-9a0e-fec0d2152815" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:44 GMT" + "Wed, 05 Feb 2020 21:12:41 GMT" ], "Content-Length": [ "372" @@ -195,7 +195,7 @@ "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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\r\n }\r\n }\r\n}", + "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 }, { @@ -205,7 +205,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6b27eb1f-9fe5-4a26-a05f-e3970b6619ff" + "31da6653-93dd-4a89-9b3d-431580ba0dd8" ], "Accept-Language": [ "en-US" @@ -234,22 +234,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" + "11997" ], "x-ms-request-id": [ - "cd9a04ee-6d3b-4411-bc1a-9901e3397947" + "10209df9-6af9-4101-a6ba-78a226a191e3" ], "x-ms-correlation-request-id": [ - "cd9a04ee-6d3b-4411-bc1a-9901e3397947" + "10209df9-6af9-4101-a6ba-78a226a191e3" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200444Z:cd9a04ee-6d3b-4411-bc1a-9901e3397947" + "WESTUS:20200205T211241Z:10209df9-6af9-4101-a6ba-78a226a191e3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:44 GMT" + "Wed, 05 Feb 2020 21:12:41 GMT" ], "Content-Length": [ "372" @@ -261,7 +261,7 @@ "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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cb8baf3b-013c-4aef-a4f0-a5535e73e654" + "31a6afb6-e528-48eb-8bf8-017cb7613c61" ], "Accept-Language": [ "en-US" @@ -300,22 +300,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" + "11996" ], "x-ms-request-id": [ - "b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + "1741193b-1911-4fc1-b8a9-e15e57e36954" ], "x-ms-correlation-request-id": [ - "b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + "1741193b-1911-4fc1-b8a9-e15e57e36954" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200444Z:b2b91e9b-332f-46c0-a8b8-d2acdb63dc4e" + "WESTUS:20200205T211242Z:1741193b-1911-4fc1-b8a9-e15e57e36954" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:44 GMT" + "Wed, 05 Feb 2020 21:12:41 GMT" ], "Content-Length": [ "384" @@ -327,7 +327,7 @@ "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\": \"bilIANidGVM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15f-1fbf400101d5\\\"\",\r\n \"_ts\": 1579723456\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/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 }, { @@ -337,7 +337,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8df52e4e-eac9-46d2-af38-9f4dd83f0d82" + "485d8f45-707a-438b-a5dc-08b7a4a51edc" ], "Accept-Language": [ "en-US" @@ -357,13 +357,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/table1/operationResults/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + "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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + "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": [ - "013e420f-9416-4920-8862-7f6545fb03e8" + "cf05bff3-13de-44d4-bc2c-7801361aec47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -375,19 +375,19 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14997" + "14999" ], "x-ms-correlation-request-id": [ - "4ba46ebf-0b10-4b29-a362-f72ff692c4c9" + "9f805e64-7527-499f-850c-e1033d6bebeb" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200445Z:4ba46ebf-0b10-4b29-a362-f72ff692c4c9" + "WESTUS:20200205T211243Z:9f805e64-7527-499f-850c-e1033d6bebeb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:45 GMT" + "Wed, 05 Feb 2020 21:12:42 GMT" ], "Content-Length": [ "32" @@ -403,8 +403,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvMDEzZTQyMGYtOTQxNi00OTIwLTg4NjItN2Y2NTQ1ZmIwM2U4P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -432,22 +432,22 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" + "11995" ], "x-ms-request-id": [ - "e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + "8d58c45b-0540-4c0a-8f37-7f1548f0fab8" ], "x-ms-correlation-request-id": [ - "e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + "8d58c45b-0540-4c0a-8f37-7f1548f0fab8" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200515Z:e6dc3d85-a79a-4e7f-b590-22d2e1b50e15" + "WESTUS:20200205T211313Z:8d58c45b-0540-4c0a-8f37-7f1548f0fab8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:05:15 GMT" + "Wed, 05 Feb 2020 21:13:12 GMT" ], "Content-Length": [ "33" @@ -456,15 +456,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + "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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZTEvb3BlcmF0aW9uUmVzdWx0cy8wMTNlNDIwZi05NDE2LTQ5MjAtODg2Mi03ZjY1NDVmYjAzZTg/YXBpLXZlcnNpb249MjAxOS0wOC0wMQ==", + "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": { @@ -492,28 +492,28 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11970" + "11994" ], "x-ms-request-id": [ - "f613fe47-f191-4f83-a191-5c519b007526" + "1f723a2d-17df-4de9-90df-40888067255e" ], "x-ms-correlation-request-id": [ - "f613fe47-f191-4f83-a191-5c519b007526" + "1f723a2d-17df-4de9-90df-40888067255e" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200515Z:f613fe47-f191-4f83-a191-5c519b007526" + "WESTUS:20200205T211314Z:1f723a2d-17df-4de9-90df-40888067255e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:05:15 GMT" + "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/013e420f-9416-4920-8862-7f6545fb03e8?api-version=2019-08-01" + "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": "", 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 index f0e947eac479..d5e4cb927655 100644 --- 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 @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3caef5f1-8ef1-48f6-988e-a9b47c0c2de4" + "083b0929-b9be-4207-bafa-cb6e46907456" ], "Accept-Language": [ "en-US" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "5fe095b5-20d3-4596-9c35-943ba378945f" + "aff24d35-17ed-439d-82be-2d6c678add70" ], "x-ms-correlation-request-id": [ - "5fe095b5-20d3-4596-9c35-943ba378945f" + "aff24d35-17ed-439d-82be-2d6c678add70" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200308Z:5fe095b5-20d3-4596-9c35-943ba378945f" + "WESTUS:20200205T211105Z:aff24d35-17ed-439d-82be-2d6c678add70" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:07 GMT" + "Wed, 05 Feb 2020 21:11:04 GMT" ], "Content-Length": [ "1751" @@ -73,7 +73,7 @@ "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": [ - "9923abab-202c-432f-8e7c-a1e166841b29" + "fecc1107-64a0-48df-a8e6-1160dfbb6657" ], "Accept-Language": [ "en-US" @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2/operationResults/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01" + "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/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01" + "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": [ - "eb0d4714-1801-4f30-8a46-19f6195143c4" + "8cc4b9c9-5ed8-4d2e-8de3-5c451abdc28f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,16 +120,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "a2804d23-45a1-43b5-8afc-e103b26acd7a" + "8039d595-11c6-4453-95f9-fdb7d1a26c1b" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200308Z:a2804d23-45a1-43b5-8afc-e103b26acd7a" + "WESTUS:20200205T211106Z:8039d595-11c6-4453-95f9-fdb7d1a26c1b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:08 GMT" + "Wed, 05 Feb 2020 21:11:05 GMT" ], "Content-Length": [ "32" @@ -145,8 +145,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvZWIwZDQ3MTQtMTgwMS00ZjMwLThhNDYtMTlmNjE5NTE0M2M0P2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -177,19 +177,19 @@ "11998" ], "x-ms-request-id": [ - "fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + "bb873fa7-01a7-4943-a6a7-7f2b8d40aee6" ], "x-ms-correlation-request-id": [ - "fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + "bb873fa7-01a7-4943-a6a7-7f2b8d40aee6" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200339Z:fb8fbafd-5b38-42ed-b3cc-c97996b02f19" + "WESTUS:20200205T211137Z:bb873fa7-01a7-4943-a6a7-7f2b8d40aee6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:38 GMT" + "Wed, 05 Feb 2020 21:11:36 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/eastus/operationsStatus/eb0d4714-1801-4f30-8a46-19f6195143c4?api-version=2019-08-01" + "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}", @@ -237,19 +237,19 @@ "11997" ], "x-ms-request-id": [ - "97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + "7df7dc86-e7b3-482e-b5f0-72228f389d57" ], "x-ms-correlation-request-id": [ - "97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + "7df7dc86-e7b3-482e-b5f0-72228f389d57" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200339Z:97c7697b-f3d2-4cdb-87d3-fccbb72c27f3" + "WESTUS:20200205T211137Z:7df7dc86-e7b3-482e-b5f0-72228f389d57" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:38 GMT" + "Wed, 05 Feb 2020 21:11:37 GMT" ], "Content-Length": [ "384" @@ -261,7 +261,7 @@ "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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\r\n }\r\n }\r\n}", + "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 }, { @@ -271,7 +271,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "832ef5ef-1c63-4f90-b0b8-10350e0d4a25" + "1d1b5692-a9aa-4bc7-9a4e-2454d7985fe1" ], "Accept-Language": [ "en-US" @@ -303,19 +303,19 @@ "11996" ], "x-ms-request-id": [ - "273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + "de9b4a16-53a5-464e-9b4d-2f31491994a7" ], "x-ms-correlation-request-id": [ - "273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + "de9b4a16-53a5-464e-9b4d-2f31491994a7" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200339Z:273df5ea-22e1-4fe5-8afc-9ec67c54a57b" + "WESTUS:20200205T211137Z:de9b4a16-53a5-464e-9b4d-2f31491994a7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:39 GMT" + "Wed, 05 Feb 2020 21:11:37 GMT" ], "Content-Length": [ "384" @@ -327,7 +327,7 @@ "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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\r\n }\r\n }\r\n}", + "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 }, { @@ -337,7 +337,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c7d45026-cd56-43d7-8632-f53347656ba6" + "e5044367-2935-4c1b-8654-5216d41e8c64" ], "Accept-Language": [ "en-US" @@ -369,19 +369,19 @@ "11995" ], "x-ms-request-id": [ - "5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + "725086eb-b263-4f83-ad42-565a400be527" ], "x-ms-correlation-request-id": [ - "5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + "725086eb-b263-4f83-ad42-565a400be527" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200339Z:5ae45297-f8d5-46d8-8cb9-4e345b5c379a" + "WESTUS:20200205T211137Z:725086eb-b263-4f83-ad42-565a400be527" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:39 GMT" + "Wed, 05 Feb 2020 21:11:37 GMT" ], "Content-Length": [ "396" @@ -393,7 +393,7 @@ "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\": \"bilIAJSDwHE=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-d15e-f887980101d5\\\"\",\r\n \"_ts\": 1579723390\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/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 }, { @@ -403,7 +403,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "641e9ba4-b9b3-4fa0-9d36-63de5e1c784b" + "94fe16ee-3e6e-4e25-b084-5d03b007b142" ], "Accept-Language": [ "en-US" @@ -423,13 +423,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/resourceGroups/CosmosDBResourceGroup2510/providers/Microsoft.DocumentDB/databaseAccounts/db2527/tables/tableName2/operationResults/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + "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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + "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": [ - "5bbc93c6-f24c-4687-a2c4-16214f579401" + "343e963b-cacd-4399-ae89-70d1a9e3a4ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -444,16 +444,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "858e31a7-e5be-4929-b5dc-83499a6f3958" + "e2ade5b6-c4ff-4dad-bfaf-a3d02df035d1" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200340Z:858e31a7-e5be-4929-b5dc-83499a6f3958" + "WESTUS:20200205T211138Z:e2ade5b6-c4ff-4dad-bfaf-a3d02df035d1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:03:39 GMT" + "Wed, 05 Feb 2020 21:11:37 GMT" ], "Content-Length": [ "32" @@ -469,8 +469,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzL29wZXJhdGlvbnNTdGF0dXMvNWJiYzkzYzYtZjI0Yy00Njg3LWEyYzQtMTYyMTRmNTc5NDAxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -501,19 +501,19 @@ "11994" ], "x-ms-request-id": [ - "e57ba852-c660-4536-bfab-86c14962a252" + "2e2f2654-85c5-4111-9b16-c7809e652097" ], "x-ms-correlation-request-id": [ - "e57ba852-c660-4536-bfab-86c14962a252" + "2e2f2654-85c5-4111-9b16-c7809e652097" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200410Z:e57ba852-c660-4536-bfab-86c14962a252" + "WESTUS:20200205T211208Z:2e2f2654-85c5-4111-9b16-c7809e652097" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:10 GMT" + "Wed, 05 Feb 2020 21:12:07 GMT" ], "Content-Length": [ "33" @@ -522,15 +522,15 @@ "application/json" ], "Content-Location": [ - "https://management.documents.azure.com:450/subscriptions/12053b8f-cab5-4f5c-9c1a-870580142abd/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + "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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTIwNTNiOGYtY2FiNS00ZjVjLTljMWEtODcwNTgwMTQyYWJkL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDI1MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyNTI3L3RhYmxlcy90YWJsZU5hbWUyL29wZXJhdGlvblJlc3VsdHMvNWJiYzkzYzYtZjI0Yy00Njg3LWEyYzQtMTYyMTRmNTc5NDAxP2FwaS12ZXJzaW9uPTIwMTktMDgtMDE=", + "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": { @@ -561,25 +561,25 @@ "11993" ], "x-ms-request-id": [ - "28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + "3d152d8d-4d03-4f3e-95c8-e07a5b2b0746" ], "x-ms-correlation-request-id": [ - "28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + "3d152d8d-4d03-4f3e-95c8-e07a5b2b0746" ], "x-ms-routing-request-id": [ - "WESTUS:20200122T200410Z:28befcc3-b8b1-4fa8-bd9f-f6c5849074df" + "WESTUS:20200205T211208Z:3d152d8d-4d03-4f3e-95c8-e07a5b2b0746" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 22 Jan 2020 20:04:10 GMT" + "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/5bbc93c6-f24c-4687-a2c4-16214f579401?api-version=2019-08-01" + "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": "", diff --git a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 index 10539d54d964..d4c899cf51e8 100644 --- a/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 +++ b/src/CosmosDB/CosmosDB/Az.CosmosDB.psd1 @@ -102,7 +102,7 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer', 'Set-AzCosmosDBGremlinDatabase', 'Set-AzCosmosDBGremlinGraph', 'New-AzCosmosDBGremlinIndexingPolicy', 'New-AzCosmosDBGremlinUniqueKey', 'New-AzCosmosDBGremlinUniqueKeyPolicy', 'New-AzCosmosDBGremlinSpatialSpec', - 'New-AzCosmosDBGremlinCompositePath', + 'New-AzCosmosDBGremlinCompositePath', 'New-AzCosmosDBGremlinConflictResolutionPolicy', 'New-AzCosmosDBGremlinIncludedPath', 'New-AzCosmosDBGremlinIncludedPathIndex', 'Get-AzCosmosDBTable', 'Get-AzCosmosDBTableThroughput', 'Remove-AzCosmosDBTable', 'Set-AzCosmosDBTable', diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md index 157f00a2273d..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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md index 5a447c924dd6..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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md index a94c081576d7..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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md index d216482b451b..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 diff --git a/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md b/src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md index b24e6baf0897..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 diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md new file mode 100644 index 000000000000..c27ab55b1665 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinCompositePath.md @@ -0,0 +1,95 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version:https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlincompositepath +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinCompositePath + +## SYNOPSIS +Creates a new object of type PSCompositePath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph. + +## SYNTAX + +``` +New-AzCosmosDBGremlinCompositePath [-Path ] [-Order ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Gremlin API's CompositePath. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBGremlinCompositePath -Path "/abc" -Order Ascending + +Path Order +---- ----- +/abc Ascending +``` +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +Gets or sets sort order for composite paths. +Possible values include: 'Ascending', 'Descending' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +The path for which the indexing behavior applies to. +Index paths typically start with root and end with wildcard (/path/*) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md new file mode 100644 index 000000000000..fd8e74ebc969 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinConflictResolutionPolicy.md @@ -0,0 +1,108 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinconflictresolutionpolicy +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinConflictResolutionPolicy + +## SYNOPSIS +Creates a new object of type PSConflictResolutionPolicy. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph. + +## SYNTAX + +``` +New-AzCosmosDBGremlinConflictResolutionPolicy -Type [-Path ] + [-ConflictResolutionProcedure ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Gremlin API's ConflictResolutionPolicy. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBGremlinConflictResolutionPolicy -Type LastWriterWins -Path "/myPath" + +Mode ConflictResolutionPath ConflictResolutionProcedure +---- ---------------------- --------------------------- +LastWriterWins /myPath +``` +## PARAMETERS + +### -ConflictResolutionProcedure +To be provided when the type is custom. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +To be provided when the type is LastWriterWins. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Can have the values: LastWriterWins, Custom, Manual. + +```yaml +Type: System.String +Parameter Sets: (All) +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.PSConflictResolutionPolicy + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md new file mode 100644 index 000000000000..e27fcf00d328 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPath.md @@ -0,0 +1,94 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinincludedpath +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinIncludedPath + +## SYNOPSIS +Creates a new object of type PSIncludedPath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph. + +## SYNTAX + +``` +New-AzCosmosDBGremlinIncludedPath [-Path ] [-Index ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Gremlin API's IncludedPath. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> $index1 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash +New-AzCosmosDBGremlinIncludedPath -Path "/*" -Index $index1 +Path Indexes +---- ------- +/* {Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes} +``` +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Index +List of indexes for this path + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +The path for which the indexing behavior applies to. +Index paths typically start with root and end with wildcard (/path/*) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md new file mode 100644 index 000000000000..422199e64ddd --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIncludedPathIndex.md @@ -0,0 +1,111 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version:https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinincludedpathindex +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinIncludedPathIndex + +## SYNOPSIS +Creates a new object of type PSIndexes. It can be passed as a parameter value for Set-AzCosmosDBGremlinIncludedPath. + +## SYNTAX + +``` +New-AzCosmosDBGremlinIncludedPathIndex -DataType [-Precision ] -Kind + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Gremlin API's IncludedPath's Indexes. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash + +DataType Precision Kind +-------- --------- ---- +String -1 Hash +``` +## PARAMETERS + +### -DataType +Datatype for which the indexing behavior is applied to. +Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon' + +```yaml +Type: System.String +Parameter Sets: (All) +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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +Indicates the type of index. +Possible values include: 'Hash', 'Range', 'Spatial' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Precision +The precision of the index. +-1 is maximum precision. + +```yaml +Type: System.Nullable`1[System.Int32] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md new file mode 100644 index 000000000000..551940ac67bf --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinIndexingPolicy.md @@ -0,0 +1,170 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinindexingpolicy +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinIndexingPolicy + +## SYNOPSIS +Creates a new CosmosDB IndexingPolicy object. + +## SYNTAX + +``` +New-AzCosmosDBGremlinIndexingPolicy [-IncludedPath ] [-SpatialSpec ] + [-CompositePath ] [-ExcludedPath ] [-Automatic ] + [-IndexingMode ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +The **New-AzCosmosDBGremlinIndexingPolicy** cmdlet creates a new object of type PSIndexingPolicy. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> $ipath1 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash +PS C:\>> $ipath2 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash +PS C:\>> $IncludedPath = New-AzCosmosDBGremlinIncludedPath -Path "/*" -Index $ipath1, $ipath2 +PS C:\>> $SpatialSpec = New-AzCosmosDBGremlinSpatialSpec -Path "/mySpatialPath/*" -Type "Point", "LineString", "Polygon", "MultiPolygon" +PS C:\>> $cp1 = New-AzCosmosDBGremlinCompositePath -Path "/abc" -Order Ascending +PS C:\>> $cp2 = New-AzCosmosDBGremlinCompositePath -Path "/aberc" -Order Descending +PS C:\>> $compositePath = (($cp1, $cp2), ($cp2, $cp1)) +PS C:\>> New-AzCosmosDBGremlinIndexingPolicy -IncludedPath $IncludedPath -SpatialSpec $SpatialSpec -CompositePath $compositePath -ExcludedPath "/myPathToNotIndex/*" -Automatic 1 -IndexingMode Consistent + + +Automatic : True +IndexingMode : Consistent +IncludedPaths : {Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath} +ExcludedPaths : {Microsoft.Azure.Commands.CosmosDB.Models.PSExcludedPath} +CompositeIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath, + Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath} +SpatialIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -Automatic +Bool to indicate if the indexing policy is automatic + +```yaml +Type: System.Nullable`1[System.Boolean] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CompositePath +Array of array of objects of type Microsoft.Azure.Commands.CosmosDB.PSCompositePath + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath[][] +Parameter Sets: (All) +Aliases: + +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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedPath +Array of strings containing excludedPath(Specifies a path within a JSON document to be excluded in the Azure Cosmos DB service.) elements. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludedPath +Array of strings containing includedPath (Specifies a path within a JSON document to be included in the Azure Cosmos DB service.) elements. + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IndexingMode +Indicates the indexing mode. +Possible values include: 'Consistent', 'Lazy', 'None' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SpatialSpec +Array of objects of type Microsoft.Azure.Commands.CosmosDB.PSSpatialSpec + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSIndexingPolicy + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md new file mode 100644 index 000000000000..b3d39672f6d3 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinSpatialSpec.md @@ -0,0 +1,94 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinspatialspec +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinSpatialSpec + +## SYNOPSIS +Creates a new object of type PSSpatialSpec. It can be passed as a parameter value for Set-AzCosmosDBGremlinIndexingPolicy. + +## SYNTAX + +``` +New-AzCosmosDBGremlinSpatialSpec -Path -Type [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Creates Object corresponding to Gremlin API's SpatialSpec. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBGremlinSpatialSpec -Path "/abc" -Type String +Path Types +---- ----- +/abc {String} +``` + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +Path in JSON document to index. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Array of strings with acceptable values: Point, LineString, Polygon, MultiPolygon. +Represent's paths spatial type. + +```yaml +Type: System.String[] +Parameter Sets: (All) +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.PSSpatialSpec + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md new file mode 100644 index 000000000000..f543e4eb5f65 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKey.md @@ -0,0 +1,77 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinuniquekey +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinUniqueKey + +## SYNOPSIS +Creates a new CosmosDB UniqueKeyPolicy object. + +## SYNTAX + +``` +New-AzCosmosDBGremlinUniqueKey -Path [-DefaultProfile ] [] +``` + +## DESCRIPTION +The **New-AzCosmosDBGremlinUniqueKeyPolicy** cmdlet creates a new object of type PSUniqueKeyPolicy. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBGremlinUniqueKey -Path "abc" +UniqueKeys +---------- +{Microsoft.Azure.Commands.CosmosDB.Models.PSUniqueKey} +``` + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +Array of string of path values + +```yaml +Type: System.String[] +Parameter Sets: (All) +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.PSUniqueKey + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md new file mode 100644 index 000000000000..5e14bf614e17 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBGremlinUniqueKeyPolicy.md @@ -0,0 +1,82 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinuniquekeypolicy +schema: 2.0.0 +--- + +# New-AzCosmosDBGremlinUniqueKeyPolicy + +## SYNOPSIS +Creates a new CosmosDB UniqueKeyPolicy object. + +## SYNTAX + +``` +New-AzCosmosDBGremlinUniqueKeyPolicy -UniqueKey [-DefaultProfile ] + [] +``` + +## DESCRIPTION +The **New-AzCosmosDBGremlinUniqueKeyPolicy** cmdlet creates a new object of type PSUniqueKeyPolicy. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> $uk = New-AzCosmosDBGremlinUniqueKey -Path "abc" + + New-AzCosmosDBGremlinUniqueKeyPolicy -UniqueKey $uk,$uk + + UniqueKey +--------- +{Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUniqueKey, Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUniqueKey} +``` + + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UniqueKey +Array of objects of type PSUniqueKey. + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSUniqueKey[] +Parameter Sets: (All) +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.PSUniqueKeyPolicy + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md new file mode 100644 index 000000000000..99cff6a97504 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlCompositePath.md @@ -0,0 +1,95 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlcompositepath +schema: 2.0.0 +--- + +# New-AzCosmosDBSqlCompositePath + +## SYNOPSIS +Creates a new object of type PSCompositePath. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer. + +## SYNTAX + +``` +New-AzCosmosDBSqlCompositePath [-Path ] [-Order ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Object corresponding to Sql API's CompositePath. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBSqlCompositePath -Path "/abc" -Order Ascending + +Path Order +---- ----- +/abc Ascending +``` +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +Gets or sets sort order for composite paths. +Possible values include: 'Ascending', 'Descending' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +The path for which the indexing behavior applies to. +Index paths typically start with root and end with wildcard (/path/*) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md new file mode 100644 index 000000000000..fc4618ba3d78 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlConflictResolutionPolicy.md @@ -0,0 +1,111 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlconflictresolutionpolicy +schema: 2.0.0 +--- + +# New-AzCosmosDBSqlConflictResolutionPolicy + +## SYNOPSIS +Creates a new object of type PSSqlConflictResolutionPolicy. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer. + +## SYNTAX + +``` +New-AzCosmosDBSqlConflictResolutionPolicy -Type [-Path ] + [-ConflictResolutionProcedure ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Sql API's ConflictResolutionPolicy. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBSqlConflictResolutionPolicy -Type LastWriterWins -Path "/myPath" + +Mode ConflictResolutionPath ConflictResolutionProcedure +---- ---------------------- --------------------------- +LastWriterWins /myPath +``` + +{{ Add example description here }} + +## PARAMETERS + +### -ConflictResolutionProcedure +To be provided when the type is custom. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +To be provided when the type is LastWriterWins. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Can have the values: LastWriterWins, Custom, Manual. + +```yaml +Type: System.String +Parameter Sets: (All) +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.PSSqlConflictResolutionPolicy + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md new file mode 100644 index 000000000000..d954035c7ad7 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPath.md @@ -0,0 +1,97 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpath +schema: 2.0.0 +--- + +# New-AzCosmosDBSqlIncludedPath + +## SYNOPSIS +Creates a new object of type PSIncludedPath. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer. + +## SYNTAX + +``` +New-AzCosmosDBSqlIncludedPath [-Path ] [-Index ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Sql API's IncludedPath. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> $index1 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash +$index2 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash + +New-AzCosmosDBSqlIncludedPath -Path "/*" -Index $index1,$index2 + +Path Indexes +---- ------- +/* {Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes,Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes} +``` +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Index +List of indexes for this path + +```yaml +Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +The path for which the indexing behavior applies to. +Index paths typically start with root and end with wildcard (/path/*) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md new file mode 100644 index 000000000000..a7b6147186a6 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIncludedPathIndex.md @@ -0,0 +1,111 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlincludedpathindex +schema: 2.0.0 +--- + +# New-AzCosmosDBSqlIncludedPathIndex + +## SYNOPSIS +Creates a new object of type PSIndexes. It can be passed as a parameter value for Set-AzCosmosDBSqlIncludedPath. + +## SYNTAX + +``` +New-AzCosmosDBSqlIncludedPathIndex -DataType [-Precision ] -Kind + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Object corresponding to Sql API's IncludedPath's Indexes. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash +DataType Precision Kind +-------- --------- ---- +String -1 Hash + +``` +## PARAMETERS + +### -DataType +Datatype for which the indexing behavior is applied to. +Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon' + +```yaml +Type: System.String +Parameter Sets: (All) +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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +Indicates the type of index. +Possible values include: 'Hash', 'Range', 'Spatial' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Precision +The precision of the index. +-1 is maximum precision. + +```yaml +Type: System.Nullable`1[System.Int32] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md index 65c328e496cd..8e1ce2fcef17 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlIndexingPolicy.md @@ -25,11 +25,23 @@ The **New-AzCosmosDBSqlIndexingPolicy** cmdlet creates a new object of type PSSq ### Example 1 ```powershell -PS C:\> New-AzCosmosDBSqlIndexingPolicy -IncludedPath {includedPath1},{includedPath2},{includedPath3} -ExcludedPath {excludedPath1},{excludedPath2},{excludedPath3} -IndexingMode {indexingMode} +PS C:\> $ipath1 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash +PS C:\> $ipath2 = New-AzCosmosDBSqlIncludedPathIndex -DataType String -Precision -1 -Kind Hash +PS C:\> $IncludedPath = New-AzCosmosDBSqlIncludedPath -Path "/*" -Index $ipath1, $ipath2 +PS C:\> $SpatialSpec = New-AzCosmosDBSqlSpatialSpec -Path "/mySpatialPath/*" -Type "Point", "LineString", "Polygon", "MultiPolygon" +PS C:\> $cp1 = New-AzCosmosDBSqlCompositePath -Path "/abc" -Order Ascending +PS C:\> $cp2 = New-AzCosmosDBSqlCompositePath -Path "/aberc" -Order Descending +PS C:\> $compositePath = (($cp1, $cp2), ($cp2, $cp1)) +PS C:\> New-AzCosmosDBSqlIndexingPolicy -IncludedPath $IncludedPath -SpatialSpec $SpatialSpec -CompositePath $compositePath -ExcludedPath "/myPathToNotIndex/*" -Automatic 1 -IndexingMode Consistent + +Automatic : True +IndexingMode : Consistent +IncludedPaths : {Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath} +ExcludedPaths : {Microsoft.Azure.Commands.CosmosDB.Models.PSExcludedPath} +CompositeIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath, + Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath} +SpatialIndexes : {Microsoft.Azure.Commands.CosmosDB.Models.PSSpatialSpec} -Automatic IndexingMode IncludedPaths ExcludedPaths ---------- ------------ ------------- ------------- - k {includedPath1, includedPath2, includedPath3} {excludedPath1} ``` ## PARAMETERS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md new file mode 100644 index 000000000000..17294197d230 --- /dev/null +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlSpatialSpec.md @@ -0,0 +1,93 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml +Module Name: Az.CosmosDB +online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbsqlspatialspec +schema: 2.0.0 +--- + +# New-AzCosmosDBSqlSpatialSpec + +## SYNOPSIS +Creates a new object of type PSSpatialSpec. It can be passed as a parameter value for Set-AzCosmosDBSqlIndexingPolicy. + +## SYNTAX + +``` +New-AzCosmosDBSqlSpatialSpec -Path -Type [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Creates Object corresponding to Sql API's SpatialSpec. + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> New-AzCosmosDBSqlSpatialSpec -Path "/abc" -Type String +Path Types +---- ----- +/abc {String} +``` +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Path +Path in JSON document to index. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Array of strings with acceptable values: Point, LineString, Polygon, MultiPolygon. +Represent's paths spatial type. + +```yaml +Type: System.String[] +Parameter Sets: (All) +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.PSSpatialSpec + +## NOTES + +## RELATED LINKS diff --git a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md index e27a08a4fcc7..cac551092fb9 100644 --- a/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md +++ b/src/CosmosDB/CosmosDB/help/New-AzCosmosDBSqlUniqueKeyPolicy.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzCosmosDBSqlUniqueKeyPolicy ## SYNOPSIS -Creates a new CosmosDB Sql UniqueKeyPolicy object. +Creates a new CosmosDB SqlUniqueKeyPolicy object. ## SYNTAX @@ -18,7 +18,7 @@ New-AzCosmosDBSqlUniqueKeyPolicy -UniqueKey [-DefaultProfile ``` ## DESCRIPTION -The **New-AzCosmosDBSqlUniqueKeyPolicy** cmdlet creates a new object of type PSUniqueKeyPolicy. +The **New-AzCosmosDBSqlUniqueKeyPolicy** cmdlet creates a new object of type PSSqlUniqueKeyPolicy. ## EXAMPLES From d2baefea9cd4e5b5cabd350bdbb8547eca642871 Mon Sep 17 00:00:00 2001 From: Meha Kaushik Date: Wed, 5 Feb 2020 15:13:58 -0800 Subject: [PATCH 9/9] Edit ChangeLog --- ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog.md b/ChangeLog.md index 5c66c7e31aba..79387caf6976 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,7 @@ * 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