diff --git a/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/CosmosDBAccount.java b/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/CosmosDBAccount.java index d958bae3016..ba0346b3d94 100644 --- a/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/CosmosDBAccount.java +++ b/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/CosmosDBAccount.java @@ -8,6 +8,7 @@ import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.apigeneration.Beta.SinceVersion; +import com.microsoft.azure.management.apigeneration.Method; import com.microsoft.azure.management.cosmosdb.implementation.CosmosDBManager; import com.microsoft.azure.management.cosmosdb.implementation.DatabaseAccountInner; import com.microsoft.azure.management.resources.fluentcore.arm.Region; @@ -101,6 +102,13 @@ public interface CosmosDBAccount extends */ Observable listConnectionStringsAsync(); + /** + * @return a list that contains the Cosmos DB capabilities + */ + @Beta(SinceVersion.V1_10_0) + List capabilities(); + + /** * @param keyKind the key kind */ @@ -154,6 +162,61 @@ interface WithKind { * @return the next stage of the definition */ WithConsistencyPolicy withKind(DatabaseAccountKind kind); + + /** + * The database account kind for the CosmosDB account. + * + * @param kind the account kind + * @param capabilities the list of Cosmos DB capabilities for the account + * @return the next stage of the definition + */ + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withKind(DatabaseAccountKind kind, Capability... capabilities); + + /** + * Creates a SQL CosmosDB account. + * + * @return the next stage of the definition + */ + @Method + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withDataModelSql(); + + /** + * Creates a MongoDB CosmosDB account. + * + * @return the next stage of the definition + */ + @Method + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withDataModelMongoDB(); + + /** + * Creates a Cassandra CosmosDB account. + * + * @return the next stage of the definition + */ + @Method + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withDataModelCassandra(); + + /** + * Creates an Azure Table CosmosDB account. + * + * @return the next stage of the definition + */ + @Method + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withDataModelAzureTable(); + + /** + * Creates a Gremlin CosmosDB account. + * + * @return the next stage of the definition + */ + @Method + @Beta(SinceVersion.V1_10_0) + WithConsistencyPolicy withDataModelGremlin(); } /** @@ -234,7 +297,8 @@ interface WithCreate extends Creatable, WithConsistencyPolicy, WithReadReplication, - WithIpRangeFilter { + WithIpRangeFilter, + DefinitionWithTags { } } diff --git a/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/implementation/CosmosDBAccountImpl.java b/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/implementation/CosmosDBAccountImpl.java index 42cde243c02..92bc1d8d157 100644 --- a/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/implementation/CosmosDBAccountImpl.java +++ b/azure-mgmt-cosmosdb/src/main/java/com/microsoft/azure/management/cosmosdb/implementation/CosmosDBAccountImpl.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.cosmosdb.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.cosmosdb.Capability; import com.microsoft.azure.management.cosmosdb.CosmosDBAccount; import com.microsoft.azure.management.cosmosdb.DatabaseAccountKind; import com.microsoft.azure.management.cosmosdb.DatabaseAccountListConnectionStringsResult; @@ -23,6 +24,7 @@ import java.util.ArrayList; import java.util.Arrays; +import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.concurrent.TimeUnit; @@ -145,6 +147,15 @@ public DatabaseAccountListConnectionStringsResult call(DatabaseAccountListConnec }); } + @Override + public List capabilities() { + List capabilities = this.inner().capabilities(); + if (capabilities == null) { + capabilities = new ArrayList<>(); + } + return Collections.unmodifiableList(capabilities); + } + @Override public void regenerateKey(KeyKind keyKind) { this.regenerateKeyAsync(keyKind).toBlocking().last(); @@ -162,6 +173,52 @@ public CosmosDBAccountImpl withKind(DatabaseAccountKind kind) { return this; } + @Override + public CosmosDBAccountImpl withKind(DatabaseAccountKind kind, Capability... capabilities) { + this.inner().withKind(kind); + this.inner().withCapabilities(Arrays.asList(capabilities)); + return this; + } + + @Override + public CosmosDBAccountImpl withDataModelSql() { + this.inner().withKind(DatabaseAccountKind.GLOBAL_DOCUMENT_DB); + return this; + } + + @Override + public CosmosDBAccountImpl withDataModelMongoDB() { + this.inner().withKind(DatabaseAccountKind.MONGO_DB); + return this; + } + + @Override + public CosmosDBAccountImpl withDataModelCassandra() { + this.inner().withKind(DatabaseAccountKind.PARSE); + List capabilities = new ArrayList(); + capabilities.add(new Capability().withName("EnableCassandra")); + this.inner().withCapabilities(capabilities); + return this; + } + + @Override + public CosmosDBAccountImpl withDataModelAzureTable() { + this.inner().withKind(DatabaseAccountKind.PARSE); + List capabilities = new ArrayList(); + capabilities.add(new Capability().withName("EnableTable")); + this.inner().withCapabilities(capabilities); + return this; + } + + @Override + public CosmosDBAccountImpl withDataModelGremlin() { + this.inner().withKind(DatabaseAccountKind.PARSE); + List capabilities = new ArrayList(); + capabilities.add(new Capability().withName("EnableGremlin")); + this.inner().withCapabilities(capabilities); + return this; + } + @Override public CosmosDBAccountImpl withIpRangeFilter(String ipRangeFilter) { @@ -251,6 +308,7 @@ private DatabaseAccountCreateUpdateParametersInner createUpdateParametersInner(D DatabaseAccountOfferType.STANDARD.toString()); createUpdateParametersInner.withIpRangeFilter(inner.ipRangeFilter()); createUpdateParametersInner.withKind(inner.kind()); + createUpdateParametersInner.withCapabilities(inner.capabilities()); createUpdateParametersInner.withTags(inner.getTags()); this.addLocationsForCreateUpdateParameters(createUpdateParametersInner, this.failoverPolicies); return createUpdateParametersInner; diff --git a/azure-mgmt-cosmosdb/src/test/java/com/microsoft/azure/management/cosmosdb/CosmosDBTests.java b/azure-mgmt-cosmosdb/src/test/java/com/microsoft/azure/management/cosmosdb/CosmosDBTests.java new file mode 100644 index 00000000000..1ecd3a79fc0 --- /dev/null +++ b/azure-mgmt-cosmosdb/src/test/java/com/microsoft/azure/management/cosmosdb/CosmosDBTests.java @@ -0,0 +1,140 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.cosmosdb; + +import com.microsoft.azure.management.cosmosdb.implementation.CosmosDBManager; +import com.microsoft.azure.management.resources.core.TestBase; +import com.microsoft.azure.management.resources.fluentcore.arm.Region; +import com.microsoft.azure.management.resources.fluentcore.utils.SdkContext; +import com.microsoft.azure.management.resources.implementation.ResourceManager; +import com.microsoft.rest.RestClient; +import org.junit.Assert; +import org.junit.Test; + +import java.io.IOException; + +public class CosmosDBTests extends TestBase { + + private static String RG_NAME = ""; + protected ResourceManager resourceManager; + protected CosmosDBManager cosmosDBManager; +// final String sqlPrimaryServerName = SdkContext.randomResourceName("sqlpri", 22); + + public CosmosDBTests() { + super(TestBase.RunCondition.BOTH); + } + + @Override + protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) throws IOException { + RG_NAME = generateRandomResourceName("rgcosmosdb", 20); + resourceManager = ResourceManager + .authenticate(restClient) + .withSubscription(defaultSubscription); + + cosmosDBManager = CosmosDBManager.authenticate(restClient, defaultSubscription); + } + + @Override + protected void cleanUpResources() { + resourceManager.resourceGroups().beginDeleteByName(RG_NAME); + } + + @Test + public void CanCreateCosmosDbSqlAccount() { + final String cosmosDbAccountName = SdkContext.randomResourceName("cosmosdb", 22); + + CosmosDBAccount cosmosDBAccount = cosmosDBManager.databaseAccounts() + .define(cosmosDbAccountName) + .withRegion(Region.US_WEST_CENTRAL) + .withNewResourceGroup(RG_NAME) + .withDataModelSql() + .withEventualConsistency() + .withWriteReplication(Region.US_EAST) + .withReadReplication(Region.US_CENTRAL) + .withIpRangeFilter("") + .withTag("tag1", "value1") + .create(); + + Assert.assertEquals(cosmosDBAccount.name(), cosmosDbAccountName.toLowerCase()); + Assert.assertEquals(cosmosDBAccount.kind(), DatabaseAccountKind.GLOBAL_DOCUMENT_DB); + Assert.assertEquals(cosmosDBAccount.writableReplications().size(), 1); + Assert.assertEquals(cosmosDBAccount.readableReplications().size(), 2); + Assert.assertEquals(cosmosDBAccount.defaultConsistencyLevel(), DefaultConsistencyLevel.EVENTUAL); + } + + @Test + public void CanCreateCosmosDbMongoDBAccount() { + final String cosmosDbAccountName = SdkContext.randomResourceName("cosmosdb", 22); + + CosmosDBAccount cosmosDBAccount = cosmosDBManager.databaseAccounts() + .define(cosmosDbAccountName) + .withRegion(Region.US_WEST_CENTRAL) + .withNewResourceGroup(RG_NAME) + .withDataModelMongoDB() + .withEventualConsistency() + .withWriteReplication(Region.US_EAST) + .withReadReplication(Region.US_CENTRAL) + .withIpRangeFilter("") + .withTag("tag1", "value1") + .create(); + + Assert.assertEquals(cosmosDBAccount.name(), cosmosDbAccountName.toLowerCase()); + Assert.assertEquals(cosmosDBAccount.kind(), DatabaseAccountKind.MONGO_DB); + Assert.assertEquals(cosmosDBAccount.writableReplications().size(), 1); + Assert.assertEquals(cosmosDBAccount.readableReplications().size(), 2); + Assert.assertEquals(cosmosDBAccount.defaultConsistencyLevel(), DefaultConsistencyLevel.EVENTUAL); + } + + @Test + public void CanCreateCosmosDbCassandraAccount() { + final String cosmosDbAccountName = SdkContext.randomResourceName("cosmosdb", 22); + + CosmosDBAccount cosmosDBAccount = cosmosDBManager.databaseAccounts() + .define(cosmosDbAccountName) + .withRegion(Region.US_WEST_CENTRAL) + .withNewResourceGroup(RG_NAME) + .withDataModelCassandra() + .withEventualConsistency() + .withWriteReplication(Region.US_EAST) + .withReadReplication(Region.US_CENTRAL) + .withIpRangeFilter("") + .withTag("tag1", "value1") + .create(); + + Assert.assertEquals(cosmosDBAccount.name(), cosmosDbAccountName.toLowerCase()); + Assert.assertEquals(cosmosDBAccount.kind(), DatabaseAccountKind.PARSE); + Assert.assertEquals(cosmosDBAccount.capabilities().get(0).name(), "EnableCassandra"); + Assert.assertEquals(cosmosDBAccount.writableReplications().size(), 1); + Assert.assertEquals(cosmosDBAccount.readableReplications().size(), 2); + Assert.assertEquals(cosmosDBAccount.defaultConsistencyLevel(), DefaultConsistencyLevel.EVENTUAL); + } + + @Test + public void CanCreateCosmosDbAzureTableAccount() { + final String cosmosDbAccountName = SdkContext.randomResourceName("cosmosdb", 22); + + CosmosDBAccount cosmosDBAccount = cosmosDBManager.databaseAccounts() + .define(cosmosDbAccountName) + .withRegion(Region.US_WEST_CENTRAL) + .withNewResourceGroup(RG_NAME) + .withDataModelAzureTable() + .withEventualConsistency() + .withWriteReplication(Region.US_EAST) + .withReadReplication(Region.US_CENTRAL) + .withIpRangeFilter("") + .withTag("tag1", "value1") + .create(); + + Assert.assertEquals(cosmosDBAccount.name(), cosmosDbAccountName.toLowerCase()); + Assert.assertEquals(cosmosDBAccount.kind(), DatabaseAccountKind.PARSE); + Assert.assertEquals(cosmosDBAccount.capabilities().get(0).name(), "EnableTable"); + Assert.assertEquals(cosmosDBAccount.writableReplications().size(), 1); + Assert.assertEquals(cosmosDBAccount.readableReplications().size(), 2); + Assert.assertEquals(cosmosDBAccount.defaultConsistencyLevel(), DefaultConsistencyLevel.EVENTUAL); + } + +} diff --git a/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbAzureTableAccount.json b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbAzureTableAccount.json new file mode 100644 index 00000000000..278deb38874 --- /dev/null +++ b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbAzureTableAccount.json @@ -0,0 +1,552 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb672129530?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:55:15 GMT", + "content-length" : "198", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29117e13-b3f6-4457-8b3f-085de3f3990a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195515Z:29117e13-b3f6-4457-8b3f-085de3f3990a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "29117e13-b3f6-4457-8b3f-085de3f3990a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530\",\"name\":\"rgcosmosdb672129530\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:55:17 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1061", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0983bca4-c5c7-4725-9de1-a22955d6021a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195518Z:0983bca4-c5c7-4725-9de1-a22955d6021a", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd\",\"name\":\"cosmosdb498692139bd\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"Parse\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Initializing\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"failoverPolicies\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"capabilities\":[{\"name\":\"EnableTable\"}]}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:55:18 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c3b42bb9-d1f0-4ec1-bf51-e3ce9f601051", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195519Z:c3b42bb9-d1f0-4ec1-bf51-e3ce9f601051", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Enqueued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:55:48 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad2dabbb-7be5-4c2f-b42d-a2ed1b4d41fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195549Z:ad2dabbb-7be5-4c2f-b42d-a2ed1b4d41fa", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:56:18 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "007ee905-7c4b-4ec0-b3c9-b269c728bf9c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195619Z:007ee905-7c4b-4ec0-b3c9-b269c728bf9c", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:56:49 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14994", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4fb2f86e-658b-43be-87a0-5c6ea9559432", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195649Z:4fb2f86e-658b-43be-87a0-5c6ea9559432", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:57:18 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14993", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2a343d30-a49c-42a6-a1d0-cbf534e0993c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195719Z:2a343d30-a49c-42a6-a1d0-cbf534e0993c", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:57:49 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14992", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71990526-8928-4c70-8a7f-65799bf3da90", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195749Z:71990526-8928-4c70-8a7f-65799bf3da90", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:58:19 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b8dee59c-454d-4c87-899a-4baebf7e634f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195819Z:b8dee59c-454d-4c87-899a-4baebf7e634f", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:58:49 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "50663733-c51d-4fba-99a9-e3fbc6788cbd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195849Z:50663733-c51d-4fba-99a9-e3fbc6788cbd", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:59:19 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cca86179-5e42-42ee-99eb-7df9ea25d894", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195920Z:cca86179-5e42-42ee-99eb-7df9ea25d894", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:59:49 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5667046a-276d-4f19-89a4-23062a523c28", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195950Z:5667046a-276d-4f19-89a4-23062a523c28", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:00:19 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14987", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3685ae9d-df70-41c5-ab14-146f1a7d940a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200020Z:3685ae9d-df70-41c5-ab14-146f1a7d940a", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:00:49 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14986", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2b3fa2e2-a3b8-403d-8cb6-5a1aa0775e92", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200050Z:2b3fa2e2-a3b8-403d-8cb6-5a1aa0775e92", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:01:20 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14985", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0af6f416-c5d5-42d4-a794-efb29131d674", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200120Z:0af6f416-c5d5-42d4-a794-efb29131d674", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:01:50 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14984", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "26ec3fe0-3ea2-4369-8fe8-142b88da6d96", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200151Z:26ec3fe0-3ea2-4369-8fe8-142b88da6d96", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:02:20 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14983", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "84ab2be2-3485-4643-8fa0-6aa04ce6e8c3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200221Z:84ab2be2-3485-4643-8fa0-6aa04ce6e8c3", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:02:50 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14982", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "62556b0c-f956-40ec-9c35-a2a738b0d9a1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200251Z:62556b0c-f956-40ec-9c35-a2a738b0d9a1", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "6a2ccce3-7b56-4aee-8d3d-809ebf891fb5", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:03:21 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "33", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14981", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "90287e15-ae4e-4d48-89f6-c43aa25ea312", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200321Z:90287e15-ae4e-4d48-89f6-c43aa25ea312", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd/operationResults/6a2ccce3-7b56-4aee-8d3d-809ebf891fb5?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "90287e15-ae4e-4d48-89f6-c43aa25ea312", + "Body" : "{\"status\":\"Succeeded\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:03:21 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1681", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14980", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f1cee3f3-97c6-4acd-ac83-8615c0ea23b9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200321Z:f1cee3f3-97c6-4acd-ac83-8615c0ea23b9", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "f1cee3f3-97c6-4acd-ac83-8615c0ea23b9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb672129530/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb498692139bd\",\"name\":\"cosmosdb498692139bd\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"Parse\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb498692139bd.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb498692139bd.table.cosmosdb.azure.com:443/\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb498692139bd-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb498692139bd-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0},{\"id\":\"cosmosdb498692139bd-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb498692139bd-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1}],\"failoverPolicies\":[{\"id\":\"cosmosdb498692139bd-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb498692139bd-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"capabilities\":[{\"name\":\"EnableTable\"}]}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb672129530?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 20:03:22 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b1e298c3-3c17-4aeb-a55b-17d0d27acc80", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T200322Z:b1e298c3-3c17-4aeb-a55b-17d0d27acc80", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNjcyMTI5NTMwLVdFU1RDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Indlc3RjZW50cmFsdXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1e298c3-3c17-4aeb-a55b-17d0d27acc80", + "Body" : "" + } + } ], + "variables" : [ "rgcosmosdb672129530", "cosmosdb498692139bd", "fce0e14e-9c27-45b6-bcc0-18f151c690bc", "3ae1814b-51b0-404b-87ff-67330a2564f0", "03b8c010-e81d-4e78-b307-5bfaac8d3220" ] +} \ No newline at end of file diff --git a/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbCassandraAccount.json b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbCassandraAccount.json new file mode 100644 index 00000000000..455e4f67575 --- /dev/null +++ b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbCassandraAccount.json @@ -0,0 +1,552 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb7bc714538?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:42:00 GMT", + "content-length" : "198", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b8d6f24d-085b-4ece-90ba-e6213d2d2bbe", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194201Z:b8d6f24d-085b-4ece-90ba-e6213d2d2bbe", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b8d6f24d-085b-4ece-90ba-e6213d2d2bbe", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538\",\"name\":\"rgcosmosdb7bc714538\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:42:02 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1065", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4b322f1d-81df-40e8-9504-9b7af22c3c28", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194203Z:4b322f1d-81df-40e8-9504-9b7af22c3c28", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd\",\"name\":\"cosmosdb9a2165891cd\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"Parse\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Initializing\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"failoverPolicies\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"capabilities\":[{\"name\":\"EnableCassandra\"}]}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:42:03 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14978", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "03d98480-2f4c-486a-9735-6a686413efa4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194203Z:03d98480-2f4c-486a-9735-6a686413efa4", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Enqueued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:42:33 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14977", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3926af09-4d24-4ac4-ab3d-845137033fa6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194234Z:3926af09-4d24-4ac4-ab3d-845137033fa6", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:43:03 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14976", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1b16fd79-6a27-4fd2-bcbd-defe090420f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194304Z:1b16fd79-6a27-4fd2-bcbd-defe090420f4", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:43:33 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14975", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "986aa139-d90a-423b-b0e3-2c8f73dfff76", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194334Z:986aa139-d90a-423b-b0e3-2c8f73dfff76", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:44:04 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14974", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "424e0d76-9920-4f9d-9016-a7842fdee4fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194404Z:424e0d76-9920-4f9d-9016-a7842fdee4fa", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:44:33 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14973", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0a3097e2-aba7-4467-9d4e-90385380f3f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194434Z:0a3097e2-aba7-4467-9d4e-90385380f3f6", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:45:04 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14972", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "572f5239-e519-4990-bee2-6f311d0cb0bc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194504Z:572f5239-e519-4990-bee2-6f311d0cb0bc", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:45:34 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14971", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4130a345-bfd6-4527-a7f5-c1630f87b220", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194534Z:4130a345-bfd6-4527-a7f5-c1630f87b220", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:46:04 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14970", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5d069b09-9e6e-4fef-bd17-579e6539f0e4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194604Z:5d069b09-9e6e-4fef-bd17-579e6539f0e4", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:46:34 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14969", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "594cf0f6-0380-442d-a232-860a24cc1221", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194635Z:594cf0f6-0380-442d-a232-860a24cc1221", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:47:04 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14968", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "45deef17-dd09-473b-9c85-82cf20a99590", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194705Z:45deef17-dd09-473b-9c85-82cf20a99590", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:47:35 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14967", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "edae592d-2920-4c29-93ce-a86f22da4dc3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194735Z:edae592d-2920-4c29-93ce-a86f22da4dc3", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:48:05 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14966", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a8fb4abc-f307-412c-ba45-5c2ce9dc224e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194805Z:a8fb4abc-f307-412c-ba45-5c2ce9dc224e", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:48:35 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14965", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1726f28b-e597-47d8-9fae-1f22fda9ddc9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194835Z:1726f28b-e597-47d8-9fae-1f22fda9ddc9", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:49:05 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14964", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "96be92b4-0b2a-4412-8f5d-f124345fc104", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194906Z:96be92b4-0b2a-4412-8f5d-f124345fc104", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:49:35 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14963", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dfad233a-7bf6-41c3-9e38-559c8bd09d37", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T194936Z:dfad233a-7bf6-41c3-9e38-559c8bd09d37", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "b90b3314-3c23-401d-aa38-ce5d41bd5d39", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:50:06 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "33", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14962", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "681445be-e314-47bd-be9a-217c7ca9ea5e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195006Z:681445be-e314-47bd-be9a-217c7ca9ea5e", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd/operationResults/b90b3314-3c23-401d-aa38-ce5d41bd5d39?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "681445be-e314-47bd-be9a-217c7ca9ea5e", + "Body" : "{\"status\":\"Succeeded\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:50:06 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1693", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14961", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0bd7b209-77ab-4b96-99f9-53737d7e253b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195006Z:0bd7b209-77ab-4b96-99f9-53737d7e253b", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "0bd7b209-77ab-4b96-99f9-53737d7e253b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb7bc714538/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb9a2165891cd\",\"name\":\"cosmosdb9a2165891cd\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"Parse\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb9a2165891cd.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb9a2165891cd.cassandra.cosmosdb.azure.com:443/\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb9a2165891cd-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb9a2165891cd-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0},{\"id\":\"cosmosdb9a2165891cd-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb9a2165891cd-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1}],\"failoverPolicies\":[{\"id\":\"cosmosdb9a2165891cd-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb9a2165891cd-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"capabilities\":[{\"name\":\"EnableCassandra\"}]}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb7bc714538?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 19:53:48 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ea27a512-9387-4cd4-b060-a7a345032422", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T195348Z:ea27a512-9387-4cd4-b060-a7a345032422", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCN0JDNzE0NTM4LVdFU1RDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Indlc3RjZW50cmFsdXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "ea27a512-9387-4cd4-b060-a7a345032422", + "Body" : "" + } + } ], + "variables" : [ "rgcosmosdb7bc714538", "cosmosdb9a2165891cd", "4f69aaab-0a71-4b49-84e0-02b9c1bdbde2", "e48759bd-30ce-47e9-a802-b40e3f8d0e59", "91886f80-b685-4137-821f-9ee4ec1ff65a" ] +} \ No newline at end of file diff --git a/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbMongoDBAccount.json b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbMongoDBAccount.json new file mode 100644 index 00000000000..6d21c0e4002 --- /dev/null +++ b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbMongoDBAccount.json @@ -0,0 +1,526 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb67a77046a?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:33:17 GMT", + "content-length" : "198", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cd1e659a-073f-4b32-8029-f9623b33b7e0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183317Z:cd1e659a-073f-4b32-8029-f9623b33b7e0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cd1e659a-073f-4b32-8029-f9623b33b7e0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a\",\"name\":\"rgcosmosdb67a77046a\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:33:20 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1041", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bb3789ab-7042-4a6d-9193-26728adea383", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183320Z:bb3789ab-7042-4a6d-9193-26728adea383", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4\",\"name\":\"cosmosdbf69772638c4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Initializing\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"failoverPolicies\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"capabilities\":[]}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:33:20 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "24548048-d8be-44ef-b269-199b71e21001", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183321Z:24548048-d8be-44ef-b269-199b71e21001", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Enqueued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:33:50 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ecd5266c-7c28-4736-93de-5666e51e0bed", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183351Z:ecd5266c-7c28-4736-93de-5666e51e0bed", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:34:20 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "54fbac4a-5af5-4df8-8ca3-c2fb9c896a6c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183421Z:54fbac4a-5af5-4df8-8ca3-c2fb9c896a6c", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:34:51 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1685a06b-4c1f-492c-9549-256beb1718aa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183451Z:1685a06b-4c1f-492c-9549-256beb1718aa", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:35:20 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a357772d-5696-43c2-80f8-af14f34f9c1b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183521Z:a357772d-5696-43c2-80f8-af14f34f9c1b", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:35:51 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14994", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b93a03bb-3c89-44c7-b9a5-305bd2e494e5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183551Z:b93a03bb-3c89-44c7-b9a5-305bd2e494e5", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:36:21 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14993", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e5331f6-5e07-4489-bf18-23f5e6a14265", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183621Z:0e5331f6-5e07-4489-bf18-23f5e6a14265", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:36:51 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14992", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cfb65702-94d9-4923-8573-d4c6f93ce1a0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183652Z:cfb65702-94d9-4923-8573-d4c6f93ce1a0", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:37:21 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14991", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9df5f729-31aa-498a-a3c8-f6fa26b0bbfb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183722Z:9df5f729-31aa-498a-a3c8-f6fa26b0bbfb", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:37:51 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14990", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cf73657c-ca9a-42c8-9cb0-8efd6f25db9d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183752Z:cf73657c-ca9a-42c8-9cb0-8efd6f25db9d", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:38:21 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14989", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9a0e1bc2-f3c2-47a8-bf99-ed39afeec661", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183822Z:9a0e1bc2-f3c2-47a8-bf99-ed39afeec661", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:38:52 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14988", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ceb85047-c5e3-4ad1-8a2a-da6998861e01", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183852Z:ceb85047-c5e3-4ad1-8a2a-da6998861e01", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:39:22 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14987", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b20000a8-fb0a-4402-8cad-a599cc0a18ff", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183922Z:b20000a8-fb0a-4402-8cad-a599cc0a18ff", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:39:51 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14986", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0f8cc1fc-1a5e-4042-aba0-46eb55a9091b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183952Z:0f8cc1fc-1a5e-4042-aba0-46eb55a9091b", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:40:22 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14985", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0fd7e804-790c-424e-96ae-f24033eb2250", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T184023Z:0fd7e804-790c-424e-96ae-f24033eb2250", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "828e375b-f97d-4bab-b63f-7be8eda55fe9", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:40:52 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "33", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14984", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "abea930d-f637-46e0-88bd-a5e79177e697", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T184053Z:abea930d-f637-46e0-88bd-a5e79177e697", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4/operationResults/828e375b-f97d-4bab-b63f-7be8eda55fe9?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "abea930d-f637-46e0-88bd-a5e79177e697", + "Body" : "{\"status\":\"Succeeded\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:40:52 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1585", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14983", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "553cc37b-7465-460d-b3da-df9a27b24459", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T184053Z:553cc37b-7465-460d-b3da-df9a27b24459", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "553cc37b-7465-460d-b3da-df9a27b24459", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb67a77046a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbf69772638c4\",\"name\":\"cosmosdbf69772638c4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdbf69772638c4.documents.azure.com:443/\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdbf69772638c4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdbf69772638c4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0},{\"id\":\"cosmosdbf69772638c4-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdbf69772638c4-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1}],\"failoverPolicies\":[{\"id\":\"cosmosdbf69772638c4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdbf69772638c4-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"capabilities\":[]}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb67a77046a?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:40:53 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9489e614-908e-485d-956e-ea93218b0a79", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T184053Z:9489e614-908e-485d-956e-ea93218b0a79", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNjdBNzcwNDZBLVdFU1RDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Indlc3RjZW50cmFsdXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "9489e614-908e-485d-956e-ea93218b0a79", + "Body" : "" + } + } ], + "variables" : [ "rgcosmosdb67a77046a", "cosmosdbf69772638c4", "c686af88-2d46-45bb-aeb0-ae82bf14a001", "71f2dac9-1519-4e39-8c7c-dbd83bb068cc", "ccaa0567-6e08-4c32-93d5-4653b5f649ea" ] +} \ No newline at end of file diff --git a/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbSqlAccount.json b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbSqlAccount.json new file mode 100644 index 00000000000..afe66a180c2 --- /dev/null +++ b/azure-mgmt-cosmosdb/src/test/resources/session-records/CanCreateCosmosDbSqlAccount.json @@ -0,0 +1,578 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb6c3125484?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:23:07 GMT", + "content-length" : "198", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a512c8b4-b482-45dd-8c20-033e3a7cd518", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182308Z:a512c8b4-b482-45dd-8c20-033e3a7cd518", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a512c8b4-b482-45dd-8c20-033e3a7cd518", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484\",\"name\":\"rgcosmosdb6c3125484\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:23:11 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1050", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "272dc122-9c7f-46e4-91cb-516eff424cd5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182311Z:272dc122-9c7f-46e4-91cb-516eff424cd5", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32\",\"name\":\"cosmosdb88e83866f32\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Initializing\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Initializing\",\"failoverPriority\":0}],\"failoverPolicies\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"capabilities\":[]}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:23:11 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14957", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4e140020-09da-4456-8ddd-1c315ac2bd18", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182311Z:4e140020-09da-4456-8ddd-1c315ac2bd18", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Enqueued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:23:41 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14956", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7e0bd432-bd70-4007-a880-79bbfbbb383a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182342Z:7e0bd432-bd70-4007-a880-79bbfbbb383a", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:24:12 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14955", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5371abf7-4350-4e38-88aa-323479e90cce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182412Z:5371abf7-4350-4e38-88aa-323479e90cce", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:24:42 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14954", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "40531d90-eb11-4a84-87b7-1d7be1972d16", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182442Z:40531d90-eb11-4a84-87b7-1d7be1972d16", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:25:11 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14953", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fc9bb298-39f6-49c1-adec-f9ad0331422b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182512Z:fc9bb298-39f6-49c1-adec-f9ad0331422b", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:25:42 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14952", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "706ab0dc-4378-4a5b-b537-a8af8e9e5985", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182542Z:706ab0dc-4378-4a5b-b537-a8af8e9e5985", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:26:12 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14951", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4932f064-559c-4924-b149-7ac90bdb5de7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182612Z:4932f064-559c-4924-b149-7ac90bdb5de7", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:26:42 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14950", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ec361ead-8a13-4715-9c0a-a2ed17cf6958", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182642Z:ec361ead-8a13-4715-9c0a-a2ed17cf6958", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:27:12 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14949", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d07801da-b464-4966-b469-9357bd70cc85", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182713Z:d07801da-b464-4966-b469-9357bd70cc85", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:27:42 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14948", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "370dada5-c6e5-40ad-ba0e-562d6596aed1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182743Z:370dada5-c6e5-40ad-ba0e-562d6596aed1", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:28:12 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14947", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "41a1a131-0249-4939-ae15-09cbe7a11c93", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182813Z:41a1a131-0249-4939-ae15-09cbe7a11c93", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:28:43 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14946", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad8a199a-4101-4b88-958a-35de75ee6113", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182843Z:ad8a199a-4101-4b88-958a-35de75ee6113", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:29:12 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14945", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bba09440-0c10-4a37-b380-9164ae32c3ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182913Z:bba09440-0c10-4a37-b380-9164ae32c3ba", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:29:43 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14944", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8afaf630-d342-45ac-9705-f05edf37b117", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T182943Z:8afaf630-d342-45ac-9705-f05edf37b117", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:30:13 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14943", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d3e0cfbf-42f2-49ec-8dc7-ec6d5130c9e2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183013Z:d3e0cfbf-42f2-49ec-8dc7-ec6d5130c9e2", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:30:43 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14942", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ac36090b-4390-4691-851d-6540f5a89b91", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183043Z:ac36090b-4390-4691-851d-6540f5a89b91", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:31:14 GMT", + "content-length" : "32", + "server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "232f6f96-7f8a-41af-9eb7-b3a595e739d1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183114Z:232f6f96-7f8a-41af-9eb7-b3a595e739d1", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "8f2031db-e98f-4246-b40b-ec5998574062", + "Body" : "{\"status\":\"Dequeued\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:31:43 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "33", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "01319d77-8a26-4947-8577-103efdbdf790", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183144Z:01319d77-8a26-4947-8577-103efdbdf790", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32/operationResults/8f2031db-e98f-4246-b40b-ec5998574062?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "01319d77-8a26-4947-8577-103efdbdf790", + "Body" : "{\"status\":\"Succeeded\",\"error\":{}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32?api-version=2015-04-08", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (CosmosDB, 2015-04-08)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:31:44 GMT", + "server" : "Microsoft-HTTPAPI/2.0", + "content-length" : "1569", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f0135899-666d-4730-be41-9b8498a602ec", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183144Z:f0135899-666d-4730-be41-9b8498a602ec", + "x-ms-gatewayversion" : "version=1.21.0.0", + "content-location" : "https://management.documents.azure.com:450/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32?api-version=2015-04-08", + "content-type" : "application/json", + "cache-control" : "no-store, no-cache", + "x-ms-request-id" : "f0135899-666d-4730-be41-9b8498a602ec", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6c3125484/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88e83866f32\",\"name\":\"cosmosdb88e83866f32\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb88e83866f32.documents.azure.com:443/\",\"ipRangeFilter\":\"\",\"enableAutomaticFailover\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88e83866f32-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0}],\"readLocations\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88e83866f32-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0},{\"id\":\"cosmosdb88e83866f32-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb88e83866f32-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1}],\"failoverPolicies\":[{\"id\":\"cosmosdb88e83866f32-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb88e83866f32-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"capabilities\":[]}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb6c3125484?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Mac OS X/10.13.4 MacAddressHash:2d8cd551accb4e60044e2ac495655484879762264b5dfa96c61b1a8bcb2928c3 Java:1.8.0_102 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Tue, 24 Apr 2018 18:31:45 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f031ac71-38e6-4a37-82f8-5864b41330a7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180424T183145Z:f031ac71-38e6-4a37-82f8-5864b41330a7", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNkMzMTI1NDg0LVdFU1RDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Indlc3RjZW50cmFsdXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "f031ac71-38e6-4a37-82f8-5864b41330a7", + "Body" : "" + } + } ], + "variables" : [ "rgcosmosdb6c3125484", "cosmosdb88e83866f32", "a43241f1-e576-4005-8253-c9f56bc5973c", "17909213-20c8-4370-9ebe-89389d401d3e", "0f3da2f5-7454-4e82-a1c8-58fe8126e94b" ] +} \ No newline at end of file