diff --git a/scripts/sdk_process/patch_models.py b/scripts/sdk_process/patch_models.py index 5b2f88af152..619cdc1590c 100644 --- a/scripts/sdk_process/patch_models.py +++ b/scripts/sdk_process/patch_models.py @@ -231,8 +231,9 @@ def find_autorest_generated_folder(module_prefix="azure.mgmt"): 'azure.mgmt.compute', 'azure.mgmt.network', 'azure.mgmt.monitor', - 'azure-mgmt-loganalytics' - 'azure.mgmt.rdbms' + 'azure.mgmt.loganalytics', + 'azure.mgmt.rdbms', + 'azure.mgmt.cosmosdb' ] prefix = sys.argv[1] if len(sys.argv) >= 2 else "azure.mgmt" for autorest_package in find_autorest_generated_folder(prefix): diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/_help.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/_help.py index 0fe00d9e2e7..80077dd15b7 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/_help.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/_help.py @@ -391,6 +391,14 @@ crafted: true """ +helps['cosmosdb keys regenerate'] = """ +type: command +short-summary: Regenerate an access key for a Azure Cosmos DB database account. +examples: + - name: Regenerate primaryReadonly access key for a Azure Cosmos DB database account. + text: az cosmosdb keys regenerate --key-kind primaryReadonly --name MyCosmosDBDatabaseAccount --resource-group MyResourceGroup --subscription MySubscription +""" + helps['cosmosdb list'] = """ type: command short-summary: List Azure Cosmos DB database accounts. diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py index 9ab73deb69d..5c8fd30ede3 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py @@ -84,10 +84,11 @@ def load_arguments(self, _): for scope in ['cosmosdb regenerate-key', 'cosmosdb keys regenerate']: with self.argument_context(scope) as c: - c.argument('key_kind', arg_type=get_enum_type(KeyKind)) + c.argument('key_kind', arg_type=get_enum_type(KeyKind), help="The access key to regenerate.") with self.argument_context('cosmosdb failover-priority-change') as c: - c.argument('failover_policies', validator=validate_failover_policies, help="space-separated failover policies in 'regionName=failoverPriority' format. E.g eastus=0 westus=1", nargs='+') + c.argument('failover_parameters', options_list=['--failover-policies'], validator=validate_failover_policies, + help="space-separated failover policies in 'regionName=failoverPriority' format. E.g eastus=0 westus=1", nargs='+') with self.argument_context('cosmosdb network-rule list') as c: c.argument('account_name', id_part=None) diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/_transformers.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/_transformers.py new file mode 100644 index 00000000000..b8803d04e66 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/_transformers.py @@ -0,0 +1,33 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.util import todict + + +def transform_network_rule_json_output(result): + result = todict(result) + result['ignoreMissingVnetServiceEndpoint'] = result.pop('ignoreMissingVNetServiceEndpoint', None) + del result['additionalProperties'] + return result + + +def transform_network_rule_list_output(result): + new_result = [] + for item in result: + new_result.append(transform_network_rule_json_output(item)) + return new_result + + +def transform_db_account_json_output(result): + if hasattr(result, 'virtual_network_rules') and result.virtual_network_rules: + result.virtual_network_rules = transform_network_rule_list_output(result.virtual_network_rules) + return result + + +def transform_db_account_list_output(result): + new_result = [] + for item in result: + new_result.append(transform_db_account_json_output(item)) + return new_result diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/_validators.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/_validators.py index a5dddb69d06..a7cf4d6ba0d 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/_validators.py @@ -8,12 +8,12 @@ def validate_failover_policies(ns): """ Extracts multiple space-separated failoverPolicies in regionName=failoverPriority format """ - from azure.mgmt.cosmosdb.models import FailoverPolicy + from azure.mgmt.cosmosdb.models import FailoverPolicy, FailoverPolicies fp_dict = [] - for item in ns.failover_policies: + for item in ns.failover_parameters: comps = item.split('=', 1) fp_dict.append(FailoverPolicy(location_name=comps[0], failover_priority=int(comps[1]))) - ns.failover_policies = fp_dict + ns.failover_parameters = FailoverPolicies(failover_policies=fp_dict) def validate_ip_range_filter(ns): diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/commands.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/commands.py index a422c4e1798..783eedd352f 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/commands.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/commands.py @@ -27,6 +27,12 @@ list_connection_strings_output ) +from azure.cli.command_modules.cosmosdb._transformers import ( + transform_network_rule_list_output, + transform_db_account_json_output, + transform_db_account_list_output +) + from ._validators import ( validate_private_endpoint_connection_id ) @@ -71,17 +77,17 @@ def load_command_table(self, _): client_factory=cf_table_resources) with self.command_group('cosmosdb', cosmosdb_sdk, client_factory=cf_db_accounts) as g: - g.show_command('show', 'get') + g.show_command('show', 'get', transform=transform_db_account_json_output) g.command('list-keys', 'list_keys', deprecate_info=g.deprecate(redirect='cosmosdb keys list', hide=True)) g.command('list-read-only-keys', 'list_read_only_keys', deprecate_info=g.deprecate(redirect='cosmosdb keys list --type read-only-keys', hide=True)) g.command('list-connection-strings', 'list_connection_strings', table_transformer=list_connection_strings_output, deprecate_info=g.deprecate(redirect='cosmosdb keys list --type connection-strings', hide=True)) - g.command('regenerate-key', 'regenerate_key', deprecate_info=g.deprecate(redirect='cosmosdb keys regenerate', hide=True)) + g.custom_command('regenerate-key', 'cli_cosmosdb_regenerate_key', deprecate_info=g.deprecate(redirect='cosmosdb keys regenerate', hide=True)) g.command('check-name-exists', 'check_name_exists') - g.command('delete', 'delete', confirmation=True) - g.command('failover-priority-change', 'failover_priority_change') - g.custom_command('create', 'cli_cosmosdb_create') - g.custom_command('update', 'cli_cosmosdb_update') - g.custom_command('list', 'cli_cosmosdb_list') + g.command('delete', 'begin_delete', confirmation=True) + g.command('failover-priority-change', 'begin_failover_priority_change') + g.custom_command('create', 'cli_cosmosdb_create', transform=transform_db_account_json_output) + g.custom_command('update', 'cli_cosmosdb_update', transform=transform_db_account_json_output) + g.custom_command('list', 'cli_cosmosdb_list', transform=transform_db_account_list_output) with self.command_group('cosmosdb private-endpoint-connection', cosmosdb_private_endpoint_connections_sdk, @@ -90,7 +96,7 @@ def load_command_table(self, _): validator=validate_private_endpoint_connection_id) g.custom_command('reject', 'reject_private_endpoint_connection', validator=validate_private_endpoint_connection_id) - g.command('delete', 'delete', validator=validate_private_endpoint_connection_id) + g.command('delete', 'begin_delete', validator=validate_private_endpoint_connection_id) g.show_command('show', 'get', validator=validate_private_endpoint_connection_id) with self.command_group('cosmosdb private-link-resource', @@ -107,7 +113,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_sql_database_exists') g.command('list', 'list_sql_databases') g.show_command('show', 'get_sql_database') - g.command('delete', 'delete_sql_database', confirmation=True) + g.command('delete', 'begin_delete_sql_database', confirmation=True) with self.command_group('cosmosdb sql container', cosmosdb_sql_sdk, client_factory=cf_sql_resources) as g: g.custom_command('create', 'cli_cosmosdb_sql_container_create') @@ -115,28 +121,28 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_sql_container_exists') g.command('list', 'list_sql_containers') g.show_command('show', 'get_sql_container') - g.command('delete', 'delete_sql_container', confirmation=True) + g.command('delete', 'begin_delete_sql_container', confirmation=True) with self.command_group('cosmosdb sql stored-procedure', cosmosdb_sql_sdk, client_factory=cf_sql_resources) as g: g.custom_command('create', 'cli_cosmosdb_sql_stored_procedure_create_update') g.custom_command('update', 'cli_cosmosdb_sql_stored_procedure_create_update') g.command('list', 'list_sql_stored_procedures') g.show_command('show', 'get_sql_stored_procedure') - g.command('delete', 'delete_sql_stored_procedure', confirmation=True) + g.command('delete', 'begin_delete_sql_stored_procedure', confirmation=True) with self.command_group('cosmosdb sql trigger', cosmosdb_sql_sdk, client_factory=cf_sql_resources) as g: g.custom_command('create', 'cli_cosmosdb_sql_trigger_create') g.custom_command('update', 'cli_cosmosdb_sql_trigger_update') g.command('list', 'list_sql_triggers') g.show_command('show', 'get_sql_trigger') - g.command('delete', 'delete_sql_trigger', confirmation=True) + g.command('delete', 'begin_delete_sql_trigger', confirmation=True) with self.command_group('cosmosdb sql user-defined-function', cosmosdb_sql_sdk, client_factory=cf_sql_resources) as g: g.custom_command('create', 'cli_cosmosdb_sql_user_defined_function_create_update') g.custom_command('update', 'cli_cosmosdb_sql_user_defined_function_create_update') g.command('list', 'list_sql_user_defined_functions') g.show_command('show', 'get_sql_user_defined_function') - g.command('delete', 'delete_sql_user_defined_function', confirmation=True) + g.command('delete', 'begin_delete_sql_user_defined_function', confirmation=True) # MongoDB api with self.command_group('cosmosdb mongodb'): @@ -146,7 +152,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_mongodb_database_exists') g.command('list', 'list_mongo_db_databases') g.show_command('show', 'get_mongo_db_database') - g.command('delete', 'delete_mongo_db_database', confirmation=True) + g.command('delete', 'begin_delete_mongo_db_database', confirmation=True) with self.command_group('cosmosdb mongodb collection', cosmosdb_mongo_sdk, client_factory=cf_mongo_db_resources) as g: g.custom_command('create', 'cli_cosmosdb_mongodb_collection_create') @@ -154,7 +160,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_mongodb_collection_exists') g.command('list', 'list_mongo_db_collections') g.show_command('show', 'get_mongo_db_collection') - g.command('delete', 'delete_mongo_db_collection', confirmation=True) + g.command('delete', 'begin_delete_mongo_db_collection', confirmation=True) # Cassandra api with self.command_group('cosmosdb cassandra'): @@ -164,7 +170,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_cassandra_keyspace_exists') g.command('list', 'list_cassandra_keyspaces') g.show_command('show', 'get_cassandra_keyspace') - g.command('delete', 'delete_cassandra_keyspace', confirmation=True) + g.command('delete', 'begin_delete_cassandra_keyspace', confirmation=True) with self.command_group('cosmosdb cassandra table', cosmosdb_cassandra_sdk, client_factory=cf_cassandra_resources) as g: g.custom_command('create', 'cli_cosmosdb_cassandra_table_create') @@ -172,7 +178,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_cassandra_table_exists') g.command('list', 'list_cassandra_tables') g.show_command('show', 'get_cassandra_table') - g.command('delete', 'delete_cassandra_table', confirmation=True) + g.command('delete', 'begin_delete_cassandra_table', confirmation=True) # Gremlin api with self.command_group('cosmosdb gremlin'): @@ -182,7 +188,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_gremlin_database_exists') g.command('list', 'list_gremlin_databases') g.show_command('show', 'get_gremlin_database') - g.command('delete', 'delete_gremlin_database', confirmation=True) + g.command('delete', 'begin_delete_gremlin_database', confirmation=True) with self.command_group('cosmosdb gremlin graph', cosmosdb_gremlin_sdk, client_factory=cf_gremlin_resources) as g: g.custom_command('create', 'cli_cosmosdb_gremlin_graph_create') @@ -190,7 +196,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_gremlin_graph_exists') g.command('list', 'list_gremlin_graphs') g.show_command('show', 'get_gremlin_graph') - g.command('delete', 'delete_gremlin_graph', confirmation=True) + g.command('delete', 'begin_delete_gremlin_graph', confirmation=True) # Table api with self.command_group('cosmosdb table', cosmosdb_table_sdk, client_factory=cf_table_resources) as g: @@ -198,7 +204,7 @@ def load_command_table(self, _): g.custom_command('exists', 'cli_cosmosdb_table_exists') g.command('list', 'list_tables') g.show_command('show', 'get_table') - g.command('delete', 'delete_table', confirmation=True) + g.command('delete', 'begin_delete_table', confirmation=True) # Offer throughput with self.command_group('cosmosdb sql database throughput', cosmosdb_sql_sdk, client_factory=cf_sql_resources) as g: @@ -253,14 +259,14 @@ def load_command_table(self, _): # virtual network rules with self.command_group('cosmosdb network-rule', None, client_factory=cf_db_accounts) as g: - g.custom_command('list', 'cli_cosmosdb_network_rule_list') - g.custom_command('add', 'cli_cosmosdb_network_rule_add') - g.custom_command('remove', 'cli_cosmosdb_network_rule_remove') + g.custom_command('list', 'cli_cosmosdb_network_rule_list', transform=transform_network_rule_list_output) + g.custom_command('add', 'cli_cosmosdb_network_rule_add', transform=transform_db_account_json_output) + g.custom_command('remove', 'cli_cosmosdb_network_rule_remove', transform=transform_db_account_json_output) # key operations with self.command_group('cosmosdb keys', cosmosdb_sdk, client_factory=cf_db_accounts) as g: g.custom_command('list', 'cli_cosmosdb_keys', table_transformer=list_connection_strings_output) - g.command('regenerate', 'regenerate_key') + g.custom_command('regenerate', 'cli_cosmosdb_regenerate_key') # # database operations with self.command_group('cosmosdb database', deprecate_info=self.deprecate(redirect=DATABASE_DEPRECATION_INFO, hide=True)) as g: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py index 87fd29caa6a..8b7cd5fde7a 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py @@ -8,13 +8,14 @@ from enum import Enum from knack.log import get_logger from knack.util import CLIError -from msrestazure.azure_exceptions import CloudError +from azure.core.exceptions import HttpResponseError from azure.cli.core.azclierror import InvalidArgumentValueError from azure.mgmt.cosmosdb.models import ( ConsistencyPolicy, DatabaseAccountCreateUpdateParameters, DatabaseAccountUpdateParameters, + DatabaseAccountRegenerateKeyParameters, Location, DatabaseAccountKind, VirtualNetworkRule, @@ -173,7 +174,7 @@ def cli_cosmosdb_create(cmd, client, identity=system_assigned_identity, default_identity=default_identity) - async_docdb_create = client.create_or_update(resource_group_name, account_name, params) + async_docdb_create = client.begin_create_or_update(resource_group_name, account_name, params) docdb_account = async_docdb_create.result() docdb_account = client.get(resource_group_name, account_name) # Workaround return docdb_account @@ -265,7 +266,7 @@ def cli_cosmosdb_update(client, backup_policy=backup_policy, default_identity=default_identity) - async_docdb_update = client.update(resource_group_name, account_name, params) + async_docdb_update = client.begin_update(resource_group_name, account_name, params) docdb_account = async_docdb_update.result() docdb_account = client.get(resource_group_name, account_name) # Workaround return docdb_account @@ -290,10 +291,15 @@ def cli_cosmosdb_keys(client, resource_group_name, account_name, key_type=Cosmos raise CLIError("az cosmosdb keys list: '{0}' is not a valid value for '--type'. See 'az cosmosdb keys list --help'.".format(key_type)) -def _handle_exists_exception(cloud_error): - if cloud_error.status_code == 404: +def cli_cosmosdb_regenerate_key(client, resource_group_name, account_name, key_kind): + key_to_regenerate = DatabaseAccountRegenerateKeyParameters(key_kind=key_kind) + return client.begin_regenerate_key(resource_group_name, account_name, key_to_regenerate) + + +def _handle_exists_exception(http_response_error): + if http_response_error.status_code == 404: return False - raise cloud_error + raise http_response_error def cli_cosmosdb_sql_database_create(client, @@ -309,10 +315,10 @@ def cli_cosmosdb_sql_database_create(client, resource=SqlDatabaseResource(id=database_name), options=options) - return client.create_update_sql_database(resource_group_name, - account_name, - database_name, - sql_database_resource) + return client.begin_create_update_sql_database(resource_group_name, + account_name, + database_name, + sql_database_resource) def cli_cosmosdb_sql_database_exists(client, @@ -322,7 +328,7 @@ def cli_cosmosdb_sql_database_exists(client, """Checks if an Azure Cosmos DB SQL database exists""" try: client.get_sql_database(resource_group_name, account_name, database_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -398,11 +404,11 @@ def cli_cosmosdb_sql_container_create(client, resource=sql_container_resource, options=options) - return client.create_update_sql_container(resource_group_name, - account_name, - database_name, - container_name, - sql_container_create_update_resource) + return client.begin_create_update_sql_container(resource_group_name, + account_name, + database_name, + container_name, + sql_container_create_update_resource) def cli_cosmosdb_sql_container_update(client, @@ -438,11 +444,11 @@ def cli_cosmosdb_sql_container_update(client, resource=sql_container_resource, options={}) - return client.create_update_sql_container(resource_group_name, - account_name, - database_name, - container_name, - sql_container_create_update_resource) + return client.begin_create_update_sql_container(resource_group_name, + account_name, + database_name, + container_name, + sql_container_create_update_resource) def cli_cosmosdb_sql_container_exists(client, @@ -453,7 +459,7 @@ def cli_cosmosdb_sql_container_exists(client, """Checks if an Azure Cosmos DB SQL container exists""" try: client.get_sql_container(resource_group_name, account_name, database_name, container_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -475,12 +481,12 @@ def cli_cosmosdb_sql_stored_procedure_create_update(client, resource=sql_stored_procedure_resource, options={}) - return client.create_update_sql_stored_procedure(resource_group_name, - account_name, - database_name, - container_name, - stored_procedure_name, - sql_stored_procedure_create_update_resource) + return client.begin_create_update_sql_stored_procedure(resource_group_name, + account_name, + database_name, + container_name, + stored_procedure_name, + sql_stored_procedure_create_update_resource) def cli_cosmosdb_sql_user_defined_function_create_update(client, @@ -499,12 +505,12 @@ def cli_cosmosdb_sql_user_defined_function_create_update(client, resource=sql_user_defined_function_resource, options={}) - return client.create_update_sql_user_defined_function(resource_group_name, - account_name, - database_name, - container_name, - user_defined_function_name, - sql_user_defined_function_create_update_resource) + return client.begin_create_update_sql_user_defined_function(resource_group_name, + account_name, + database_name, + container_name, + user_defined_function_name, + sql_user_defined_function_create_update_resource) def _populate_sql_trigger_definition(sql_trigger_resource, @@ -553,12 +559,12 @@ def cli_cosmosdb_sql_trigger_create(client, resource=sql_trigger_resource, options={}) - return client.create_update_sql_trigger(resource_group_name, - account_name, - database_name, - container_name, - trigger_name, - sql_trigger_create_update_resource) + return client.begin_create_update_sql_trigger(resource_group_name, + account_name, + database_name, + container_name, + trigger_name, + sql_trigger_create_update_resource) def cli_cosmosdb_sql_trigger_update(client, @@ -590,12 +596,12 @@ def cli_cosmosdb_sql_trigger_update(client, resource=sql_trigger_resource, options={}) - return client.create_update_sql_trigger(resource_group_name, - account_name, - database_name, - container_name, - trigger_name, - sql_trigger_create_update_resource) + return client.begin_create_update_sql_trigger(resource_group_name, + account_name, + database_name, + container_name, + trigger_name, + sql_trigger_create_update_resource) def cli_cosmosdb_gremlin_database_create(client, @@ -611,10 +617,10 @@ def cli_cosmosdb_gremlin_database_create(client, resource=GremlinDatabaseResource(id=database_name), options=options) - return client.create_update_gremlin_database(resource_group_name, - account_name, - database_name, - gremlin_database_resource) + return client.begin_create_update_gremlin_database(resource_group_name, + account_name, + database_name, + gremlin_database_resource) def cli_cosmosdb_gremlin_database_exists(client, @@ -624,7 +630,7 @@ def cli_cosmosdb_gremlin_database_exists(client, """Checks if an Azure Cosmos DB Gremlin database exists""" try: client.get_gremlin_database(resource_group_name, account_name, database_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -682,11 +688,11 @@ def cli_cosmosdb_gremlin_graph_create(client, resource=gremlin_graph_resource, options=options) - return client.create_update_gremlin_graph(resource_group_name, - account_name, - database_name, - graph_name, - gremlin_graph_create_update_resource) + return client.begin_create_update_gremlin_graph(resource_group_name, + account_name, + database_name, + graph_name, + gremlin_graph_create_update_resource) def cli_cosmosdb_gremlin_graph_update(client, @@ -718,11 +724,11 @@ def cli_cosmosdb_gremlin_graph_update(client, resource=gremlin_graph_resource, options={}) - return client.create_update_gremlin_graph(resource_group_name, - account_name, - database_name, - graph_name, - gremlin_graph_create_update_resource) + return client.begin_create_update_gremlin_graph(resource_group_name, + account_name, + database_name, + graph_name, + gremlin_graph_create_update_resource) def cli_cosmosdb_gremlin_graph_exists(client, @@ -733,7 +739,7 @@ def cli_cosmosdb_gremlin_graph_exists(client, """Checks if an Azure Cosmos DB Gremlin graph exists""" try: client.get_gremlin_graph(resource_group_name, account_name, database_name, graph_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -752,10 +758,10 @@ def cli_cosmosdb_mongodb_database_create(client, resource=MongoDBDatabaseResource(id=database_name), options=options) - return client.create_update_mongo_db_database(resource_group_name, - account_name, - database_name, - mongodb_database_resource) + return client.begin_create_update_mongo_db_database(resource_group_name, + account_name, + database_name, + mongodb_database_resource) def cli_cosmosdb_mongodb_database_exists(client, @@ -765,7 +771,7 @@ def cli_cosmosdb_mongodb_database_exists(client, """Checks if an Azure Cosmos DB MongoDB database exists""" try: client.get_mongo_db_database(resource_group_name, account_name, database_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -808,11 +814,11 @@ def cli_cosmosdb_mongodb_collection_create(client, resource=mongodb_collection_resource, options=options) - return client.create_update_mongo_db_collection(resource_group_name, - account_name, - database_name, - collection_name, - mongodb_collection_create_update_resource) + return client.begin_create_update_mongo_db_collection(resource_group_name, + account_name, + database_name, + collection_name, + mongodb_collection_create_update_resource) def cli_cosmosdb_mongodb_collection_update(client, @@ -840,11 +846,11 @@ def cli_cosmosdb_mongodb_collection_update(client, resource=mongodb_collection_resource, options={}) - return client.create_update_mongo_db_collection(resource_group_name, - account_name, - database_name, - collection_name, - mongodb_collection_create_update_resource) + return client.begin_create_update_mongo_db_collection(resource_group_name, + account_name, + database_name, + collection_name, + mongodb_collection_create_update_resource) def cli_cosmosdb_mongodb_collection_exists(client, @@ -855,7 +861,7 @@ def cli_cosmosdb_mongodb_collection_exists(client, """Checks if an Azure Cosmos DB MongoDB collection exists""" try: client.get_mongo_db_collection(resource_group_name, account_name, database_name, collection_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -874,10 +880,10 @@ def cli_cosmosdb_cassandra_keyspace_create(client, resource=CassandraKeyspaceResource(id=keyspace_name), options=options) - return client.create_update_cassandra_keyspace(resource_group_name, - account_name, - keyspace_name, - cassandra_keyspace_resource) + return client.begin_create_update_cassandra_keyspace(resource_group_name, + account_name, + keyspace_name, + cassandra_keyspace_resource) def cli_cosmosdb_cassandra_keyspace_exists(client, @@ -887,7 +893,7 @@ def cli_cosmosdb_cassandra_keyspace_exists(client, """Checks if an Azure Cosmos DB Cassandra keyspace exists""" try: client.get_cassandra_keyspace(resource_group_name, account_name, keyspace_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -930,11 +936,11 @@ def cli_cosmosdb_cassandra_table_create(client, resource=cassandra_table_resource, options=options) - return client.create_update_cassandra_table(resource_group_name, - account_name, - keyspace_name, - table_name, - cassandra_table_create_update_resource) + return client.begin_create_update_cassandra_table(resource_group_name, + account_name, + keyspace_name, + table_name, + cassandra_table_create_update_resource) def cli_cosmosdb_cassandra_table_update(client, @@ -961,11 +967,11 @@ def cli_cosmosdb_cassandra_table_update(client, resource=cassandra_table_resource, options={}) - return client.create_update_cassandra_table(resource_group_name, - account_name, - keyspace_name, - table_name, - cassandra_table_create_update_resource) + return client.begin_create_update_cassandra_table(resource_group_name, + account_name, + keyspace_name, + table_name, + cassandra_table_create_update_resource) def cli_cosmosdb_cassandra_table_exists(client, @@ -976,7 +982,7 @@ def cli_cosmosdb_cassandra_table_exists(client, """Checks if an Azure Cosmos DB Cassandra table exists""" try: client.get_cassandra_table(resource_group_name, account_name, keyspace_name, table_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -995,7 +1001,7 @@ def cli_cosmosdb_table_create(client, resource=TableResource(id=table_name), options=options) - return client.create_update_table(resource_group_name, account_name, table_name, table) + return client.begin_create_update_table(resource_group_name, account_name, table_name, table) def cli_cosmosdb_table_exists(client, @@ -1005,7 +1011,7 @@ def cli_cosmosdb_table_exists(client, """Checks if an Azure Cosmos DB table exists""" try: client.get_table(resource_group_name, account_name, table_name) - except CloudError as ex: + except HttpResponseError as ex: return _handle_exists_exception(ex) return True @@ -1019,7 +1025,10 @@ def cli_cosmosdb_sql_database_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB SQL database throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_sql_database_throughput(resource_group_name, account_name, database_name, throughput_update_resource) + return client.begin_update_sql_database_throughput(resource_group_name, + account_name, + database_name, + throughput_update_resource) def cli_cosmosdb_sql_database_throughput_migrate(client, @@ -1028,8 +1037,8 @@ def cli_cosmosdb_sql_database_throughput_migrate(client, database_name, throughput_type): if throughput_type == "autoscale": - return client.migrate_sql_database_to_autoscale(resource_group_name, account_name, database_name) - return client.migrate_sql_database_to_manual_throughput(resource_group_name, account_name, database_name) + return client.begin_migrate_sql_database_to_autoscale(resource_group_name, account_name, database_name) + return client.begin_migrate_sql_database_to_manual_throughput(resource_group_name, account_name, database_name) def cli_cosmosdb_sql_container_throughput_update(client, @@ -1041,11 +1050,11 @@ def cli_cosmosdb_sql_container_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB SQL container throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_sql_container_throughput(resource_group_name, - account_name, - database_name, - container_name, - throughput_update_resource) + return client.begin_update_sql_container_throughput(resource_group_name, + account_name, + database_name, + container_name, + throughput_update_resource) def cli_cosmosdb_sql_container_throughput_migrate(client, @@ -1056,8 +1065,10 @@ def cli_cosmosdb_sql_container_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB SQL container throughput""" if throughput_type == "autoscale": - return client.migrate_sql_container_to_autoscale(resource_group_name, account_name, database_name, container_name) - return client.migrate_sql_container_to_manual_throughput(resource_group_name, account_name, database_name, container_name) + return client.begin_migrate_sql_container_to_autoscale(resource_group_name, account_name, + database_name, container_name) + return client.begin_migrate_sql_container_to_manual_throughput(resource_group_name, account_name, + database_name, container_name) def cli_cosmosdb_mongodb_database_throughput_update(client, @@ -1068,10 +1079,10 @@ def cli_cosmosdb_mongodb_database_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB MongoDB database throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_mongo_db_database_throughput(resource_group_name, - account_name, - database_name, - throughput_update_resource) + return client.begin_update_mongo_db_database_throughput(resource_group_name, + account_name, + database_name, + throughput_update_resource) def cli_cosmosdb_mongodb_database_throughput_migrate(client, @@ -1081,8 +1092,8 @@ def cli_cosmosdb_mongodb_database_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB MongoDB database throughput""" if throughput_type == "autoscale": - return client.migrate_mongo_db_database_to_autoscale(resource_group_name, account_name, database_name) - return client.migrate_mongo_db_database_to_manual_throughput(resource_group_name, account_name, database_name) + return client.begin_migrate_mongo_db_database_to_autoscale(resource_group_name, account_name, database_name) + return client.begin_migrate_mongo_db_database_to_manual_throughput(resource_group_name, account_name, database_name) def cli_cosmosdb_mongodb_collection_throughput_update(client, @@ -1094,11 +1105,11 @@ def cli_cosmosdb_mongodb_collection_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB MongoDB collection throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_mongo_db_collection_throughput(resource_group_name, - account_name, - database_name, - collection_name, - throughput_update_resource) + return client.begin_update_mongo_db_collection_throughput(resource_group_name, + account_name, + database_name, + collection_name, + throughput_update_resource) def cli_cosmosdb_mongodb_collection_throughput_migrate(client, @@ -1109,8 +1120,10 @@ def cli_cosmosdb_mongodb_collection_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB MongoDB collection throughput""" if throughput_type == "autoscale": - return client.migrate_mongo_db_collection_to_autoscale(resource_group_name, account_name, database_name, collection_name) - return client.migrate_mongo_db_collection_to_manual_throughput(resource_group_name, account_name, database_name, collection_name) + return client.begin_migrate_mongo_db_collection_to_autoscale(resource_group_name, account_name, + database_name, collection_name) + return client.begin_migrate_mongo_db_collection_to_manual_throughput(resource_group_name, account_name, + database_name, collection_name) def cli_cosmosdb_cassandra_keyspace_throughput_update(client, @@ -1121,10 +1134,10 @@ def cli_cosmosdb_cassandra_keyspace_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB Cassandra keyspace throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_cassandra_keyspace_throughput(resource_group_name, - account_name, - keyspace_name, - throughput_update_resource) + return client.begin_update_cassandra_keyspace_throughput(resource_group_name, + account_name, + keyspace_name, + throughput_update_resource) def cli_cosmosdb_cassandra_keyspace_throughput_migrate(client, @@ -1134,8 +1147,9 @@ def cli_cosmosdb_cassandra_keyspace_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB Cassandra keyspace throughput""" if throughput_type == "autoscale": - return client.migrate_cassandra_keyspace_to_autoscale(resource_group_name, account_name, keyspace_name) - return client.migrate_cassandra_keyspace_to_manual_throughput(resource_group_name, account_name, keyspace_name) + return client.begin_migrate_cassandra_keyspace_to_autoscale(resource_group_name, account_name, keyspace_name) + return client.begin_migrate_cassandra_keyspace_to_manual_throughput(resource_group_name, + account_name, keyspace_name) def cli_cosmosdb_cassandra_table_throughput_update(client, @@ -1147,11 +1161,11 @@ def cli_cosmosdb_cassandra_table_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB Cassandra table throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_cassandra_table_throughput(resource_group_name, - account_name, - keyspace_name, - table_name, - throughput_update_resource) + return client.begin_update_cassandra_table_throughput(resource_group_name, + account_name, + keyspace_name, + table_name, + throughput_update_resource) def cli_cosmosdb_cassandra_table_throughput_migrate(client, @@ -1162,8 +1176,10 @@ def cli_cosmosdb_cassandra_table_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB Cassandra table throughput""" if throughput_type == "autoscale": - return client.migrate_cassandra_table_to_autoscale(resource_group_name, account_name, keyspace_name, table_name) - return client.migrate_cassandra_table_to_manual_throughput(resource_group_name, account_name, keyspace_name, table_name) + return client.begin_migrate_cassandra_table_to_autoscale(resource_group_name, account_name, + keyspace_name, table_name) + return client.begin_migrate_cassandra_table_to_manual_throughput(resource_group_name, account_name, + keyspace_name, table_name) def cli_cosmosdb_gremlin_database_throughput_update(client, @@ -1174,10 +1190,10 @@ def cli_cosmosdb_gremlin_database_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB Gremlin database throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_gremlin_database_throughput(resource_group_name, - account_name, - database_name, - throughput_update_resource) + return client.begin_update_gremlin_database_throughput(resource_group_name, + account_name, + database_name, + throughput_update_resource) def cli_cosmosdb_gremlin_database_throughput_migrate(client, @@ -1187,8 +1203,8 @@ def cli_cosmosdb_gremlin_database_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB Gremlin database throughput""" if throughput_type == "autoscale": - return client.migrate_gremlin_database_to_autoscale(resource_group_name, account_name, database_name) - return client.migrate_gremlin_database_to_manual_throughput(resource_group_name, account_name, database_name) + return client.begin_migrate_gremlin_database_to_autoscale(resource_group_name, account_name, database_name) + return client.begin_migrate_gremlin_database_to_manual_throughput(resource_group_name, account_name, database_name) def cli_cosmosdb_gremlin_graph_throughput_update(client, @@ -1200,11 +1216,11 @@ def cli_cosmosdb_gremlin_graph_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB Gremlin graph throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_gremlin_graph_throughput(resource_group_name, - account_name, - database_name, - graph_name, - throughput_update_resource) + return client.begin_update_gremlin_graph_throughput(resource_group_name, + account_name, + database_name, + graph_name, + throughput_update_resource) def cli_cosmosdb_gremlin_graph_throughput_migrate(client, @@ -1215,8 +1231,10 @@ def cli_cosmosdb_gremlin_graph_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB Gremlin database throughput""" if throughput_type == "autoscale": - return client.migrate_gremlin_graph_to_autoscale(resource_group_name, account_name, database_name, graph_name) - return client.migrate_gremlin_graph_to_manual_throughput(resource_group_name, account_name, database_name, graph_name) + return client.begin_migrate_gremlin_graph_to_autoscale(resource_group_name, account_name, + database_name, graph_name) + return client.begin_migrate_gremlin_graph_to_manual_throughput(resource_group_name, account_name, + database_name, graph_name) def cli_cosmosdb_table_throughput_update(client, @@ -1227,7 +1245,8 @@ def cli_cosmosdb_table_throughput_update(client, max_throughput=None): """Update an Azure Cosmos DB table throughput""" throughput_update_resource = _get_throughput_settings_update_parameters(throughput, max_throughput) - return client.update_table_throughput(resource_group_name, account_name, table_name, throughput_update_resource) + return client.begin_update_table_throughput(resource_group_name, account_name, table_name, + throughput_update_resource) def cli_cosmosdb_table_throughput_migrate(client, @@ -1237,8 +1256,8 @@ def cli_cosmosdb_table_throughput_migrate(client, throughput_type): """Migrate an Azure Cosmos DB table throughput""" if throughput_type == "autoscale": - return client.migrate_table_to_autoscale(resource_group_name, account_name, table_name) - return client.migrate_table_to_manual_throughput(resource_group_name, account_name, table_name) + return client.begin_migrate_table_to_autoscale(resource_group_name, account_name, table_name) + return client.begin_migrate_table_to_manual_throughput(resource_group_name, account_name, table_name) def _get_throughput_settings_update_parameters(throughput=None, max_throughput=None): @@ -1281,7 +1300,7 @@ def cli_cosmosdb_identity_assign(client, else: identity = ManagedServiceIdentity(type=ResourceIdentityType.system_assigned.value) params = DatabaseAccountUpdateParameters(identity=identity) - async_cosmos_db_update = client.update(resource_group_name, account_name, params) + async_cosmos_db_update = client.begin_update(resource_group_name, account_name, params) cosmos_db_account = async_cosmos_db_update.result() return cosmos_db_account.identity @@ -1301,7 +1320,7 @@ def cli_cosmosdb_identity_remove(client, else: identity = ManagedServiceIdentity(type=ResourceIdentityType.none.value) params = DatabaseAccountUpdateParameters(identity=identity) - async_cosmos_db_update = client.update(resource_group_name, account_name, params) + async_cosmos_db_update = client.begin_update(resource_group_name, account_name, params) cosmos_db_account = async_cosmos_db_update.result() return cosmos_db_account.identity @@ -1337,7 +1356,7 @@ def cli_cosmosdb_network_rule_add(cmd, for rule in existing.virtual_network_rules: virtual_network_rules.append( VirtualNetworkRule(id=rule.id, - ignore_missing_vnet_service_endpoint=rule.ignore_missing_vnet_service_endpoint)) + ignore_missing_v_net_service_endpoint=rule.ignore_missing_v_net_service_endpoint)) if rule.id == subnet: rule_already_exists = True logger.warning("The rule exists and will be overwritten") @@ -1345,11 +1364,11 @@ def cli_cosmosdb_network_rule_add(cmd, if not rule_already_exists: virtual_network_rules.append( VirtualNetworkRule(id=subnet, - ignore_missing_vnet_service_endpoint=ignore_missing_vnet_service_endpoint)) + ignore_missing_v_net_service_endpoint=ignore_missing_vnet_service_endpoint)) params = DatabaseAccountUpdateParameters(virtual_network_rules=virtual_network_rules) - async_docdb_update = client.update(resource_group_name, account_name, params) + async_docdb_update = client.begin_update(resource_group_name, account_name, params) docdb_account = async_docdb_update.result() docdb_account = client.get(resource_group_name, account_name) # Workaround return docdb_account @@ -1371,7 +1390,7 @@ def cli_cosmosdb_network_rule_remove(cmd, if rule.id != subnet: virtual_network_rules.append( VirtualNetworkRule(id=rule.id, - ignore_missing_vnet_service_endpoint=rule.ignore_missing_vnet_service_endpoint)) + ignore_missing_v_net_service_endpoint=rule.ignore_missing_v_net_service_endpoint)) else: rule_removed = True if not rule_removed: @@ -1379,7 +1398,7 @@ def cli_cosmosdb_network_rule_remove(cmd, params = DatabaseAccountUpdateParameters(virtual_network_rules=virtual_network_rules) - async_docdb_update = client.update(resource_group_name, account_name, params) + async_docdb_update = client.begin_update(resource_group_name, account_name, params) docdb_account = async_docdb_update.result() docdb_account = client.get(resource_group_name, account_name) # Workaround return docdb_account @@ -1394,11 +1413,10 @@ def _update_private_endpoint_connection_status(client, resource_group_name, acco private_endpoint_connection.private_link_service_connection_state.status = new_status private_endpoint_connection.private_link_service_connection_state.description = description - return client.create_or_update(resource_group_name=resource_group_name, - account_name=account_name, - private_endpoint_connection_name=private_endpoint_connection_name, - private_link_service_connection_state=private_endpoint_connection.private_link_service_connection_state, - parameters=private_endpoint_connection) + return client.begin_create_or_update(resource_group_name=resource_group_name, + account_name=account_name, + private_endpoint_connection_name=private_endpoint_connection_name, + parameters=private_endpoint_connection) def approve_private_endpoint_connection(client, resource_group_name, account_name, private_endpoint_connection_name, diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_check_name_exists_database_account.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_check_name_exists_database_account.yaml index 87f1e6fac24..1cc2d8933a9 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_check_name_exists_database_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_check_name_exists_database_account.yaml @@ -3,7 +3,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: HEAD uri: https://management.azure.com/providers/Microsoft.DocumentDB/databaseAccountNames/cli000002?api-version=2021-03-15 response: @@ -28,7 +25,7 @@ interactions: content-length: - '148' date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:43 GMT pragma: - no-cache server: @@ -62,7 +59,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -71,7 +68,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:49 GMT + - Fri, 09 Apr 2021 03:36:44 GMT expires: - '-1' pragma: @@ -101,27 +98,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.3541579Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"934efc12-216a-49bc-a819-339c51140342","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:50.6154872Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a632b8c4-812d-4307-917b-fa934088acd7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/610177c6-9039-4c83-a46f-09618815c66f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -129,9 +123,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:36:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/610177c6-9039-4c83-a46f-09618815c66f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 pragma: - no-cache server: @@ -147,7 +141,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1190' status: code: 200 message: Ok @@ -155,7 +149,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -165,10 +159,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/610177c6-9039-4c83-a46f-09618815c66f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -180,7 +173,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:24 GMT + - Fri, 09 Apr 2021 03:37:23 GMT pragma: - no-cache server: @@ -202,7 +195,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -212,10 +205,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/610177c6-9039-4c83-a46f-09618815c66f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -227,7 +219,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:37:54 GMT pragma: - no-cache server: @@ -249,7 +241,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:38:23 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -259,10 +297,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/610177c6-9039-4c83-a46f-09618815c66f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a152abf-9c78-4bbc-9a5d-b2acd208dbf4?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -274,7 +311,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:24 GMT + - Fri, 09 Apr 2021 03:38:55 GMT pragma: - no-cache server: @@ -296,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -306,14 +343,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.1215698Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"934efc12-216a-49bc-a819-339c51140342","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:05.3318427Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a632b8c4-812d-4307-917b-fa934088acd7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -326,7 +362,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:24 GMT + - Fri, 09 Apr 2021 03:38:55 GMT pragma: - no-cache server: @@ -358,16 +394,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.1215698Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"934efc12-216a-49bc-a819-339c51140342","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:05.3318427Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a632b8c4-812d-4307-917b-fa934088acd7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -380,7 +413,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:38:55 GMT pragma: - no-cache server: @@ -402,7 +435,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -412,10 +445,7 @@ interactions: ParameterSetName: - -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: HEAD uri: https://management.azure.com/providers/Microsoft.DocumentDB/databaseAccountNames/cli000002?api-version=2021-03-15 response: @@ -427,7 +457,7 @@ interactions: content-length: - '0' date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:56 GMT pragma: - no-cache server: @@ -437,7 +467,7 @@ interactions: x-content-type-options: - nosniff x-ms-activity-id: - - 12ee9fc0-9788-11eb-98b7-705a0f2f2f32 + - 1cb2d310-98e5-11eb-8d4d-2cf05d45d149 status: code: 200 message: Ok diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_keyspace.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_keyspace.yaml index 31cbcea8ed1..b8c730e240c 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_keyspace.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_keyspace.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_cassandra_keyspace000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001","name":"cli_test_cosmosdb_cassandra_keyspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001","name":"cli_test_cosmosdb_cassandra_keyspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:41 GMT expires: - '-1' pragma: @@ -61,37 +61,34 @@ interactions: Content-Length: - '266' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.075554Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f165c383-8178-4ec5-9f6c-44e9d02bbab2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:49.5534288Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"300efd4e-7bca-42fb-a23a-3161f6ba9974","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableCassandra"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1904' + - '1905' content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:53 GMT + - Fri, 09 Apr 2021 03:36:51 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1184' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:23 GMT + - Fri, 09 Apr 2021 03:37:22 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:37:53 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:24 GMT + - Fri, 09 Apr 2021 03:38:23 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,10 +260,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ae766080-5783-4e96-a4b1-e6fb60d89fb5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b03cba15-85a8-4349-9db5-a530be7077c1?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -281,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:54 GMT + - Fri, 09 Apr 2021 03:38:53 GMT pragma: - no-cache server: @@ -303,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,14 +306,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:15.5956556Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f165c383-8178-4ec5-9f6c-44e9d02bbab2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:11.6628905Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"300efd4e-7bca-42fb-a23a-3161f6ba9974","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -333,7 +325,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:38:54 GMT pragma: - no-cache server: @@ -365,16 +357,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:15.5956556Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f165c383-8178-4ec5-9f6c-44e9d02bbab2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:11.6628905Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"300efd4e-7bca-42fb-a23a-3161f6ba9974","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -387,7 +376,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:38:54 GMT pragma: - no-cache server: @@ -419,25 +408,22 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 24d78186-9788-11eb-98e2-705a0f2f2f32, Request URI: /apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/b970b764-ff19-48e7-84b3-8dcfbd6db97d/partitions/f2ca4545-e22c-40f1-bb3b-e0158588fecc/replicas/132613521151931882s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:00:55.8572674Z, RequestEndTime: - 2021-04-07T10:00:55.8672634Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:00:55.8672634Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.25:11000/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/b970b764-ff19-48e7-84b3-8dcfbd6db97d/partitions/f2ca4545-e22c-40f1-bb3b-e0158588fecc/replicas/132613521151931882s, + 1c0f54c6-98e5-11eb-9294-2cf05d45d149, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/de458dc1-95f5-404c-8939-fbb24b0525f7/partitions/a73ce767-dc8a-49f3-a7cf-576db4ae07c5/replicas/132621855045852190s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:38:55.7731709Z, RequestEndTime: + 2021-04-09T03:38:55.7831148Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:38:55.7831148Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.20:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/de458dc1-95f5-404c-8939-fbb24b0525f7/partitions/a73ce767-dc8a-49f3-a7cf-576db4ae07c5/replicas/132621855045852190s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: - Read\\r\\nResponseTime: 2021-04-07T10:00:55.8672634Z, StoreResult: StorePhysicalAddress: - rntbd://10.0.0.28:11300/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/b970b764-ff19-48e7-84b3-8dcfbd6db97d/partitions/f2ca4545-e22c-40f1-bb3b-e0158588fecc/replicas/132616840810041956s, + Read\\r\\nResponseTime: 2021-04-09T03:38:55.7831148Z, StoreResult: StorePhysicalAddress: + rntbd://10.0.0.22:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/de458dc1-95f5-404c-8939-fbb24b0525f7/partitions/a73ce767-dc8a-49f3-a7cf-576db4ae07c5/replicas/132621855020539231s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: @@ -451,7 +437,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:38:55 GMT pragma: - no-cache server: @@ -479,14 +465,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: @@ -494,7 +477,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d3dfe183-ea25-4e4f-9a78-4af3edba01db?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2ab8d5c-b6ef-402d-88ce-b6ad60f70472?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -502,9 +485,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:38:55 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002/operationResults/d3dfe183-ea25-4e4f-9a78-4af3edba01db?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002/operationResults/b2ab8d5c-b6ef-402d-88ce-b6ad60f70472?api-version=2021-03-15 pragma: - no-cache server: @@ -516,7 +499,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1189' status: code: 202 message: Accepted @@ -524,7 +507,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -534,10 +517,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d3dfe183-ea25-4e4f-9a78-4af3edba01db?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2ab8d5c-b6ef-402d-88ce-b6ad60f70472?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -549,7 +531,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:39:27 GMT pragma: - no-cache server: @@ -571,7 +553,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -581,13 +563,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"zileAA==","_etag":"\"00001203-0000-0700-0000-606d82dc0000\"","_ts":1617789660}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"JJFTAA==","_etag":"\"00001211-0000-0700-0000-606fcc540000\"","_ts":1617939540}}}' headers: cache-control: - no-store, no-cache @@ -596,7 +577,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:39:27 GMT pragma: - no-cache server: @@ -628,15 +609,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"zileAA==","_etag":"\"00001203-0000-0700-0000-606d82dc0000\"","_ts":1617789660}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"JJFTAA==","_etag":"\"00001211-0000-0700-0000-606fcc540000\"","_ts":1617939540}}}' headers: cache-control: - no-store, no-cache @@ -645,7 +623,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:39:29 GMT pragma: - no-cache server: @@ -677,15 +655,12 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"zileAA==","_etag":"\"00001203-0000-0700-0000-606d82dc0000\"","_ts":1617789660}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"JJFTAA==","_etag":"\"00001211-0000-0700-0000-606fcc540000\"","_ts":1617939540}}}]}' headers: cache-control: - no-store, no-cache @@ -694,7 +669,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:39:29 GMT pragma: - no-cache server: @@ -726,15 +701,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"zileAA==","_etag":"\"00001203-0000-0700-0000-606d82dc0000\"","_ts":1617789660}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"JJFTAA==","_etag":"\"00001211-0000-0700-0000-606fcc540000\"","_ts":1617939540}}}' headers: cache-control: - no-store, no-cache @@ -743,7 +715,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:39:30 GMT pragma: - no-cache server: @@ -765,7 +737,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -777,10 +749,7 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002?api-version=2021-03-15 response: @@ -788,7 +757,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fd233cd7-3e86-4cd6-8dab-b1d5fc3f8dc7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2e081ef-74a5-4217-8829-c56320a53d3d?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -796,9 +765,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:29 GMT + - Fri, 09 Apr 2021 03:39:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002/operationResults/fd233cd7-3e86-4cd6-8dab-b1d5fc3f8dc7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000002/operationResults/a2e081ef-74a5-4217-8829-c56320a53d3d?api-version=2021-03-15 pragma: - no-cache server: @@ -810,7 +779,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14997' status: code: 202 message: Accepted @@ -818,7 +787,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -828,10 +797,9 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fd233cd7-3e86-4cd6-8dab-b1d5fc3f8dc7?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2e081ef-74a5-4217-8829-c56320a53d3d?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -843,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:40:02 GMT pragma: - no-cache server: @@ -875,10 +843,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_keyspace000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces?api-version=2021-03-15 response: @@ -892,7 +857,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:00 GMT + - Fri, 09 Apr 2021 03:40:02 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput.yaml index a049e25762f..0499b8670e4 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_cassandra_resource_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001","name":"cli_test_cosmosdb_cassandra_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001","name":"cli_test_cosmosdb_cassandra_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:39 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '266' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:54.1701224Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"85b8443e-c855-427c-ad99-1580272f0f15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:48.6435672Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8df30a62-6cc5-408e-af08-7e54e76e482d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableCassandra"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:56 GMT + - Fri, 09 Apr 2021 03:36:50 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1181' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:26 GMT + - Fri, 09 Apr 2021 03:37:20 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:56 GMT + - Fri, 09 Apr 2021 03:37:50 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:21 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,10 +260,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0e2a90f5-1718-4adf-85f0-a761e433f8e0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93331468-2b55-4fb9-97e1-5bac6d2e837b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -281,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -303,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,14 +306,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:20.696949Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"85b8443e-c855-427c-ad99-1580272f0f15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:08.1797655Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8df30a62-6cc5-408e-af08-7e54e76e482d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -329,11 +321,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2305' + - '2306' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:57 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -365,16 +357,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:20.696949Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"85b8443e-c855-427c-ad99-1580272f0f15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:08.1797655Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8df30a62-6cc5-408e-af08-7e54e76e482d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -383,11 +372,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2305' + - '2306' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:57 GMT + - Fri, 09 Apr 2021 03:38:52 GMT pragma: - no-cache server: @@ -420,14 +409,11 @@ interactions: Content-Length: - '88' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003?api-version=2021-03-15 response: @@ -435,7 +421,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6bdfc612-1473-4af6-9220-5f074d8b7c15?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cf9bf4e9-23bb-4ed6-99ea-2cd116e095f0?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -443,9 +429,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:59 GMT + - Fri, 09 Apr 2021 03:38:53 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/operationResults/6bdfc612-1473-4af6-9220-5f074d8b7c15?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/operationResults/cf9bf4e9-23bb-4ed6-99ea-2cd116e095f0?api-version=2021-03-15 pragma: - no-cache server: @@ -457,7 +443,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1191' status: code: 202 message: Accepted @@ -465,7 +451,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -475,10 +461,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6bdfc612-1473-4af6-9220-5f074d8b7c15?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cf9bf4e9-23bb-4ed6-99ea-2cd116e095f0?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -490,7 +475,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:39:23 GMT pragma: - no-cache server: @@ -512,7 +497,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -522,13 +507,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"3hIgAA==","_etag":"\"02008ec1-0000-0700-0000-606d82e30000\"","_ts":1617789667}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"HKBXAA==","_etag":"\"00002113-0000-0700-0000-606fcc540000\"","_ts":1617939540}}}' headers: cache-control: - no-store, no-cache @@ -537,7 +521,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:29 GMT + - Fri, 09 Apr 2021 03:39:24 GMT pragma: - no-cache server: @@ -569,15 +553,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"xEpJ","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"Fps+","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -586,7 +567,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:30 GMT + - Fri, 09 Apr 2021 03:39:26 GMT pragma: - no-cache server: @@ -618,14 +599,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -633,7 +611,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e2b472ff-0318-4e97-a718-baf6a3fbb481?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/564d1773-470e-471b-b9f6-0d662e93bf3b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -641,9 +619,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:30 GMT + - Fri, 09 Apr 2021 03:39:27 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/operationResults/e2b472ff-0318-4e97-a718-baf6a3fbb481?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/operationResults/564d1773-470e-471b-b9f6-0d662e93bf3b?api-version=2021-03-15 pragma: - no-cache server: @@ -655,7 +633,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1176' status: code: 202 message: Accepted @@ -663,7 +641,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -673,10 +651,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e2b472ff-0318-4e97-a718-baf6a3fbb481?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/564d1773-470e-471b-b9f6-0d662e93bf3b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -688,7 +665,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:01 GMT + - Fri, 09 Apr 2021 03:39:57 GMT pragma: - no-cache server: @@ -710,7 +687,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -720,13 +697,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"xEpJ","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"Fps+","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -735,7 +711,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:39:58 GMT pragma: - no-cache server: @@ -769,14 +745,11 @@ interactions: Content-Length: - '191' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -k -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004?api-version=2021-03-15 response: @@ -784,7 +757,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/41004dc5-14a8-425c-b6ad-4760b5d6094a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/26b5fa11-eaef-420c-ad0d-88d38d9897d1?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -792,9 +765,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:39:59 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/operationResults/41004dc5-14a8-425c-b6ad-4760b5d6094a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/operationResults/26b5fa11-eaef-420c-ad0d-88d38d9897d1?api-version=2021-03-15 pragma: - no-cache server: @@ -806,7 +779,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -814,7 +787,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -824,10 +797,9 @@ interactions: ParameterSetName: - -g -a -k -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/41004dc5-14a8-425c-b6ad-4760b5d6094a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/26b5fa11-eaef-420c-ad0d-88d38d9897d1?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -839,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:40:29 GMT pragma: - no-cache server: @@ -861,7 +833,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -871,13 +843,12 @@ interactions: ParameterSetName: - -g -a -k -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"3hIgAKbl+rY=","_etag":"\"020095c1-0000-0700-0000-606d83210000\"","_ts":1617789729,"defaultTtl":-1,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"HKBXAOJ4a0Y=","_etag":"\"00002713-0000-0700-0000-606fcc960000\"","_ts":1617939606,"defaultTtl":-1,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -886,7 +857,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:40:30 GMT pragma: - no-cache server: @@ -918,15 +889,12 @@ interactions: ParameterSetName: - -g -a -k -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"9FZi","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"6uTJ","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -935,7 +903,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:34 GMT + - Fri, 09 Apr 2021 03:40:31 GMT pragma: - no-cache server: @@ -967,14 +935,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -k -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -982,7 +947,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4e6a612c-1f6f-4c51-976d-0a5c30fc433c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f2fbfa4-702c-4e8e-ad10-2e7de20d0508?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -990,9 +955,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:34 GMT + - Fri, 09 Apr 2021 03:40:31 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/operationResults/4e6a612c-1f6f-4c51-976d-0a5c30fc433c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/operationResults/2f2fbfa4-702c-4e8e-ad10-2e7de20d0508?api-version=2021-03-15 pragma: - no-cache server: @@ -1004,7 +969,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -1012,7 +977,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1022,10 +987,9 @@ interactions: ParameterSetName: - -g -a -k -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4e6a612c-1f6f-4c51-976d-0a5c30fc433c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f2fbfa4-702c-4e8e-ad10-2e7de20d0508?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1037,7 +1001,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:05 GMT + - Fri, 09 Apr 2021 03:41:02 GMT pragma: - no-cache server: @@ -1059,7 +1023,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1069,13 +1033,12 @@ interactions: ParameterSetName: - -g -a -k -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"9FZi","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"6uTJ","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1084,7 +1047,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:05 GMT + - Fri, 09 Apr 2021 03:41:03 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput_autoscale.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput_autoscale.yaml index cce07b6338f..0d93d7df85e 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput_autoscale.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_resource_throughput_autoscale.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:42 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '266' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.5716769Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7eb01460-f0a2-4cbc-9d7b-1b54037c7bb4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:48.9873785Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9a28f760-101d-4e29-9009-176c05419700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableCassandra"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:36:51 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1177' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:24 GMT + - Fri, 09 Apr 2021 03:37:21 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:37:53 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:38:22 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,57 +260,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:00:55 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --capabilities - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5297aeb4-6f9e-4b5a-9099-1b3811eb3582?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cfa95ec-eab2-4462-853c-41e5b77b9172?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -328,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:38:53 GMT pragma: - no-cache server: @@ -350,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -360,14 +306,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:26.4915548Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7eb01460-f0a2-4cbc-9d7b-1b54037c7bb4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:11.3042493Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9a28f760-101d-4e29-9009-176c05419700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -380,7 +325,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:38:53 GMT pragma: - no-cache server: @@ -412,16 +357,13 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:26.4915548Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7eb01460-f0a2-4cbc-9d7b-1b54037c7bb4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:11.3042493Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","cassandraEndpoint":"https://cli000002.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9a28f760-101d-4e29-9009-176c05419700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -434,7 +376,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:38:53 GMT pragma: - no-cache server: @@ -467,14 +409,11 @@ interactions: Content-Length: - '87' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003?api-version=2021-03-15 response: @@ -482,7 +421,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eccc7c04-d3d9-424b-b681-24430536ee83?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f680f32-bffa-425a-9b91-0fc82e3ccab0?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -490,9 +429,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:38:55 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/operationResults/eccc7c04-d3d9-424b-b681-24430536ee83?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/operationResults/9f680f32-bffa-425a-9b91-0fc82e3ccab0?api-version=2021-03-15 pragma: - no-cache server: @@ -504,7 +443,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1188' status: code: 202 message: Accepted @@ -512,7 +451,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -522,10 +461,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eccc7c04-d3d9-424b-b681-24430536ee83?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f680f32-bffa-425a-9b91-0fc82e3ccab0?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -537,7 +475,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:39:26 GMT pragma: - no-cache server: @@ -559,7 +497,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -569,13 +507,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"JecQAA==","_etag":"\"00000856-0000-0700-0000-606d82fd0000\"","_ts":1617789693}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"tw9CAA==","_etag":"\"02008cc6-0000-0700-0000-606fcc560000\"","_ts":1617939542}}}' headers: cache-control: - no-store, no-cache @@ -584,7 +521,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:39:26 GMT pragma: - no-cache server: @@ -616,15 +553,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"f5la","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"UU4I","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -633,7 +567,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:57 GMT + - Fri, 09 Apr 2021 03:39:28 GMT pragma: - no-cache server: @@ -667,10 +601,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -678,7 +609,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2a2f5ebc-c7bf-4f79-8647-4aba3ce34dbf?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f475663-4193-4f78-9b3e-9fd623778f56?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -686,9 +617,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:39:29 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/2a2f5ebc-c7bf-4f79-8647-4aba3ce34dbf?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/9f475663-4193-4f78-9b3e-9fd623778f56?api-version=2021-03-15 pragma: - no-cache server: @@ -700,7 +631,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 202 message: Accepted @@ -708,7 +639,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -718,10 +649,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2a2f5ebc-c7bf-4f79-8647-4aba3ce34dbf?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f475663-4193-4f78-9b3e-9fd623778f56?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -733,7 +663,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:28 GMT + - Fri, 09 Apr 2021 03:40:00 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb cassandra keyspace throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/9f475663-4193-4f78-9b3e-9fd623778f56?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToAutoscale","name":"UU4I","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '529' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:40:00 GMT pragma: - no-cache server: @@ -765,15 +741,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"f5la","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"UU4I","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -782,7 +755,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:29 GMT + - Fri, 09 Apr 2021 03:40:02 GMT pragma: - no-cache server: @@ -814,14 +787,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -829,7 +799,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f4f54fd-bfbb-4355-8aa1-43512b1bad93?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/291145a3-af2b-41d3-8d64-69f9fa155300?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -837,9 +807,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:40:02 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/operationResults/9f4f54fd-bfbb-4355-8aa1-43512b1bad93?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/operationResults/291145a3-af2b-41d3-8d64-69f9fa155300?api-version=2021-03-15 pragma: - no-cache server: @@ -851,7 +821,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1182' status: code: 202 message: Accepted @@ -859,7 +829,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -869,10 +839,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f4f54fd-bfbb-4355-8aa1-43512b1bad93?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/291145a3-af2b-41d3-8d64-69f9fa155300?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -884,7 +853,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:59 GMT + - Fri, 09 Apr 2021 03:40:33 GMT pragma: - no-cache server: @@ -906,7 +875,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -916,13 +885,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"f5la","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings","name":"UU4I","properties":{"resource":{"throughput":800,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -931,7 +899,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:00 GMT + - Fri, 09 Apr 2021 03:40:34 GMT pragma: - no-cache server: @@ -965,10 +933,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -976,7 +941,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d08ac1cf-a811-43fd-80f5-50abbddd97ea?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/79f43c7a-684d-4b66-b41c-1ac2aa3cccd6?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -984,9 +949,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:01 GMT + - Fri, 09 Apr 2021 03:40:35 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/d08ac1cf-a811-43fd-80f5-50abbddd97ea?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/79f43c7a-684d-4b66-b41c-1ac2aa3cccd6?api-version=2021-03-15 pragma: - no-cache server: @@ -998,7 +963,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 202 message: Accepted @@ -1006,7 +971,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1016,10 +981,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d08ac1cf-a811-43fd-80f5-50abbddd97ea?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/79f43c7a-684d-4b66-b41c-1ac2aa3cccd6?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1031,7 +995,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:31 GMT + - Fri, 09 Apr 2021 03:41:07 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb cassandra keyspace throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/79f43c7a-684d-4b66-b41c-1ac2aa3cccd6?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToManualThroughput","name":"UU4I","properties":{"resource":{"throughput":8000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '500' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:41:07 GMT pragma: - no-cache server: @@ -1065,14 +1075,11 @@ interactions: Content-Length: - '190' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a --keyspace-name -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004?api-version=2021-03-15 response: @@ -1080,7 +1087,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/54171b07-2ecb-4d12-aa00-cfcaef2cd635?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9b10fa92-5187-4301-ab6a-bf42cce341a8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1088,9 +1095,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:32 GMT + - Fri, 09 Apr 2021 03:41:08 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/operationResults/54171b07-2ecb-4d12-aa00-cfcaef2cd635?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/operationResults/9b10fa92-5187-4301-ab6a-bf42cce341a8?api-version=2021-03-15 pragma: - no-cache server: @@ -1102,7 +1109,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1189' status: code: 202 message: Accepted @@ -1110,7 +1117,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1120,10 +1127,9 @@ interactions: ParameterSetName: - -g -a --keyspace-name -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/54171b07-2ecb-4d12-aa00-cfcaef2cd635?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9b10fa92-5187-4301-ab6a-bf42cce341a8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1135,7 +1141,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:02 GMT + - Fri, 09 Apr 2021 03:41:38 GMT pragma: - no-cache server: @@ -1157,7 +1163,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1167,13 +1173,12 @@ interactions: ParameterSetName: - -g -a --keyspace-name -n --throughput --schema User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"JecQAI2NAaI=","_etag":"\"00009b56-0000-0700-0000-606d837b0000\"","_ts":1617789819,"defaultTtl":-1,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"tw9CAOY+s+Y=","_etag":"\"020096c6-0000-0700-0000-606fccda0000\"","_ts":1617939674,"defaultTtl":-1,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -1182,7 +1187,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:02 GMT + - Fri, 09 Apr 2021 03:41:39 GMT pragma: - no-cache server: @@ -1214,15 +1219,12 @@ interactions: ParameterSetName: - -g -a --keyspace-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"jA6z","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"WCCa","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1231,7 +1233,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:03 GMT + - Fri, 09 Apr 2021 03:41:40 GMT pragma: - no-cache server: @@ -1265,10 +1267,7 @@ interactions: ParameterSetName: - --throughput-type -g -a --keyspace-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -1276,7 +1275,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3210fa88-3b04-48de-973d-17022f55333e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c48c0644-2d1a-461d-bc1d-9e0d0e1a9eaa?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1284,9 +1283,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:04 GMT + - Fri, 09 Apr 2021 03:41:41 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/3210fa88-3b04-48de-973d-17022f55333e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/c48c0644-2d1a-461d-bc1d-9e0d0e1a9eaa?api-version=2021-03-15 pragma: - no-cache server: @@ -1298,7 +1297,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 202 message: Accepted @@ -1306,7 +1305,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1316,10 +1315,9 @@ interactions: ParameterSetName: - --throughput-type -g -a --keyspace-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3210fa88-3b04-48de-973d-17022f55333e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c48c0644-2d1a-461d-bc1d-9e0d0e1a9eaa?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1331,7 +1329,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:35 GMT + - Fri, 09 Apr 2021 03:42:12 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb cassandra table throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a --keyspace-name -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/c48c0644-2d1a-461d-bc1d-9e0d0e1a9eaa?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToAutoscale","name":"WCCa","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '559' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:42:13 GMT pragma: - no-cache server: @@ -1363,14 +1407,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a --keyspace-name -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -1378,7 +1419,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/96ff62aa-f848-4905-b7f5-619bb08fbb0a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/44fa33b5-be3f-4642-84db-708942048107?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1386,9 +1427,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:36 GMT + - Fri, 09 Apr 2021 03:42:14 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/operationResults/96ff62aa-f848-4905-b7f5-619bb08fbb0a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/operationResults/44fa33b5-be3f-4642-84db-708942048107?api-version=2021-03-15 pragma: - no-cache server: @@ -1400,7 +1441,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1177' status: code: 202 message: Accepted @@ -1408,7 +1449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1418,10 +1459,9 @@ interactions: ParameterSetName: - -g -a --keyspace-name -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/96ff62aa-f848-4905-b7f5-619bb08fbb0a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/44fa33b5-be3f-4642-84db-708942048107?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1433,7 +1473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:06 GMT + - Fri, 09 Apr 2021 03:42:43 GMT pragma: - no-cache server: @@ -1455,7 +1495,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1465,13 +1505,12 @@ interactions: ParameterSetName: - -g -a --keyspace-name -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"jA6z","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings","name":"WCCa","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -1480,7 +1519,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:07 GMT + - Fri, 09 Apr 2021 03:42:44 GMT pragma: - no-cache server: @@ -1514,10 +1553,7 @@ interactions: ParameterSetName: - --throughput-type -g -a --keyspace-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -1525,7 +1561,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4eeb828d-308e-43a3-9e75-dbe5ce60caf5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a1285875-a145-4793-baff-ed4a94182904?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1533,9 +1569,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:07 GMT + - Fri, 09 Apr 2021 03:42:46 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/4eeb828d-308e-43a3-9e75-dbe5ce60caf5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/a1285875-a145-4793-baff-ed4a94182904?api-version=2021-03-15 pragma: - no-cache server: @@ -1547,7 +1583,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 202 message: Accepted @@ -1555,7 +1591,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1565,10 +1601,9 @@ interactions: ParameterSetName: - --throughput-type -g -a --keyspace-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4eeb828d-308e-43a3-9e75-dbe5ce60caf5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a1285875-a145-4793-baff-ed4a94182904?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1580,7 +1615,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:38 GMT + - Fri, 09 Apr 2021 03:43:17 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb cassandra table throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a --keyspace-name -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/a1285875-a145-4793-baff-ed4a94182904?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/cassandraKeyspaces/cli000003/tables/cli000004/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToManualThroughput","name":"WCCa","properties":{"resource":{"throughput":5000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '530' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:43:17 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_table.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_table.yaml index 815c9504b2f..1888d041d9a 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_table.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_cassandra_table.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_cassandra_table000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001","name":"cli_test_cosmosdb_cassandra_table000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001","name":"cli_test_cosmosdb_cassandra_table000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:41 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '299' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:54.1232186Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9d1a6dc-393f-4c98-a0a5-5f96e9869ada","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:46.6860553Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"338b4af2-d637-4db7-bebf-f90bd05f0635","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableCassandra"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:56 GMT + - Fri, 09 Apr 2021 03:36:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1183' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:26 GMT + - Fri, 09 Apr 2021 03:37:20 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:56 GMT + - Fri, 09 Apr 2021 03:37:50 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,10 +260,9 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -281,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -303,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,10 +306,9 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/048286b8-babd-4dfb-9d01-f51f8ae0e91c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/66e7a9cd-fd61-423a-9ba4-5d80154c5f20?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -328,7 +320,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:39:21 GMT pragma: - no-cache server: @@ -350,7 +342,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -360,14 +352,13 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:46.2093266Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9d1a6dc-393f-4c98-a0a5-5f96e9869ada","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:35.6257886Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"338b4af2-d637-4db7-bebf-f90bd05f0635","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -380,7 +371,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:39:21 GMT pragma: - no-cache server: @@ -412,16 +403,13 @@ interactions: ParameterSetName: - -n -g --capabilities --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:46.2093266Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9d1a6dc-393f-4c98-a0a5-5f96e9869ada","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:35.6257886Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","cassandraEndpoint":"https://cli000003.cassandra.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Cassandra","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"338b4af2-d637-4db7-bebf-f90bd05f0635","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -434,7 +422,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:39:22 GMT pragma: - no-cache server: @@ -466,14 +454,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004?api-version=2021-03-15 response: @@ -481,7 +466,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6b13f518-25a8-42e0-ad8c-e275ae9133e0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8efdf679-bafc-4760-bc2c-1c4a79e86ddb?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -489,9 +474,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:39:24 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/operationResults/6b13f518-25a8-42e0-ad8c-e275ae9133e0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/operationResults/8efdf679-bafc-4760-bc2c-1c4a79e86ddb?api-version=2021-03-15 pragma: - no-cache server: @@ -503,7 +488,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1186' status: code: 202 message: Accepted @@ -511,7 +496,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -521,10 +506,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6b13f518-25a8-42e0-ad8c-e275ae9133e0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8efdf679-bafc-4760-bc2c-1c4a79e86ddb?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -536,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:39:54 GMT pragma: - no-cache server: @@ -558,7 +542,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -568,13 +552,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"MnNbAA==","_etag":"\"00002e00-0000-0700-0000-606d82fc0000\"","_ts":1617789692}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"+8JzAA==","_etag":"\"0000ed09-0000-0700-0000-606fcc700000\"","_ts":1617939568}}}' headers: cache-control: - no-store, no-cache @@ -583,7 +566,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:39:54 GMT pragma: - no-cache server: @@ -615,25 +598,22 @@ interactions: ParameterSetName: - -g -a -k -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 4b2f9780-9788-11eb-a7d6-705a0f2f2f32, Request URI: /apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/79f8d02a-80d9-4fcc-86a7-4a13f3e04f43/partitions/cdc3498c-3e6a-496c-a5c9-b36b537dc018/replicas/132616840810198240s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:02:00.2564683Z, RequestEndTime: - 2021-04-07T10:02:00.2664673Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:02:00.2664673Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11000/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/79f8d02a-80d9-4fcc-86a7-4a13f3e04f43/partitions/cdc3498c-3e6a-496c-a5c9-b36b537dc018/replicas/132616840810198240s, + 401ec780-98e5-11eb-9fbe-2cf05d45d149, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/290669bd-ab53-4b27-937b-03ee7c7e2166/partitions/4215c694-8675-4427-b5cb-65f8d29bb780/replicas/132623742055047706s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:39:56.9736282Z, RequestEndTime: + 2021-04-09T03:39:56.9736282Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:39:56.9736282Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.22:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/290669bd-ab53-4b27-937b-03ee7c7e2166/partitions/4215c694-8675-4427-b5cb-65f8d29bb780/replicas/132623742055047706s, LSN: 9, GlobalCommittedLsn: 9, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#9, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, - OperationType: Read\\r\\nResponseTime: 2021-04-07T10:02:00.2664673Z, StoreResult: - StorePhysicalAddress: rntbd://10.0.0.22:11300/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/79f8d02a-80d9-4fcc-86a7-4a13f3e04f43/partitions/cdc3498c-3e6a-496c-a5c9-b36b537dc018/replicas/132617576539611978s, + OperationType: Read\\r\\nResponseTime: 2021-04-09T03:39:56.9736282Z, StoreResult: + StorePhysicalAddress: rntbd://10.0.0.28:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/290669bd-ab53-4b27-937b-03ee7c7e2166/partitions/4215c694-8675-4427-b5cb-65f8d29bb780/replicas/132623742055047704s, LSN: 9, GlobalCommittedLsn: 9, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#9, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, @@ -647,7 +627,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:39:56 GMT pragma: - no-cache server: @@ -677,14 +657,11 @@ interactions: Content-Length: - '203' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: @@ -692,7 +669,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/515d212d-eb63-4a7c-aca3-aeb25398e288?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0bac80a0-42ce-4f1f-bcdc-c467f34b2f3d?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -700,9 +677,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:01 GMT + - Fri, 09 Apr 2021 03:39:57 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/515d212d-eb63-4a7c-aca3-aeb25398e288?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/0bac80a0-42ce-4f1f-bcdc-c467f34b2f3d?api-version=2021-03-15 pragma: - no-cache server: @@ -714,7 +691,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' status: code: 202 message: Accepted @@ -722,7 +699,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -732,10 +709,9 @@ interactions: ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/515d212d-eb63-4a7c-aca3-aeb25398e288?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0bac80a0-42ce-4f1f-bcdc-c467f34b2f3d?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -747,7 +723,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:31 GMT + - Fri, 09 Apr 2021 03:40:27 GMT pragma: - no-cache server: @@ -769,7 +745,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -779,13 +755,12 @@ interactions: ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003000-0000-0700-0000-606d83200000\"","_ts":1617789728,"defaultTtl":-1,"analyticalStorageTtl":3000,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000f209-0000-0700-0000-606fcc920000\"","_ts":1617939602,"defaultTtl":-1,"analyticalStorageTtl":3000,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -794,7 +769,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:40:28 GMT pragma: - no-cache server: @@ -826,15 +801,12 @@ interactions: ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003000-0000-0700-0000-606d83200000\"","_ts":1617789728,"defaultTtl":-1,"analyticalStorageTtl":3000,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000f209-0000-0700-0000-606fcc920000\"","_ts":1617939602,"defaultTtl":-1,"analyticalStorageTtl":3000,"schema":{"columns":[{"name":"columnA","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -843,7 +815,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:40:29 GMT pragma: - no-cache server: @@ -878,14 +850,11 @@ interactions: Content-Length: - '259' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: @@ -893,7 +862,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aaa38fbb-ec49-486c-b63c-78d0f47e13f9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/09c9340e-6eba-4f97-8859-c1da9216bb0a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -901,9 +870,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:40:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/aaa38fbb-ec49-486c-b63c-78d0f47e13f9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/09c9340e-6eba-4f97-8859-c1da9216bb0a?api-version=2021-03-15 pragma: - no-cache server: @@ -915,7 +884,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1183' status: code: 202 message: Accepted @@ -923,7 +892,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -933,10 +902,9 @@ interactions: ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aaa38fbb-ec49-486c-b63c-78d0f47e13f9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/09c9340e-6eba-4f97-8859-c1da9216bb0a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -948,7 +916,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:41:01 GMT pragma: - no-cache server: @@ -970,7 +938,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -980,13 +948,12 @@ interactions: ParameterSetName: - -g -a -k -n --schema --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003500-0000-0700-0000-606d833e0000\"","_ts":1617789758,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000fc09-0000-0700-0000-606fccb30000\"","_ts":1617939635,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -995,7 +962,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:41:01 GMT pragma: - no-cache server: @@ -1027,15 +994,12 @@ interactions: ParameterSetName: - -g -a -k -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003500-0000-0700-0000-606d833e0000\"","_ts":1617789758,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000fc09-0000-0700-0000-606fccb30000\"","_ts":1617939635,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -1044,7 +1008,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:04 GMT + - Fri, 09 Apr 2021 03:41:02 GMT pragma: - no-cache server: @@ -1076,15 +1040,12 @@ interactions: ParameterSetName: - -g -a -k User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003500-0000-0700-0000-606d833e0000\"","_ts":1617789758,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000fc09-0000-0700-0000-606fccb30000\"","_ts":1617939635,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}]}' headers: cache-control: - no-store, no-cache @@ -1093,7 +1054,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:05 GMT + - Fri, 09 Apr 2021 03:41:04 GMT pragma: - no-cache server: @@ -1125,15 +1086,12 @@ interactions: ParameterSetName: - -g -a -k -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MnNbAPbJQ8A=","_etag":"\"00003500-0000-0700-0000-606d833e0000\"","_ts":1617789758,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"+8JzAKLP-Xo=","_etag":"\"0000fc09-0000-0700-0000-606fccb30000\"","_ts":1617939635,"defaultTtl":-1,"analyticalStorageTtl":6000,"schema":{"columns":[{"name":"columnA","type":"ascii"},{"name":"columnB","type":"ascii"}],"partitionKeys":[{"name":"columnA"}]}}}}' headers: cache-control: - no-store, no-cache @@ -1142,7 +1100,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:41:04 GMT pragma: - no-cache server: @@ -1164,7 +1122,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1176,10 +1134,7 @@ interactions: ParameterSetName: - -g -a -k -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002?api-version=2021-03-15 response: @@ -1187,7 +1142,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/43a585c6-dd27-4235-acc9-5b5812f80f8b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3508fcca-f91e-4a60-827e-574140e4b8d8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1195,9 +1150,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:41:05 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/43a585c6-dd27-4235-acc9-5b5812f80f8b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables/cli000002/operationResults/3508fcca-f91e-4a60-827e-574140e4b8d8?api-version=2021-03-15 pragma: - no-cache server: @@ -1209,7 +1164,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14994' status: code: 202 message: Accepted @@ -1217,7 +1172,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1227,10 +1182,9 @@ interactions: ParameterSetName: - -g -a -k -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/43a585c6-dd27-4235-acc9-5b5812f80f8b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3508fcca-f91e-4a60-827e-574140e4b8d8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1242,7 +1196,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:41:36 GMT pragma: - no-cache server: @@ -1274,10 +1228,7 @@ interactions: ParameterSetName: - -g -a -k User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_cassandra_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/cassandraKeyspaces/cli000004/tables?api-version=2021-03-15 response: @@ -1291,7 +1242,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:41:37 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_collection.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_collection.yaml index b5da6d31d2b..f971eda93c7 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_collection.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_collection.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_collection000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001","name":"cli_test_cosmosdb_collection000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001","name":"cli_test_cosmosdb_collection000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:39 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.9424064Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:46.2127882Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e8f49ab-d338-4795-ba30-b88bd1501ac0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a9672435-51ea-49ca-8356-c3a0303d0470?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:55 GMT + - Fri, 09 Apr 2021 03:36:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/5e8f49ab-d338-4795-ba30-b88bd1501ac0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/a9672435-51ea-49ca-8356-c3a0303d0470?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1186' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e8f49ab-d338-4795-ba30-b88bd1501ac0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a9672435-51ea-49ca-8356-c3a0303d0470?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:25 GMT + - Fri, 09 Apr 2021 03:37:19 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e8f49ab-d338-4795-ba30-b88bd1501ac0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a9672435-51ea-49ca-8356-c3a0303d0470?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:55 GMT + - Fri, 09 Apr 2021 03:37:49 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5e8f49ab-d338-4795-ba30-b88bd1501ac0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a9672435-51ea-49ca-8356-c3a0303d0470?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:38:21 GMT pragma: - no-cache server: @@ -373,15 +363,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -390,7 +377,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:21 GMT pragma: - no-cache server: @@ -406,7 +393,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1192' status: code: 200 message: Ok @@ -424,16 +411,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -446,7 +430,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:22 GMT pragma: - no-cache server: @@ -482,7 +466,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:23 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -500,11 +484,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:24 GMT pragma: - no-cache server: @@ -548,7 +532,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:24 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -557,16 +541,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs response: body: - string: '{"id":"cli000004","_rid":"1wUrAA==","_self":"dbs\/1wUrAA==\/","_etag":"\"00001036-0000-0700-0000-606d82bb0000\"","_colls":"colls\/","_users":"users\/","_ts":1617789627}' + string: '{"id":"cli000004","_rid":"J8ANAA==","_self":"dbs\/J8ANAA==\/","_etag":"\"020081c6-0000-0700-0000-606fcc310000\"","_colls":"colls\/","_users":"users\/","_ts":1617939505}' headers: cache-control: - no-store, no-cache content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:38:24 GMT etag: - - '"00001036-0000-0700-0000-606d82bb0000"' + - '"020081c6-0000-0700-0000-606fcc310000"' lsn: - '8' pragma: @@ -578,7 +562,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 77d0adec-3921-4439-bde1-b5568675488c + - 7692df2a-d686-4a85-860b-82e09a277cbe x-ms-cosmos-llsn: - '8' x-ms-cosmos-quorum-acked-llsn: @@ -592,7 +576,7 @@ interactions: x-ms-global-committed-lsn: - '7' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:08:04.941 GMT + - Thu, 08 Apr 2021 22:45:43.491 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -600,7 +584,7 @@ interactions: x-ms-request-charge: - '4.95' x-ms-request-duration-ms: - - '25.379' + - '21.937' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -612,7 +596,7 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '64810' + - '5804' x-ms-xp-role: - '1' status: @@ -634,15 +618,12 @@ interactions: ParameterSetName: - -g -n -d -c --default-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -651,7 +632,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:26 GMT pragma: - no-cache server: @@ -667,7 +648,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: Ok @@ -685,16 +666,13 @@ interactions: ParameterSetName: - -g -n -d -c --default-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -707,7 +685,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:27 GMT pragma: - no-cache server: @@ -743,7 +721,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:28 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -761,11 +739,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:28 GMT pragma: - no-cache server: @@ -809,7 +787,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:29 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -818,7 +796,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -829,9 +807,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:30 GMT etag: - - '"00001236-0000-0700-0000-606d82bc0000"' + - '"020083c6-0000-0700-0000-606fcc360000"' lsn: - '1' pragma: @@ -843,9 +821,9 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - d5104397-1f21-4d41-9ecf-2f4ce9a035c5 + - cc533d9e-13c7-4f18-96cd-b8dd07849220 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-cosmos-item-llsn: - '1' x-ms-cosmos-llsn: @@ -867,7 +845,7 @@ interactions: x-ms-item-lsn: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:06.124 GMT + - Fri, 09 Apr 2021 00:15:05.871 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -875,7 +853,7 @@ interactions: x-ms-request-charge: - '1' x-ms-request-duration-ms: - - '0.536' + - '0.48' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -911,7 +889,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:30 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -920,16 +898,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/offers response: body: - string: '{"_rid":"","Offers":[{"resource":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","offerType":"Invalid","offerResourceId":"1wUrAIpSGVU=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"uV1f","_rid":"uV1f","_self":"offers\/uV1f\/","_etag":"\"00001336-0000-0700-0000-606d82bc0000\"","_ts":1617789628}],"_count":1}' + string: '{"_rid":"","Offers":[{"resource":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","offerType":"Invalid","offerResourceId":"J8ANAL7bZv8=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"WhFU","_rid":"WhFU","_self":"offers\/WhFU\/","_etag":"\"020084c6-0000-0700-0000-606fcc360000\"","_ts":1617939510}],"_count":1}' headers: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/offers + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/offers content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:31 GMT lsn: - '9' pragma: @@ -941,7 +919,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - a5496f9b-2bbc-419c-b688-d849b49d9862 + - d5a3e734-2ee0-44a2-86e8-a397775f3fb9 x-ms-cosmos-llsn: - '9' x-ms-gatewayversion: @@ -951,13 +929,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 08:18:24.024 GMT + - Thu, 08 Apr 2021 22:45:49.359 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.932' + - '0.428' x-ms-schemaversion: - '1.11' x-ms-serviceversion: @@ -965,7 +943,7 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '77873' + - '685382' x-ms-xp-role: - '1' status: @@ -987,15 +965,12 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -1004,7 +979,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:31 GMT pragma: - no-cache server: @@ -1020,7 +995,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: Ok @@ -1038,16 +1013,13 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1060,7 +1032,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:32 GMT pragma: - no-cache server: @@ -1096,7 +1068,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:32 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1114,11 +1086,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:33 GMT pragma: - no-cache server: @@ -1160,7 +1132,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:34 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -1169,7 +1141,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -1178,13 +1150,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:34 GMT etag: - - '"00001236-0000-0700-0000-606d82bc0000"' + - '"020083c6-0000-0700-0000-606fcc360000"' lsn: - '1' pragma: @@ -1196,21 +1168,15 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - fb980319-52c1-41f6-b66f-35de723f2c14 + - f74449d4-c9a2-41c1-ba12-33442abd7a11 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-item-llsn: - '1' x-ms-cosmos-llsn: - '1' - x-ms-cosmos-quorum-acked-llsn: - - '1' - x-ms-current-replica-set-size: - - '4' - x-ms-current-write-quorum: - - '3' x-ms-documentdb-collection-index-transformation-progress: - '100' x-ms-documentdb-partitionkeyrangeid: @@ -1222,15 +1188,13 @@ interactions: x-ms-item-lsn: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:06.124 GMT + - Fri, 09 Apr 2021 00:15:14.975 GMT x-ms-number-of-read-regions: - '0' - x-ms-quorum-acked-lsn: - - '1' x-ms-request-charge: - '1' x-ms-request-duration-ms: - - '0.574' + - '0.786' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -1244,7 +1208,7 @@ interactions: x-ms-transport-request-id: - '1' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok @@ -1266,7 +1230,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:35 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -1275,16 +1239,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/offers response: body: - string: '{"_rid":"","Offers":[{"resource":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","offerType":"Invalid","offerResourceId":"1wUrAIpSGVU=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"uV1f","_rid":"uV1f","_self":"offers\/uV1f\/","_etag":"\"00001336-0000-0700-0000-606d82bc0000\"","_ts":1617789628}],"_count":1}' + string: '{"_rid":"","Offers":[{"resource":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","offerType":"Invalid","offerResourceId":"J8ANAL7bZv8=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"WhFU","_rid":"WhFU","_self":"offers\/WhFU\/","_etag":"\"020084c6-0000-0700-0000-606fcc360000\"","_ts":1617939510}],"_count":1}' headers: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/offers + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/offers content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:34 GMT lsn: - '9' pragma: @@ -1296,7 +1260,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 2a94cda7-96dd-40ca-950b-faae881f8fb3 + - 8cfeb1b0-a8ea-4d74-8dbe-c36d4e38ba6e x-ms-cosmos-llsn: - '9' x-ms-gatewayversion: @@ -1306,13 +1270,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:35:16.238 GMT + - Thu, 08 Apr 2021 22:45:49.354 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.468' + - '0.623' x-ms-schemaversion: - '1.11' x-ms-serviceversion: @@ -1320,9 +1284,9 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '96037' + - '49316' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok @@ -1342,15 +1306,12 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -1359,7 +1320,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:35 GMT pragma: - no-cache server: @@ -1375,7 +1336,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -1393,16 +1354,13 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1415,7 +1373,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:36 GMT pragma: - no-cache server: @@ -1451,7 +1409,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:37 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1469,11 +1427,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:37 GMT pragma: - no-cache server: @@ -1498,7 +1456,7 @@ interactions: code: 200 message: Ok - request: - body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clibhyssftf4gar"}]}' + body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clijozonutmmrco"}]}' headers: Accept: - application/json @@ -1517,7 +1475,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:38 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -1528,7 +1486,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/ response: body: - string: '{"_rid":"1wUrAA==","DocumentCollections":[{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}],"_count":1}' + string: '{"_rid":"J8ANAA==","DocumentCollections":[{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}],"_count":1}' headers: cache-control: - no-store, no-cache @@ -1539,7 +1497,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:38 GMT lsn: - '9' pragma: @@ -1551,11 +1509,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 6c2346b6-00c6-449b-b19c-ab13a3713c3a + - 61a587ba-4333-42a4-a692-7acd800086ae x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -1569,13 +1527,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:35:16.238 GMT + - Thu, 08 Apr 2021 22:45:50.843 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.64' x-ms-request-duration-ms: - - '1.114' + - '1.15' x-ms-resource-quota: - collections=5000; x-ms-resource-usage: @@ -1587,7 +1545,7 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '124196' + - '272071' x-ms-xp-role: - '1' status: @@ -1609,15 +1567,12 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -1626,7 +1581,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:39 GMT pragma: - no-cache server: @@ -1642,7 +1597,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -1660,16 +1615,13 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1682,7 +1634,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:40 GMT pragma: - no-cache server: @@ -1718,7 +1670,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:40 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1736,11 +1688,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:41 GMT pragma: - no-cache server: @@ -1784,7 +1736,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:41 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -1795,7 +1747,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/ response: body: - string: '{"_rid":"1wUrAA==","DocumentCollections":[],"_count":0}' + string: '{"_rid":"J8ANAA==","DocumentCollections":[],"_count":0}' headers: cache-control: - no-store, no-cache @@ -1806,7 +1758,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:41 GMT lsn: - '9' pragma: @@ -1818,11 +1770,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 3be871ea-db8a-49cb-b9b3-f43e2f0d23dc + - dd70c858-21e2-4426-ad54-8e770518404d x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -1836,13 +1788,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:35:16.238 GMT + - Thu, 08 Apr 2021 22:45:49.354 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.58' x-ms-request-duration-ms: - - '0.822' + - '0.714' x-ms-resource-quota: - collections=5000; x-ms-resource-usage: @@ -1854,9 +1806,9 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '26996' + - '56879' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok @@ -1876,15 +1828,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -1893,7 +1842,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:43 GMT pragma: - no-cache server: @@ -1909,7 +1858,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 200 message: Ok @@ -1927,16 +1876,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1949,7 +1895,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:43 GMT pragma: - no-cache server: @@ -1985,7 +1931,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:44 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -2003,11 +1949,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:44 GMT pragma: - no-cache server: @@ -2049,7 +1995,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:45 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -2058,16 +2004,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/ response: body: - string: '{"_rid":"1wUrAA==","DocumentCollections":[{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}],"_count":1}' + string: '{"_rid":"J8ANAA==","DocumentCollections":[{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}],"_count":1}' headers: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:45 GMT lsn: - '9' pragma: @@ -2079,11 +2025,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 125d7b68-8fb2-4e8a-ba5d-673e1f794a3e + - 6d4aba2f-d91d-4b4d-8b69-d2272b9bfdee x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-llsn: - '9' x-ms-gatewayversion: @@ -2093,13 +2039,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 08:18:24.024 GMT + - Thu, 08 Apr 2021 22:45:49.359 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.82' + - '0.705' x-ms-resource-quota: - collections=5000; x-ms-resource-usage: @@ -2111,7 +2057,7 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '71683' + - '632903' x-ms-xp-role: - '1' status: @@ -2133,15 +2079,12 @@ interactions: ParameterSetName: - --throughput -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -2150,7 +2093,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:46 GMT pragma: - no-cache server: @@ -2166,7 +2109,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: Ok @@ -2184,16 +2127,13 @@ interactions: ParameterSetName: - --throughput -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -2206,7 +2146,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:47 GMT pragma: - no-cache server: @@ -2242,7 +2182,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:48 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -2260,11 +2200,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:48 GMT pragma: - no-cache server: @@ -2306,7 +2246,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:49 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -2315,7 +2255,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -2324,13 +2264,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:49 GMT etag: - - '"00001236-0000-0700-0000-606d82bc0000"' + - '"020083c6-0000-0700-0000-606fcc360000"' lsn: - '1' pragma: @@ -2342,11 +2282,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 9c70b92c-1fcd-4304-a307-7dd7031097c8 + - 96d894c0-cd15-4424-9d12-72f1f32738a8 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-item-llsn: - '1' x-ms-cosmos-llsn: @@ -2362,13 +2302,13 @@ interactions: x-ms-item-lsn: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:20.466 GMT + - Fri, 09 Apr 2021 00:15:14.973 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '1' x-ms-request-duration-ms: - - '0.571' + - '0.579' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -2380,7 +2320,7 @@ interactions: x-ms-session-token: - 0:-1#1 x-ms-transport-request-id: - - '2' + - '1' x-ms-xp-role: - '1' status: @@ -2404,7 +2344,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:50 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -2413,16 +2353,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/offers response: body: - string: '{"_rid":"","Offers":[{"resource":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","offerType":"Invalid","offerResourceId":"1wUrAIpSGVU=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"uV1f","_rid":"uV1f","_self":"offers\/uV1f\/","_etag":"\"00001336-0000-0700-0000-606d82bc0000\"","_ts":1617789628}],"_count":1}' + string: '{"_rid":"","Offers":[{"resource":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","offerType":"Invalid","offerResourceId":"J8ANAL7bZv8=","offerVersion":"V2","content":{"offerThroughput":400,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"WhFU","_rid":"WhFU","_self":"offers\/WhFU\/","_etag":"\"020084c6-0000-0700-0000-606fcc360000\"","_ts":1617939510}],"_count":1}' headers: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/offers + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/offers content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:50 GMT lsn: - '9' pragma: @@ -2434,7 +2374,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 9126fc10-ab36-4470-b8c9-451ed2900e4f + - 0e905a42-9713-495e-aee9-176b1e9d129e x-ms-cosmos-llsn: - '9' x-ms-gatewayversion: @@ -2444,13 +2384,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 18:35:28.285 GMT + - Thu, 08 Apr 2021 22:45:50.843 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.542' + - '0.601' x-ms-schemaversion: - '1.11' x-ms-serviceversion: @@ -2458,14 +2398,14 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '2096' + - '211452' x-ms-xp-role: - - '2' + - '1' status: code: 200 message: Ok - request: - body: '{"resource":"dbs/1wUrAA==/colls/1wUrAIpSGVU=/","offerType":"Invalid","offerResourceId":"1wUrAIpSGVU=","offerVersion":"V2","content":{"offerThroughput":500,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"uV1f","_rid":"uV1f","_self":"offers/uV1f/","_etag":"\"00001336-0000-0700-0000-606d82bc0000\"","_ts":1617789628}' + body: '{"resource":"dbs/J8ANAA==/colls/J8ANAL7bZv8=/","offerType":"Invalid","offerResourceId":"J8ANAL7bZv8=","offerVersion":"V2","content":{"offerThroughput":500,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":400,"maxConsumedStorageEverInKB":0}},"id":"WhFU","_rid":"WhFU","_self":"offers/WhFU/","_etag":"\"020084c6-0000-0700-0000-606fcc360000\"","_ts":1617939510}' headers: Accept: - application/json @@ -2484,27 +2424,27 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:50 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: - '2018-09-17' method: PUT - uri: https://cli000003-westus.documents.azure.com/offers/uV1f/ + uri: https://cli000003-westus.documents.azure.com/offers/WhFU/ response: body: - string: '{"resource":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","offerType":"Invalid","offerResourceId":"1wUrAIpSGVU=","offerVersion":"V2","content":{"offerThroughput":500,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":500,"maxConsumedStorageEverInKB":0},"offerLastReplaceTimestamp":1617789634},"id":"uV1f","_rid":"uV1f","_self":"offers\/uV1f\/","_etag":"\"00001636-0000-0700-0000-606d82c20000\"","_ts":1617789634}' + string: '{"resource":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","offerType":"Invalid","offerResourceId":"J8ANAL7bZv8=","offerVersion":"V2","content":{"offerThroughput":500,"offerIsRUPerMinuteThroughputEnabled":false,"offerMinimumThroughputParameters":{"maxThroughputEverProvisioned":500,"maxConsumedStorageEverInKB":0},"offerLastReplaceTimestamp":1617939530},"id":"WhFU","_rid":"WhFU","_self":"offers\/WhFU\/","_etag":"\"020087c6-0000-0700-0000-606fcc4a0000\"","_ts":1617939530}' headers: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/offers/uV1f/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/offers/WhFU/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:50 GMT etag: - - '"00001636-0000-0700-0000-606d82c20000"' + - '"020087c6-0000-0700-0000-606fcc4a0000"' lsn: - '10' pragma: @@ -2516,7 +2456,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 39006038-ac90-4b7b-ad48-aff6a7b1bd83 + - cc610171-6826-49e4-a792-4c22711ff89e x-ms-cosmos-llsn: - '10' x-ms-cosmos-quorum-acked-llsn: @@ -2530,7 +2470,7 @@ interactions: x-ms-global-committed-lsn: - '9' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:08:04.941 GMT + - Thu, 08 Apr 2021 22:45:43.491 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -2538,7 +2478,7 @@ interactions: x-ms-request-charge: - '9.9' x-ms-request-duration-ms: - - '31.579' + - '18.175' x-ms-schemaversion: - '1.11' x-ms-serviceversion: @@ -2546,7 +2486,7 @@ interactions: x-ms-session-token: - 0:-1#10 x-ms-transport-request-id: - - '12624' + - '5808' x-ms-xp-role: - '1' status: @@ -2568,15 +2508,12 @@ interactions: ParameterSetName: - --default-ttl -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -2585,7 +2522,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -2619,16 +2556,13 @@ interactions: ParameterSetName: - --default-ttl -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -2641,7 +2575,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -2677,7 +2611,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:52 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -2695,11 +2629,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:52 GMT pragma: - no-cache server: @@ -2741,7 +2675,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:53 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -2750,7 +2684,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -2759,13 +2693,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:54 GMT etag: - - '"00001236-0000-0700-0000-606d82bc0000"' + - '"020083c6-0000-0700-0000-606fcc360000"' lsn: - '2' pragma: @@ -2777,15 +2711,21 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 59fc14fb-8cdf-4c29-8903-56c7b8a570ac + - 74b779b8-2c80-41c0-8523-05c62d37fdee x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-item-llsn: - '1' x-ms-cosmos-llsn: - '2' + x-ms-cosmos-quorum-acked-llsn: + - '2' + x-ms-current-replica-set-size: + - '4' + x-ms-current-write-quorum: + - '3' x-ms-documentdb-collection-index-transformation-progress: - '100' x-ms-documentdb-partitionkeyrangeid: @@ -2797,13 +2737,15 @@ interactions: x-ms-item-lsn: - '1' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:20.466 GMT + - Fri, 09 Apr 2021 00:15:05.871 GMT x-ms-number-of-read-regions: - '0' + x-ms-quorum-acked-lsn: + - '2' x-ms-request-charge: - '1' x-ms-request-duration-ms: - - '0.76' + - '0.692' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -2815,14 +2757,14 @@ interactions: x-ms-session-token: - 0:-1#2 x-ms-transport-request-id: - - '1' + - '4' x-ms-xp-role: - '1' status: code: 200 message: Ok - request: - body: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789628,"_self":"dbs/1wUrAA==/colls/1wUrAIpSGVU=/","_etag":"\"00001236-0000-0700-0000-606d82bc0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","defaultTtl":1000}' + body: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939510,"_self":"dbs/J8ANAA==/colls/J8ANAL7bZv8=/","_etag":"\"020083c6-0000-0700-0000-606fcc360000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","defaultTtl":1000}' headers: Accept: - application/json @@ -2841,7 +2783,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:54 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -2850,7 +2792,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"defaultTtl":1000,"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789635,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001736-0000-0700-0000-606d82c30000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"defaultTtl":1000,"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939534,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020088c6-0000-0700-0000-606fcc4e0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -2859,13 +2801,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:54 GMT etag: - - '"00001736-0000-0700-0000-606d82c30000"' + - '"020088c6-0000-0700-0000-606fcc4e0000"' lsn: - '3' pragma: @@ -2877,9 +2819,9 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 57a389e6-fba0-4a5b-84ee-1150b790b8eb + - ecff9d52-285b-4c17-9a57-19da3cd96d40 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-cosmos-llsn: - '3' x-ms-cosmos-quorum-acked-llsn: @@ -2895,7 +2837,7 @@ interactions: x-ms-global-committed-lsn: - '2' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:06.124 GMT + - Fri, 09 Apr 2021 00:15:05.871 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -2903,7 +2845,7 @@ interactions: x-ms-request-charge: - '9.9' x-ms-request-duration-ms: - - '9.681' + - '8.397' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -2915,7 +2857,7 @@ interactions: x-ms-session-token: - 0:-1#3 x-ms-transport-request-id: - - '10' + - '5' x-ms-xp-role: - '1' status: @@ -2937,15 +2879,12 @@ interactions: ParameterSetName: - --default-ttl -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -2954,7 +2893,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:54 GMT pragma: - no-cache server: @@ -2970,7 +2909,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -2988,16 +2927,13 @@ interactions: ParameterSetName: - --default-ttl -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -3010,7 +2946,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:55 GMT pragma: - no-cache server: @@ -3046,7 +2982,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:56 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -3064,11 +3000,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:56 GMT pragma: - no-cache server: @@ -3110,7 +3046,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:38:57 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -3119,7 +3055,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"defaultTtl":1000,"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789635,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001736-0000-0700-0000-606d82c30000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"defaultTtl":1000,"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939534,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"020088c6-0000-0700-0000-606fcc4e0000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -3128,13 +3064,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:38:57 GMT etag: - - '"00001736-0000-0700-0000-606d82c30000"' + - '"020088c6-0000-0700-0000-606fcc4e0000"' lsn: - '3' pragma: @@ -3146,11 +3082,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - f3593e11-fd44-47bf-9c97-799d7a5bac2a + - afa5be82-9e44-496b-93fd-160c877bbc80 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-item-llsn: - '3' x-ms-cosmos-llsn: @@ -3172,7 +3108,7 @@ interactions: x-ms-item-lsn: - '3' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:06.124 GMT + - Fri, 09 Apr 2021 00:15:05.871 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -3180,7 +3116,7 @@ interactions: x-ms-request-charge: - '1' x-ms-request-duration-ms: - - '0.618' + - '0.635' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -3192,14 +3128,14 @@ interactions: x-ms-session-token: - 0:-1#3 x-ms-transport-request-id: - - '11' + - '1' x-ms-xp-role: - '1' status: code: 200 message: Ok - request: - body: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789635,"_self":"dbs/1wUrAA==/colls/1wUrAIpSGVU=/","_etag":"\"00001736-0000-0700-0000-606d82c30000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}' + body: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939534,"_self":"dbs/J8ANAA==/colls/J8ANAL7bZv8=/","_etag":"\"020088c6-0000-0700-0000-606fcc4e0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}' headers: Accept: - application/json @@ -3218,7 +3154,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:38:58 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -3227,7 +3163,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/cli000002/ response: body: - string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"1wUrAIpSGVU=","_ts":1617789636,"_self":"dbs\/1wUrAA==\/colls\/1wUrAIpSGVU=\/","_etag":"\"00001836-0000-0700-0000-606d82c40000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' + string: '{"id":"cli000002","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"\/*"}],"excludedPaths":[{"path":"\/\"_etag\"\/?"}]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"\/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"J8ANAL7bZv8=","_ts":1617939538,"_self":"dbs\/J8ANAA==\/colls\/J8ANAL7bZv8=\/","_etag":"\"02008ac6-0000-0700-0000-606fcc520000\"","_docs":"docs\/","_sprocs":"sprocs\/","_triggers":"triggers\/","_udfs":"udfs\/","_conflicts":"conflicts\/"}' headers: cache-control: - no-store, no-cache @@ -3236,13 +3172,13 @@ interactions: collection-service-index: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:38:57 GMT etag: - - '"00001836-0000-0700-0000-606d82c40000"' + - '"02008ac6-0000-0700-0000-606fcc520000"' lsn: - '4' pragma: @@ -3254,9 +3190,9 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - e79d94f2-a335-4881-bb93-ddc730cefae7 + - a9cbd514-24c6-47bc-9f37-e2cecbff4583 x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-cosmos-llsn: - '4' x-ms-cosmos-quorum-acked-llsn: @@ -3272,7 +3208,7 @@ interactions: x-ms-global-committed-lsn: - '3' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 05:15:06.124 GMT + - Fri, 09 Apr 2021 00:15:05.871 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -3280,7 +3216,7 @@ interactions: x-ms-request-charge: - '9.9' x-ms-request-duration-ms: - - '8.523' + - '9.181' x-ms-resource-quota: - functions=25;storedProcedures=100;triggers=25;documentSize=10240;documentsSize=10485760;documentsCount=-1;collectionSize=10485760; x-ms-resource-usage: @@ -3292,7 +3228,7 @@ interactions: x-ms-session-token: - 0:-1#4 x-ms-transport-request-id: - - '12' + - '2' x-ms-xp-role: - '1' status: @@ -3314,15 +3250,12 @@ interactions: ParameterSetName: - -g -n -d -c --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -3331,7 +3264,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:38:58 GMT pragma: - no-cache server: @@ -3347,7 +3280,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1195' status: code: 200 message: Ok @@ -3365,16 +3298,13 @@ interactions: ParameterSetName: - -g -n -d -c --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -3387,7 +3317,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:38:59 GMT pragma: - no-cache server: @@ -3423,7 +3353,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:39:00 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -3441,11 +3371,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:36 GMT + - Fri, 09 Apr 2021 03:39:00 GMT pragma: - no-cache server: @@ -3487,7 +3417,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:37 GMT + - Fri, 09 Apr 2021 03:39:01 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -3507,11 +3437,11 @@ interactions: content-length: - '0' content-location: - - https://clia2hyrzvqhewd-westus.documents.azure.com/dbs/clijjr3wowbmfjf/colls/clibhyssftf4gar/ + - https://cli4ok2jg7cfxm6-westus.documents.azure.com/dbs/clio45oolhqbwlw/colls/clijozonutmmrco/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:37 GMT + - Fri, 09 Apr 2021 03:39:01 GMT lsn: - '13' pragma: @@ -3521,9 +3451,9 @@ interactions: strict-transport-security: - max-age=31536000 x-ms-activity-id: - - 570a58fb-252c-46c1-a406-89f5da97b598 + - 6543535e-ba18-44ab-9050-7fe5ffac4d8d x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-cosmos-llsn: - '13' x-ms-cosmos-quorum-acked-llsn: @@ -3537,7 +3467,7 @@ interactions: x-ms-global-committed-lsn: - '12' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:08:04.941 GMT + - Thu, 08 Apr 2021 22:45:43.491 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -3545,7 +3475,7 @@ interactions: x-ms-request-charge: - '4.95' x-ms-request-duration-ms: - - '31.694' + - '19.929' x-ms-resource-quota: - collections=5000; x-ms-resource-usage: @@ -3557,7 +3487,7 @@ interactions: x-ms-session-token: - 0:-1#13 x-ms-transport-request-id: - - '53306' + - '5695' x-ms-xp-role: - '1' status: @@ -3579,15 +3509,12 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"G5WuIKiEjOp0JbAOLyb6nx288Aqnwu0W69QRYCwlcoiv7uOALZTRh6Pjw69ZiF8xfaYB6sTHlULjeLgTTISU0w==","secondaryMasterKey":"ST2Szcce8C6fAND2NM6B30mijgszDCzgjCIxjQgPfDcCzHdvOy5MNFS6TYeA1JZg3fFiwv2N7nCfPzgyKZk8Hw==","primaryReadonlyMasterKey":"4yrtjb3vVUJY2dn19jiptvYiqczwTGkF4IqDRYKG3StAdwGvgLSJ47fjittdOXCVDFgj408cH0QH23LIMeRJWw==","secondaryReadonlyMasterKey":"gSGjw7p0nQimGC7pfCHv2NXjpJnPMxSnieUL19MsNskZQTvaK0sdIUR4gboGQWhbemtFtWO77ZZtiVG12nsZ0Q=="}' + string: '{"primaryMasterKey":"67qxjr9UVE3FCV0NDUfXYKl5XkKBK2cAS3ac4RE6cWtBP0TJDtELwCnqelbXAhOUqbpeKgxQNcnFeLe1vIBtLg==","secondaryMasterKey":"GYN6tM62DQBt3UvDW6VLeO3eJ73qIin4TXXaSwO9pNyA5SPVwnduUHFUmCm2LzlyTqBmXFI3jS1otITvYeQAlg==","primaryReadonlyMasterKey":"DSWUIecF3bFNhHI4qCFsk01ZR54TbPTNPxlBdUFcU3u8sFljNfqRmZPyYQXwK4UlRCrdOGoDAkQap4GsnYqj4A==","secondaryReadonlyMasterKey":"6tAGJSiGnhgDgHJ5vwrjzKDzHeqVShshipx6gIDfonuUu8ZhBXao19QVnuqK5LU1QcdX65GspigmlQ8vVnc4ZA=="}' headers: cache-control: - no-store, no-cache @@ -3596,7 +3523,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:37 GMT + - Fri, 09 Apr 2021 03:39:02 GMT pragma: - no-cache server: @@ -3612,7 +3539,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -3630,16 +3557,13 @@ interactions: ParameterSetName: - -g -n -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:46.5113798Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"6bfc5ba8-be61-4a3c-ac99-7231fcfa0c57","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:39.7320346Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"45e37bc5-2569-4f43-addc-474656b27e82","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -3652,7 +3576,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:38 GMT + - Fri, 09 Apr 2021 03:39:03 GMT pragma: - no-cache server: @@ -3688,7 +3612,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:38 GMT + - Fri, 09 Apr 2021 03:39:04 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -3706,11 +3630,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clia2hyrzvqhewd.documents.azure.com/ + - https://cli4ok2jg7cfxm6.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:37 GMT + - Fri, 09 Apr 2021 03:39:05 GMT pragma: - no-cache server: @@ -3735,7 +3659,7 @@ interactions: code: 200 message: Ok - request: - body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clibhyssftf4gar"}]}' + body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clijozonutmmrco"}]}' headers: Accept: - application/json @@ -3754,7 +3678,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:38 GMT + - Fri, 09 Apr 2021 03:39:05 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -3765,7 +3689,7 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000004/colls/ response: body: - string: '{"_rid":"1wUrAA==","DocumentCollections":[],"_count":0}' + string: '{"_rid":"J8ANAA==","DocumentCollections":[],"_count":0}' headers: cache-control: - no-store, no-cache @@ -3776,7 +3700,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:38 GMT + - Fri, 09 Apr 2021 03:39:05 GMT lsn: - '15' pragma: @@ -3788,11 +3712,11 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 71b14c64-0c86-4d29-8a5f-3c9790792096 + - 7a6a634f-3d6d-43fa-8b8e-7a0c07dd09db x-ms-alt-content-path: - - dbs/clijjr3wowbmfjf + - dbs/clio45oolhqbwlw x-ms-content-path: - - 1wUrAA== + - J8ANAA== x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -3806,13 +3730,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:35:16.238 GMT + - Thu, 08 Apr 2021 22:45:49.354 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.58' x-ms-request-duration-ms: - - '0.754' + - '1.054' x-ms-resource-quota: - collections=5000; x-ms-resource-usage: @@ -3824,9 +3748,9 @@ interactions: x-ms-session-token: - 0:-1#15 x-ms-transport-request-id: - - '124215' + - '43449' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_database.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_database.yaml index 51cc2cc6e24..d1bee394870 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_database.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_database.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_database000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001","name":"cli_test_cosmosdb_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001","name":"cli_test_cosmosdb_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:40 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:54.1546636Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:46.5680309Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f98ec36-5cc7-4311-a09d-33f1182d858c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/47b1d3e3-b054-41c8-a08a-61ebbbe23721?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:56 GMT + - Fri, 09 Apr 2021 03:36:48 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/3f98ec36-5cc7-4311-a09d-33f1182d858c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/47b1d3e3-b054-41c8-a08a-61ebbbe23721?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1185' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f98ec36-5cc7-4311-a09d-33f1182d858c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/47b1d3e3-b054-41c8-a08a-61ebbbe23721?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:26 GMT + - Fri, 09 Apr 2021 03:37:19 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f98ec36-5cc7-4311-a09d-33f1182d858c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/47b1d3e3-b054-41c8-a08a-61ebbbe23721?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:56 GMT + - Fri, 09 Apr 2021 03:37:49 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f98ec36-5cc7-4311-a09d-33f1182d858c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/47b1d3e3-b054-41c8-a08a-61ebbbe23721?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:19 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -373,15 +363,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -390,7 +377,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:21 GMT pragma: - no-cache server: @@ -406,7 +393,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: Ok @@ -424,16 +411,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -446,7 +430,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:21 GMT pragma: - no-cache server: @@ -482,7 +466,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:22 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -500,11 +484,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:27 GMT + - Fri, 09 Apr 2021 03:38:22 GMT pragma: - no-cache server: @@ -548,7 +532,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:23 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -557,16 +541,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs response: body: - string: '{"id":"cli000002","_rid":"xZgSAA==","_self":"dbs\/xZgSAA==\/","_etag":"\"00008818-0000-0700-0000-606d82bc0000\"","_colls":"colls\/","_users":"users\/","_ts":1617789628}' + string: '{"id":"cli000002","_rid":"tXRJAA==","_self":"dbs\/tXRJAA==\/","_etag":"\"00003223-0000-0700-0000-606fcc300000\"","_colls":"colls\/","_users":"users\/","_ts":1617939504}' headers: cache-control: - no-store, no-cache content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:24 GMT etag: - - '"00008818-0000-0700-0000-606d82bc0000"' + - '"00003223-0000-0700-0000-606fcc300000"' lsn: - '8' pragma: @@ -578,7 +562,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 16467762-476c-410b-8550-bb9c7ccc479e + - 3eb6dac6-90dd-4f14-abb0-36a24a48cace x-ms-cosmos-llsn: - '8' x-ms-cosmos-quorum-acked-llsn: @@ -592,7 +576,7 @@ interactions: x-ms-global-committed-lsn: - '7' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:08:04.931 GMT + - Wed, 07 Apr 2021 02:04:21.336 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -600,7 +584,7 @@ interactions: x-ms-request-charge: - '4.95' x-ms-request-duration-ms: - - '30.094' + - '28.021' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -612,7 +596,7 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '40707' + - '248843' x-ms-xp-role: - '1' status: @@ -634,15 +618,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -651,7 +632,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:24 GMT pragma: - no-cache server: @@ -667,7 +648,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: Ok @@ -685,16 +666,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -707,7 +685,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:26 GMT pragma: - no-cache server: @@ -743,7 +721,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:26 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -761,11 +739,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:38:26 GMT pragma: - no-cache server: @@ -807,7 +785,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:27 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -816,18 +794,18 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs/cli000002/ response: body: - string: '{"id":"cli000002","_rid":"xZgSAA==","_self":"dbs\/xZgSAA==\/","_etag":"\"00008818-0000-0700-0000-606d82bc0000\"","_colls":"colls\/","_users":"users\/","_ts":1617789628}' + string: '{"id":"cli000002","_rid":"tXRJAA==","_self":"dbs\/tXRJAA==\/","_etag":"\"00003223-0000-0700-0000-606fcc300000\"","_colls":"colls\/","_users":"users\/","_ts":1617939504}' headers: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx-westus.documents.azure.com/dbs/cliezvrzmcpmhev/ + - https://cli4diin7vdmext-westus.documents.azure.com/dbs/clibid2z5f5jwpg/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:27 GMT etag: - - '"00008818-0000-0700-0000-606d82bc0000"' + - '"00003223-0000-0700-0000-606fcc300000"' lsn: - '8' pragma: @@ -839,7 +817,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 652f2cbc-53f7-487a-8e1e-e84a8f70ac29 + - 3c7afcd4-9f1e-4620-be90-3ae0ff68d6c2 x-ms-cosmos-item-llsn: - '8' x-ms-cosmos-llsn: @@ -851,13 +829,13 @@ interactions: x-ms-item-lsn: - '8' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 20:48:19.031 GMT + - Wed, 07 Apr 2021 02:28:59.355 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.395' + - '0.317' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -869,9 +847,9 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '1547' + - '289494' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok @@ -891,15 +869,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -908,7 +883,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:28 GMT pragma: - no-cache server: @@ -924,7 +899,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -942,16 +917,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -964,7 +936,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:29 GMT pragma: - no-cache server: @@ -1000,7 +972,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:29 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1018,11 +990,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:29 GMT pragma: - no-cache server: @@ -1047,7 +1019,7 @@ interactions: code: 200 message: Ok - request: - body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"cliezvrzmcpmhev"}]}' + body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clibid2z5f5jwpg"}]}' headers: Accept: - application/json @@ -1066,7 +1038,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:30 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -1077,14 +1049,14 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs response: body: - string: '{"_rid":"","Databases":[{"id":"cli000002","_rid":"xZgSAA==","_self":"dbs\/xZgSAA==\/","_etag":"\"00008818-0000-0700-0000-606d82bc0000\"","_colls":"colls\/","_users":"users\/","_ts":1617789628}],"_count":1}' + string: '{"_rid":"","Databases":[{"id":"cli000002","_rid":"tXRJAA==","_self":"dbs\/tXRJAA==\/","_etag":"\"00003223-0000-0700-0000-606fcc300000\"","_colls":"colls\/","_users":"users\/","_ts":1617939504}],"_count":1}' headers: cache-control: - no-store, no-cache content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:38:31 GMT lsn: - '8' pragma: @@ -1096,7 +1068,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - bd026819-2eaf-46e9-b84d-765c405c8f11 + - 05b0a58f-2bec-4fe3-bb00-9e26a0d23047 x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -1110,13 +1082,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 18:35:29.375 GMT + - Wed, 07 Apr 2021 08:18:35.104 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.64' x-ms-request-duration-ms: - - '0.796' + - '0.733' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -1128,9 +1100,9 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '10961' + - '243110' x-ms-xp-role: - - '2' + - '1' status: code: 200 message: Ok @@ -1150,15 +1122,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -1167,7 +1136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:31 GMT pragma: - no-cache server: @@ -1183,7 +1152,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1191' status: code: 200 message: Ok @@ -1201,16 +1170,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1223,7 +1189,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:32 GMT pragma: - no-cache server: @@ -1259,7 +1225,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:33 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1277,11 +1243,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:33 GMT pragma: - no-cache server: @@ -1325,7 +1291,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:34 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -1343,7 +1309,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:30 GMT + - Fri, 09 Apr 2021 03:38:35 GMT lsn: - '8' pragma: @@ -1355,7 +1321,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - e6e550f2-5e95-42f1-a1f5-ae0b1d7cdfca + - dec0b216-ff63-469f-8771-2c7f458ae45c x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -1369,13 +1335,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 18:35:29.375 GMT + - Wed, 07 Apr 2021 02:28:59.355 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.58' x-ms-request-duration-ms: - - '0.635' + - '0.673' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -1387,7 +1353,7 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '10962' + - '273640' x-ms-xp-role: - '2' status: @@ -1409,15 +1375,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -1426,7 +1389,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:36 GMT pragma: - no-cache server: @@ -1442,7 +1405,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: Ok @@ -1460,16 +1423,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1482,7 +1442,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:36 GMT pragma: - no-cache server: @@ -1518,7 +1478,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:37 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1536,11 +1496,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:38 GMT pragma: - no-cache server: @@ -1582,7 +1542,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:38 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -1591,16 +1551,16 @@ interactions: uri: https://cli000003-westus.documents.azure.com/dbs response: body: - string: '{"_rid":"","Databases":[{"id":"cli000002","_rid":"xZgSAA==","_self":"dbs\/xZgSAA==\/","_etag":"\"00008818-0000-0700-0000-606d82bc0000\"","_colls":"colls\/","_users":"users\/","_ts":1617789628}],"_count":1}' + string: '{"_rid":"","Databases":[{"id":"cli000002","_rid":"tXRJAA==","_self":"dbs\/tXRJAA==\/","_etag":"\"00003223-0000-0700-0000-606fcc300000\"","_colls":"colls\/","_users":"users\/","_ts":1617939504}],"_count":1}' headers: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx-westus.documents.azure.com/dbs + - https://cli4diin7vdmext-westus.documents.azure.com/dbs content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:31 GMT + - Fri, 09 Apr 2021 03:38:38 GMT lsn: - '8' pragma: @@ -1612,7 +1572,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - fbd07771-fe4b-4756-9046-2d51f67fca8a + - 47f42ae4-02e1-497c-b656-0d910937ab2e x-ms-cosmos-llsn: - '8' x-ms-gatewayversion: @@ -1622,13 +1582,13 @@ interactions: x-ms-item-count: - '1' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 20:48:19.031 GMT + - Wed, 07 Apr 2021 02:28:59.355 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '1.029' + - '0.63' x-ms-resource-quota: - databases=1000;collections=5000;users=500000;permissions=2000000; x-ms-resource-usage: @@ -1640,9 +1600,9 @@ interactions: x-ms-session-token: - 0:-1#8 x-ms-transport-request-id: - - '1072' + - '289514' x-ms-xp-role: - - '1' + - '2' status: code: 200 message: Ok @@ -1662,15 +1622,12 @@ interactions: ParameterSetName: - -g -n -d --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -1679,7 +1636,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:39 GMT pragma: - no-cache server: @@ -1695,7 +1652,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -1713,16 +1670,13 @@ interactions: ParameterSetName: - -g -n -d --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1735,7 +1689,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:38:40 GMT pragma: - no-cache server: @@ -1771,7 +1725,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:41 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -1789,11 +1743,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:41 GMT pragma: - no-cache server: @@ -1835,7 +1789,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:42 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -1851,11 +1805,11 @@ interactions: content-length: - '0' content-location: - - https://clivwlmmszegnkx-westus.documents.azure.com/dbs/cliezvrzmcpmhev/ + - https://cli4diin7vdmext-westus.documents.azure.com/dbs/clibid2z5f5jwpg/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:42 GMT lsn: - '9' pragma: @@ -1865,7 +1819,7 @@ interactions: strict-transport-security: - max-age=31536000 x-ms-activity-id: - - bcdb5b21-5578-4de3-94ee-ff538b7b7d36 + - 9c762289-acce-4679-9059-c7351a2fee9c x-ms-cosmos-llsn: - '9' x-ms-cosmos-quorum-acked-llsn: @@ -1879,7 +1833,7 @@ interactions: x-ms-global-committed-lsn: - '8' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 22:08:04.931 GMT + - Wed, 07 Apr 2021 02:04:21.336 GMT x-ms-number-of-read-regions: - '0' x-ms-quorum-acked-lsn: @@ -1887,7 +1841,7 @@ interactions: x-ms-request-charge: - '4.95' x-ms-request-duration-ms: - - '31.302' + - '24.613' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -1899,7 +1853,7 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '71717' + - '233539' x-ms-xp-role: - '1' status: @@ -1921,15 +1875,12 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"4crDvRoQqkVbQelkvkL0x0I9GQxBFkqlJrCnc2Q4YQaMNw0KwOhVy7Llq9SR8adP75nPLupLtH9UX1UTyUCSFg==","secondaryMasterKey":"3qycQDbiLAF3mWK5xX8Zbo89qyRhe5Pcraj8F8B0STVvoysv9cqySnoXJVJ7oUzC1RboytGkApDfMhHVaoB24w==","primaryReadonlyMasterKey":"zRg8DZ0mnWbZdInC8zHBQuM1geNej2Th60UiCem5G82OdrIenRLuVY07FVigMMBaBce1RbcNZ40LeRWmbNB96g==","secondaryReadonlyMasterKey":"YYbFFizaxLWKSNAW0b2vrvAIhDAJKev5de8KYMW2yWhLlj68oPfAThwn1TZ1h5Arn1r0Uqg6pWo704YxddScCA=="}' + string: '{"primaryMasterKey":"6zVNL8eDw8jcdvkDyJK1SoMVGO94G6VjAgv3cxqWCstsseRvyUlMg7eSRLDgdG9CqnXn48CumzI3miYPGy4zeQ==","secondaryMasterKey":"EN6naEkFiIOfrmSGOMyWsGTJ5EAaXSRTH95gCHK5VMpQkATgUtkr0l00rF89mLnTCDBHHkMaIFJ7OXu6lit2sg==","primaryReadonlyMasterKey":"18JmJepPJLVVnPhsIwowlQ33JRV4ZPL9WSDxvlyNyDOsCAk2sY3EjAUGx7yMzqcXPWFkMVBrS3uxwmj6MI15yA==","secondaryReadonlyMasterKey":"VkmQQZxh9XiRGvqc44eOJWlTz2wtmg4CPQ4rPuQr1t8hmrOsFCQABRoGNEEDpXnn5Mddxtim2W5VdDX5sPFqBg=="}' headers: cache-control: - no-store, no-cache @@ -1938,7 +1889,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:43 GMT pragma: - no-cache server: @@ -1954,7 +1905,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 200 message: Ok @@ -1972,16 +1923,13 @@ interactions: ParameterSetName: - -g -n -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:48.8193727Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cb3d2204-72f3-42cd-b5e3-22e341e8e429","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:37:40.1250601Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a899e65-4413-4f4a-82d9-c466f5bbf794","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -1994,7 +1942,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:44 GMT pragma: - no-cache server: @@ -2030,7 +1978,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:44 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -2048,11 +1996,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://clivwlmmszegnkx.documents.azure.com/ + - https://cli4diin7vdmext.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:33 GMT + - Fri, 09 Apr 2021 03:38:45 GMT pragma: - no-cache server: @@ -2077,7 +2025,7 @@ interactions: code: 200 message: Ok - request: - body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"cliezvrzmcpmhev"}]}' + body: '{"query":"SELECT * FROM root r WHERE r.id=@id","parameters":[{"name":"@id","value":"clibid2z5f5jwpg"}]}' headers: Accept: - application/json @@ -2096,7 +2044,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:46 GMT x-ms-documentdb-isquery: - 'true' x-ms-documentdb-query-iscontinuationexpected: @@ -2114,7 +2062,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:34 GMT + - Fri, 09 Apr 2021 03:38:46 GMT lsn: - '9' pragma: @@ -2126,7 +2074,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 2cda2258-e936-4fc4-b97c-cd724ae8b088 + - 4005fd99-98f6-4b25-9a5f-869977980c8b x-ms-cosmos-is-partition-key-delete-pending: - 'false' x-ms-cosmos-llsn: @@ -2140,13 +2088,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Tue, 06 Apr 2021 18:35:29.375 GMT + - Wed, 07 Apr 2021 02:28:59.355 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '5.58' x-ms-request-duration-ms: - - '0.701' + - '0.684' x-ms-resource-quota: - databases=1000; x-ms-resource-usage: @@ -2158,7 +2106,7 @@ interactions: x-ms-session-token: - 0:-1#9 x-ms-transport-request-id: - - '25482' + - '282259' x-ms-xp-role: - '2' status: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_database.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_database.yaml index 002c99c19d0..1fcb55fb5b4 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_database.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_database.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_gremlin_database000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001","name":"cli_test_cosmosdb_gremlin_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001","name":"cli_test_cosmosdb_gremlin_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:36:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:36:40 GMT expires: - '-1' pragma: @@ -61,38 +61,35 @@ interactions: Content-Length: - '264' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:51.9728013Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"96ca64ac-c407-4c42-ba56-44ebcf755597","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:36:46.479951Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"83f444e3-0ada-4cce-8c40-599ebc187fae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableGremlin"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1906' + - '1905' content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:36:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 pragma: - no-cache server: @@ -108,54 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --capabilities - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 09:59:23 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 + - '1180' status: code: 200 message: Ok @@ -163,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:37:18 GMT pragma: - no-cache server: @@ -210,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:24 GMT + - Fri, 09 Apr 2021 03:37:50 GMT pragma: - no-cache server: @@ -257,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -282,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:54 GMT + - Fri, 09 Apr 2021 03:38:20 GMT pragma: - no-cache server: @@ -304,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,10 +261,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/06c4640d-f3f3-4352-886b-4b6b92e97e13?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/93b64dae-cc6e-4823-8c24-8988a099b8c7?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -329,7 +275,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:24 GMT + - Fri, 09 Apr 2021 03:38:50 GMT pragma: - no-cache server: @@ -351,7 +297,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -361,15 +307,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.72593Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","gremlinEndpoint":"https://cli000003.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"96ca64ac-c407-4c42-ba56-44ebcf755597","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:08.8275782Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","gremlinEndpoint":"https://cli000003.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"83f444e3-0ada-4cce-8c40-599ebc187fae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -378,11 +323,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2301' + - '2303' content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:24 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -414,17 +359,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.72593Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","gremlinEndpoint":"https://cli000003.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"96ca64ac-c407-4c42-ba56-44ebcf755597","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:08.8275782Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","gremlinEndpoint":"https://cli000003.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"83f444e3-0ada-4cce-8c40-599ebc187fae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -433,11 +375,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2301' + - '2303' content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:38:51 GMT pragma: - no-cache server: @@ -469,25 +411,22 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 3708708a-9788-11eb-bdd7-705a0f2f2f32, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/142263c0-409b-42d2-b45e-fe8b6e716a6a/partitions/04a25746-b92b-4061-a77a-04f93b2859c3/replicas/132520392126163521s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:01:26.4338340Z, RequestEndTime: - 2021-04-07T10:01:26.4338340Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:01:26.4338340Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.27:11300/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/142263c0-409b-42d2-b45e-fe8b6e716a6a/partitions/04a25746-b92b-4061-a77a-04f93b2859c3/replicas/132520392126163521s, + 1a68e4b6-98e5-11eb-8190-2cf05d45d149, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/fb67185f-7787-4ef6-9f7f-f06048686baa/partitions/2ca26234-3d08-4176-8eed-4e575de6da71/replicas/132623919364944107s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:38:53.5708403Z, RequestEndTime: + 2021-04-09T03:38:53.5708403Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:38:53.5708403Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.28:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/fb67185f-7787-4ef6-9f7f-f06048686baa/partitions/2ca26234-3d08-4176-8eed-4e575de6da71/replicas/132623919364944107s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: - Read\\r\\nResponseTime: 2021-04-07T10:01:26.4338340Z, StoreResult: StorePhysicalAddress: - rntbd://10.0.0.24:11300/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/142263c0-409b-42d2-b45e-fe8b6e716a6a/partitions/04a25746-b92b-4061-a77a-04f93b2859c3/replicas/132520310779756992s, + Read\\r\\nResponseTime: 2021-04-09T03:38:53.5708403Z, StoreResult: StorePhysicalAddress: + rntbd://10.0.0.26:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/fb67185f-7787-4ef6-9f7f-f06048686baa/partitions/2ca26234-3d08-4176-8eed-4e575de6da71/replicas/132623919364944108s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: @@ -501,7 +440,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:38:53 GMT pragma: - no-cache server: @@ -529,14 +468,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: @@ -544,7 +480,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0441e6f-7568-494b-9cff-184c6c99a01a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/95bdbca9-b126-4854-9253-395dd9faac59?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -552,9 +488,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:38:54 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002/operationResults/f0441e6f-7568-494b-9cff-184c6c99a01a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002/operationResults/95bdbca9-b126-4854-9253-395dd9faac59?api-version=2021-03-15 pragma: - no-cache server: @@ -566,7 +502,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1184' status: code: 202 message: Accepted @@ -574,7 +510,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -584,10 +520,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0441e6f-7568-494b-9cff-184c6c99a01a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/95bdbca9-b126-4854-9253-395dd9faac59?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -599,7 +534,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:39:25 GMT pragma: - no-cache server: @@ -621,7 +556,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -631,13 +566,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"r2EAAA==","_self":"dbs/r2EAAA==/","_etag":"\"00006b0b-0000-0700-0000-606d82fb0000\"","_colls":"colls/","_users":"users/","_ts":1617789691}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"okkAAA==","_self":"dbs/okkAAA==/","_etag":"\"00000e0f-0000-0700-0000-606fcc530000\"","_colls":"colls/","_users":"users/","_ts":1617939539}}}' headers: cache-control: - no-store, no-cache @@ -646,7 +580,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:39:25 GMT pragma: - no-cache server: @@ -678,15 +612,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"r2EAAA==","_self":"dbs/r2EAAA==/","_etag":"\"00006b0b-0000-0700-0000-606d82fb0000\"","_colls":"colls/","_users":"users/","_ts":1617789691}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"okkAAA==","_self":"dbs/okkAAA==/","_etag":"\"00000e0f-0000-0700-0000-606fcc530000\"","_colls":"colls/","_users":"users/","_ts":1617939539}}}' headers: cache-control: - no-store, no-cache @@ -695,7 +626,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:57 GMT + - Fri, 09 Apr 2021 03:39:26 GMT pragma: - no-cache server: @@ -727,15 +658,12 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"r2EAAA==","_self":"dbs/r2EAAA==/","_etag":"\"00006b0b-0000-0700-0000-606d82fb0000\"","_colls":"colls/","_users":"users/","_ts":1617789691}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"okkAAA==","_self":"dbs/okkAAA==/","_etag":"\"00000e0f-0000-0700-0000-606fcc530000\"","_colls":"colls/","_users":"users/","_ts":1617939539}}}]}' headers: cache-control: - no-store, no-cache @@ -744,7 +672,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:39:27 GMT pragma: - no-cache server: @@ -776,15 +704,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"r2EAAA==","_self":"dbs/r2EAAA==/","_etag":"\"00006b0b-0000-0700-0000-606d82fb0000\"","_colls":"colls/","_users":"users/","_ts":1617789691}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"okkAAA==","_self":"dbs/okkAAA==/","_etag":"\"00000e0f-0000-0700-0000-606fcc530000\"","_colls":"colls/","_users":"users/","_ts":1617939539}}}' headers: cache-control: - no-store, no-cache @@ -793,7 +718,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:39:27 GMT pragma: - no-cache server: @@ -815,7 +740,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -827,10 +752,7 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002?api-version=2021-03-15 response: @@ -838,7 +760,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/56358dd1-7ac5-4cab-813b-93e61fb0d115?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1be773fd-ab9f-49f5-a189-291896260702?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -846,9 +768,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:39:29 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002/operationResults/56358dd1-7ac5-4cab-813b-93e61fb0d115?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases/cli000002/operationResults/1be773fd-ab9f-49f5-a189-291896260702?api-version=2021-03-15 pragma: - no-cache server: @@ -860,7 +782,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -868,7 +790,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -878,10 +800,9 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/56358dd1-7ac5-4cab-813b-93e61fb0d115?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1be773fd-ab9f-49f5-a189-291896260702?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -893,7 +814,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:28 GMT + - Fri, 09 Apr 2021 03:40:00 GMT pragma: - no-cache server: @@ -925,10 +846,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/gremlinDatabases?api-version=2021-03-15 response: @@ -942,7 +860,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:29 GMT + - Fri, 09 Apr 2021 03:40:02 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_graph.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_graph.yaml index 69379cf7487..36dce46df76 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_graph.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_graph.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_gremlin_graph000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001","name":"cli_test_cosmosdb_gremlin_graph000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001","name":"cli_test_cosmosdb_gremlin_graph000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:39:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:39:06 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '264' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.0490924Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8b7e2afa-b6fa-45be-86cc-7a109d9a5d15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:39:12.1083039Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5b1392fe-aa39-4838-bced-a04bd638e0e3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableGremlin"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:39:14 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1180' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:24 GMT + - Fri, 09 Apr 2021 03:39:45 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:40:15 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:40:45 GMT pragma: - no-cache server: @@ -257,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +261,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a25bdc14-3421-4bf1-81f4-39387625478c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a49dd2a5-1822-4727-9c92-d6ebb47fb36a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +275,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:41:16 GMT pragma: - no-cache server: @@ -304,7 +297,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +307,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:22.4446621Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","gremlinEndpoint":"https://cli000004.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8b7e2afa-b6fa-45be-86cc-7a109d9a5d15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:32.7361687Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","gremlinEndpoint":"https://cli000004.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5b1392fe-aa39-4838-bced-a04bd638e0e3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -335,7 +327,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:41:16 GMT pragma: - no-cache server: @@ -367,17 +359,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:22.4446621Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","gremlinEndpoint":"https://cli000004.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8b7e2afa-b6fa-45be-86cc-7a109d9a5d15","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:32.7361687Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","gremlinEndpoint":"https://cli000004.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5b1392fe-aa39-4838-bced-a04bd638e0e3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -390,7 +379,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:41:17 GMT pragma: - no-cache server: @@ -422,14 +411,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002?api-version=2021-03-15 response: @@ -437,7 +423,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2c3d1a53-fa38-4625-ba24-df59087f3b5e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9d9272fe-c575-497e-9403-c5a77e6ed8f7?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -445,9 +431,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:41:18 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/operationResults/2c3d1a53-fa38-4625-ba24-df59087f3b5e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/operationResults/9d9272fe-c575-497e-9403-c5a77e6ed8f7?api-version=2021-03-15 pragma: - no-cache server: @@ -459,7 +445,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 202 message: Accepted @@ -467,7 +453,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -477,10 +463,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2c3d1a53-fa38-4625-ba24-df59087f3b5e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9d9272fe-c575-497e-9403-c5a77e6ed8f7?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -492,7 +477,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -514,7 +499,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -524,13 +509,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"nMlEAA==","_self":"dbs/nMlEAA==/","_etag":"\"0000640d-0000-0700-0000-606d82dd0000\"","_colls":"colls/","_users":"users/","_ts":1617789661}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"7TUbAA==","_self":"dbs/7TUbAA==/","_etag":"\"03006d72-0000-0700-0000-606fcce30000\"","_colls":"colls/","_users":"users/","_ts":1617939683}}}' headers: cache-control: - no-store, no-cache @@ -539,7 +523,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -571,25 +555,22 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 38326274-9788-11eb-9562-705a0f2f2f32, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/8ed181df-0d75-477a-a177-23d72a3d6149/partitions/51793038-c13b-453f-84b4-de41bdcb3c89/replicas/132619221067318421s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:01:28.2596493Z, RequestEndTime: - 2021-04-07T10:01:28.2596493Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:01:28.2596493Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.27:11300/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/8ed181df-0d75-477a-a177-23d72a3d6149/partitions/51793038-c13b-453f-84b4-de41bdcb3c89/replicas/132619221067318421s, + 8416a776-98e5-11eb-9370-2cf05d45d149, Request URI: /apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/cdb84111-5d1d-44e3-93a8-a7d31b99e246/partitions/e6d96697-e137-45ec-90dd-49e1f2e819c9/replicas/132520313791363056s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:41:50.9750976Z, RequestEndTime: + 2021-04-09T03:41:50.9850989Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:41:50.9850989Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.24:11000/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/cdb84111-5d1d-44e3-93a8-a7d31b99e246/partitions/e6d96697-e137-45ec-90dd-49e1f2e819c9/replicas/132520313791363056s, LSN: 8, GlobalCommittedLsn: 8, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#8, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, - OperationType: Read\\r\\nResponseTime: 2021-04-07T10:01:28.2596493Z, StoreResult: - StorePhysicalAddress: rntbd://10.0.0.25:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/8ed181df-0d75-477a-a177-23d72a3d6149/partitions/51793038-c13b-453f-84b4-de41bdcb3c89/replicas/132619221067318422s, + OperationType: Read\\r\\nResponseTime: 2021-04-09T03:41:50.9850989Z, StoreResult: + StorePhysicalAddress: rntbd://10.0.0.27:11000/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/cdb84111-5d1d-44e3-93a8-a7d31b99e246/partitions/e6d96697-e137-45ec-90dd-49e1f2e819c9/replicas/132520178183510362s, LSN: 8, GlobalCommittedLsn: 8, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#8, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, @@ -603,7 +584,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:41:50 GMT pragma: - no-cache server: @@ -635,14 +616,11 @@ interactions: Content-Length: - '408' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --ttl --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: @@ -650,7 +628,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/622b0c8a-7cff-40d3-8f2d-9001c8705ee6?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/29edece1-8cbd-407d-950e-b52670b95c08?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -658,9 +636,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:41:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/622b0c8a-7cff-40d3-8f2d-9001c8705ee6?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/29edece1-8cbd-407d-950e-b52670b95c08?api-version=2021-03-15 pragma: - no-cache server: @@ -680,7 +658,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -690,10 +668,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --ttl --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/622b0c8a-7cff-40d3-8f2d-9001c8705ee6?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/29edece1-8cbd-407d-950e-b52670b95c08?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -705,7 +682,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:42:22 GMT pragma: - no-cache server: @@ -727,7 +704,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -737,13 +714,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --ttl --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789693,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"0000660d-0000-0700-0000-606d82fd0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939717,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007072-0000-0700-0000-606fcd050000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -752,7 +728,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:42:22 GMT pragma: - no-cache server: @@ -784,15 +760,12 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789693,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"0000660d-0000-0700-0000-606d82fd0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939717,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007072-0000-0700-0000-606fcd050000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -801,7 +774,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:42:25 GMT pragma: - no-cache server: @@ -838,14 +811,11 @@ interactions: Content-Length: - '508' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: @@ -853,7 +823,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e7519b98-e4d5-4551-a64e-a9e3f39c56ad?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9a480db6-23bd-4f9a-bd9d-c8fc050f3141?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -861,9 +831,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:00 GMT + - Fri, 09 Apr 2021 03:42:25 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/e7519b98-e4d5-4551-a64e-a9e3f39c56ad?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/9a480db6-23bd-4f9a-bd9d-c8fc050f3141?api-version=2021-03-15 pragma: - no-cache server: @@ -875,7 +845,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' status: code: 202 message: Accepted @@ -883,7 +853,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -893,10 +863,9 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e7519b98-e4d5-4551-a64e-a9e3f39c56ad?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9a480db6-23bd-4f9a-bd9d-c8fc050f3141?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -908,7 +877,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:42:55 GMT pragma: - no-cache server: @@ -930,7 +899,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -940,13 +909,12 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789727,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"00006b0d-0000-0700-0000-606d831f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939749,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007572-0000-0700-0000-606fcd250000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -955,7 +923,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:42:55 GMT pragma: - no-cache server: @@ -987,15 +955,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789727,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"00006b0d-0000-0700-0000-606d831f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939749,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007572-0000-0700-0000-606fcd250000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1004,7 +969,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:31 GMT + - Fri, 09 Apr 2021 03:42:56 GMT pragma: - no-cache server: @@ -1036,15 +1001,12 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789727,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"00006b0d-0000-0700-0000-606d831f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939749,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007572-0000-0700-0000-606fcd250000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}}}]}' headers: cache-control: - no-store, no-cache @@ -1053,7 +1015,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:31 GMT + - Fri, 09 Apr 2021 03:42:57 GMT pragma: - no-cache server: @@ -1085,15 +1047,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nMlEAPLsCb4=","_ts":1617789727,"_self":"dbs/nMlEAA==/colls/nMlEAPLsCb4=/","_etag":"\"00006b0d-0000-0700-0000-606d831f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"7TUbAJo-gJE=","_ts":1617939749,"_self":"dbs/7TUbAA==/colls/7TUbAJo-gJE=/","_etag":"\"03007572-0000-0700-0000-606fcd250000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1102,7 +1061,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:42:59 GMT pragma: - no-cache server: @@ -1124,7 +1083,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1136,10 +1095,7 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003?api-version=2021-03-15 response: @@ -1147,7 +1103,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1dc2cb34-35d9-4e59-aab0-5d194535cf4b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e0a0f80f-7fff-4436-86f8-dbb8da076e12?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1155,9 +1111,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:43:00 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/1dc2cb34-35d9-4e59-aab0-5d194535cf4b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs/cli000003/operationResults/e0a0f80f-7fff-4436-86f8-dbb8da076e12?api-version=2021-03-15 pragma: - no-cache server: @@ -1169,7 +1125,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14992' status: code: 202 message: Accepted @@ -1177,7 +1133,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1187,10 +1143,9 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1dc2cb34-35d9-4e59-aab0-5d194535cf4b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e0a0f80f-7fff-4436-86f8-dbb8da076e12?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1202,7 +1157,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:02 GMT + - Fri, 09 Apr 2021 03:43:29 GMT pragma: - no-cache server: @@ -1234,10 +1189,7 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_graph000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/gremlinDatabases/cli000002/graphs?api-version=2021-03-15 response: @@ -1251,7 +1203,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:43:31 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput.yaml index 37b5041eef9..6a548debe52 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_gremlin_resource_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001","name":"cli_test_cosmosdb_gremlin_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001","name":"cli_test_cosmosdb_gremlin_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:40:06Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:49 GMT + - Fri, 09 Apr 2021 03:40:08 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '264' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.2357877Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee6ea83a-e3bd-4068-89b3-887323188e71","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:14.1837297Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8cb99399-fd5e-4420-88c5-cf7929274b67","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableGremlin"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5522915-690a-44b4-b736-f300a6d6edf8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:40:17 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/b5522915-690a-44b4-b736-f300a6d6edf8?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1184' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,57 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 09:59:24 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --capabilities - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5522915-690a-44b4-b736-f300a6d6edf8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:54 GMT + - Fri, 09 Apr 2021 03:40:47 GMT pragma: - no-cache server: @@ -210,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5522915-690a-44b4-b736-f300a6d6edf8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:24 GMT + - Fri, 09 Apr 2021 03:41:17 GMT pragma: - no-cache server: @@ -257,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb267ad3-8d5b-4810-b4d0-08fd3a243c90?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b5522915-690a-44b4-b736-f300a6d6edf8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:54 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -304,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +261,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.0768623Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee6ea83a-e3bd-4068-89b3-887323188e71","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:41:42.27353Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8cb99399-fd5e-4420-88c5-cf7929274b67","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -331,11 +277,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2303' + - '2301' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:54 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -367,17 +313,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.0768623Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee6ea83a-e3bd-4068-89b3-887323188e71","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:41:42.27353Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8cb99399-fd5e-4420-88c5-cf7929274b67","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -386,11 +329,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2303' + - '2301' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -423,14 +366,11 @@ interactions: Content-Length: - '88' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003?api-version=2021-03-15 response: @@ -438,7 +378,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ba3080dc-a175-4f5c-a0f4-b304e389abe7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3fb49de5-402e-4d12-8b4d-33e137bf8fac?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -446,9 +386,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:55 GMT + - Fri, 09 Apr 2021 03:41:50 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/operationResults/ba3080dc-a175-4f5c-a0f4-b304e389abe7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/operationResults/3fb49de5-402e-4d12-8b4d-33e137bf8fac?api-version=2021-03-15 pragma: - no-cache server: @@ -460,7 +400,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1175' status: code: 202 message: Accepted @@ -468,7 +408,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -478,10 +418,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ba3080dc-a175-4f5c-a0f4-b304e389abe7?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3fb49de5-402e-4d12-8b4d-33e137bf8fac?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -493,7 +432,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:42:20 GMT pragma: - no-cache server: @@ -515,7 +454,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -525,13 +464,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"Io9EAA==","_self":"dbs/Io9EAA==/","_etag":"\"0000da25-0000-0700-0000-606d82de0000\"","_colls":"colls/","_users":"users/","_ts":1617789662}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"D5huAA==","_self":"dbs/D5huAA==/","_etag":"\"0000ec83-0000-0700-0000-606fcd040000\"","_colls":"colls/","_users":"users/","_ts":1617939716}}}' headers: cache-control: - no-store, no-cache @@ -540,7 +478,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:42:21 GMT pragma: - no-cache server: @@ -572,15 +510,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"Z8Xb","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"UjCN","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -589,7 +524,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:42:22 GMT pragma: - no-cache server: @@ -621,14 +556,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -636,7 +568,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cdfd0d4-e52b-4824-86e6-3279c8b85e4f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/28a0c16c-3e77-4472-83b7-476191ad521f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -644,9 +576,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:42:24 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/operationResults/0cdfd0d4-e52b-4824-86e6-3279c8b85e4f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/operationResults/28a0c16c-3e77-4472-83b7-476191ad521f?api-version=2021-03-15 pragma: - no-cache server: @@ -658,7 +590,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1185' status: code: 202 message: Accepted @@ -666,7 +598,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -676,10 +608,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cdfd0d4-e52b-4824-86e6-3279c8b85e4f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/28a0c16c-3e77-4472-83b7-476191ad521f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -691,7 +622,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:42:54 GMT pragma: - no-cache server: @@ -713,7 +644,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -723,13 +654,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"Z8Xb","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"UjCN","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -738,7 +668,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:42:55 GMT pragma: - no-cache server: @@ -773,14 +703,11 @@ interactions: Content-Length: - '302' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004?api-version=2021-03-15 response: @@ -788,7 +715,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8cc30813-2780-4d42-9999-a926bcdfa831?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0504ba6-a436-4f3c-af55-15ed517e2378?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -796,9 +723,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:00 GMT + - Fri, 09 Apr 2021 03:42:57 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/operationResults/8cc30813-2780-4d42-9999-a926bcdfa831?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/operationResults/f0504ba6-a436-4f3c-af55-15ed517e2378?api-version=2021-03-15 pragma: - no-cache server: @@ -810,7 +737,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -818,7 +745,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -828,10 +755,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8cc30813-2780-4d42-9999-a926bcdfa831?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f0504ba6-a436-4f3c-af55-15ed517e2378?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -843,7 +769,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:43:27 GMT pragma: - no-cache server: @@ -865,7 +791,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -875,13 +801,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"Io9EAPc1L4k=","_ts":1617789726,"_self":"dbs/Io9EAA==/colls/Io9EAPc1L4k=/","_etag":"\"0000e825-0000-0700-0000-606d831e0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"D5huAIxhc+g=","_ts":1617939783,"_self":"dbs/D5huAA==/colls/D5huAIxhc+g=/","_etag":"\"0000f983-0000-0700-0000-606fcd470000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -890,7 +815,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:43:28 GMT pragma: - no-cache server: @@ -922,15 +847,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"-z-f","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"FdK7","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -939,7 +861,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:43:28 GMT pragma: - no-cache server: @@ -971,14 +893,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -986,7 +905,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8214ac31-6c73-4f4e-9d2b-06c3682c4264?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/46f2f8f7-8ee6-4c2e-a390-95dc0e93de4b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -994,9 +913,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:43:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/operationResults/8214ac31-6c73-4f4e-9d2b-06c3682c4264?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/operationResults/46f2f8f7-8ee6-4c2e-a390-95dc0e93de4b?api-version=2021-03-15 pragma: - no-cache server: @@ -1008,7 +927,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1189' status: code: 202 message: Accepted @@ -1016,7 +935,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1026,10 +945,9 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8214ac31-6c73-4f4e-9d2b-06c3682c4264?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/46f2f8f7-8ee6-4c2e-a390-95dc0e93de4b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1041,7 +959,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:02 GMT + - Fri, 09 Apr 2021 03:44:01 GMT pragma: - no-cache server: @@ -1063,7 +981,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1073,13 +991,12 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"-z-f","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"FdK7","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1088,7 +1005,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:02 GMT + - Fri, 09 Apr 2021 03:44:01 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput_autoscale.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput_autoscale.yaml index 85d9a4fce22..26a7196a88f 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput_autoscale.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_gremlin_resource_throughput_autoscale.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:41:07Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:41:09 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '264' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:54.2482241Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7badb736-5fde-4d15-a4e6-fce1488e1112","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:41:15.6370599Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"e31b26d8-34b7-401b-8003-eb991dfe7062","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableGremlin"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:56 GMT + - Fri, 09 Apr 2021 03:41:18 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1182' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:27 GMT + - Fri, 09 Apr 2021 03:41:48 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:56 GMT + - Fri, 09 Apr 2021 03:42:18 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:42:49 GMT pragma: - no-cache server: @@ -257,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +261,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d898f278-a3fe-4299-aa75-9c9bee7e3371?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5a98ed3f-2007-479d-a505-56a73da238f7?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +275,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:43:19 GMT pragma: - no-cache server: @@ -304,7 +297,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +307,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:23.1166621Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7badb736-5fde-4d15-a4e6-fce1488e1112","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:42:37.5273593Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"e31b26d8-34b7-401b-8003-eb991dfe7062","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,7 +327,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:43:19 GMT pragma: - no-cache server: @@ -367,17 +359,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:23.1166621Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7badb736-5fde-4d15-a4e6-fce1488e1112","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:42:37.5273593Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","gremlinEndpoint":"https://cli000002.gremlin.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Gremlin, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"e31b26d8-34b7-401b-8003-eb991dfe7062","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -390,7 +379,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:57 GMT + - Fri, 09 Apr 2021 03:43:20 GMT pragma: - no-cache server: @@ -423,14 +412,11 @@ interactions: Content-Length: - '87' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003?api-version=2021-03-15 response: @@ -438,7 +424,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/20350c41-b24b-4ca7-a7db-9dc8747acac4?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b5b56f1-a794-45f9-99d0-89c1c659df3f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -446,9 +432,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:58 GMT + - Fri, 09 Apr 2021 03:43:21 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/operationResults/20350c41-b24b-4ca7-a7db-9dc8747acac4?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/operationResults/4b5b56f1-a794-45f9-99d0-89c1c659df3f?api-version=2021-03-15 pragma: - no-cache server: @@ -460,7 +446,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1182' status: code: 202 message: Accepted @@ -468,7 +454,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -478,10 +464,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/20350c41-b24b-4ca7-a7db-9dc8747acac4?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b5b56f1-a794-45f9-99d0-89c1c659df3f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -493,7 +478,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:27 GMT + - Fri, 09 Apr 2021 03:43:51 GMT pragma: - no-cache server: @@ -515,7 +500,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -525,13 +510,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"5xITAA==","_self":"dbs/5xITAA==/","_etag":"\"00008a18-0000-0700-0000-606d82e00000\"","_colls":"colls/","_users":"users/","_ts":1617789664}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"nltAAA==","_self":"dbs/nltAAA==/","_etag":"\"0000ff83-0000-0700-0000-606fcd5f0000\"","_colls":"colls/","_users":"users/","_ts":1617939807}}}' headers: cache-control: - no-store, no-cache @@ -540,7 +524,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:43:51 GMT pragma: - no-cache server: @@ -572,15 +556,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"tZev","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"Kvcj","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -589,7 +570,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:29 GMT + - Fri, 09 Apr 2021 03:43:52 GMT pragma: - no-cache server: @@ -623,10 +604,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -634,7 +612,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb381453-8093-4f5b-9b5a-abe3a879aa6c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9d5b363-3496-48a1-bea2-ae58cbe2ef27?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -642,9 +620,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:30 GMT + - Fri, 09 Apr 2021 03:43:55 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/fb381453-8093-4f5b-9b5a-abe3a879aa6c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/e9d5b363-3496-48a1-bea2-ae58cbe2ef27?api-version=2021-03-15 pragma: - no-cache server: @@ -656,7 +634,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1192' status: code: 202 message: Accepted @@ -664,7 +642,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -674,10 +652,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb381453-8093-4f5b-9b5a-abe3a879aa6c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9d5b363-3496-48a1-bea2-ae58cbe2ef27?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -689,7 +666,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:44:25 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb gremlin database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/e9d5b363-3496-48a1-bea2-ae58cbe2ef27?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToAutoscale","name":"Kvcj","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '525' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:44:25 GMT pragma: - no-cache server: @@ -721,15 +744,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"tZev","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"Kvcj","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -738,7 +758,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:00 GMT + - Fri, 09 Apr 2021 03:44:26 GMT pragma: - no-cache server: @@ -770,14 +790,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -785,7 +802,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2a7b5ee-cdd9-4edf-ae06-eafd76983f9c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9eaf8833-c9f6-4b4e-9057-3dbcbe759db7?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -793,9 +810,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:44:28 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/operationResults/b2a7b5ee-cdd9-4edf-ae06-eafd76983f9c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/operationResults/9eaf8833-c9f6-4b4e-9057-3dbcbe759db7?api-version=2021-03-15 pragma: - no-cache server: @@ -807,7 +824,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1179' status: code: 202 message: Accepted @@ -815,7 +832,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -825,10 +842,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2a7b5ee-cdd9-4edf-ae06-eafd76983f9c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9eaf8833-c9f6-4b4e-9057-3dbcbe759db7?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -840,7 +856,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:44:58 GMT pragma: - no-cache server: @@ -862,7 +878,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -872,13 +888,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"tZev","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings","name":"Kvcj","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -887,7 +902,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:44:58 GMT pragma: - no-cache server: @@ -921,10 +936,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -932,7 +944,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/667497ab-7e82-460e-b6db-fb3fbf4aa235?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d20eebe-f263-449c-9a92-c2af28c85762?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -940,9 +952,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:45:01 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/667497ab-7e82-460e-b6db-fb3fbf4aa235?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/2d20eebe-f263-449c-9a92-c2af28c85762?api-version=2021-03-15 pragma: - no-cache server: @@ -954,7 +966,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 202 message: Accepted @@ -962,7 +974,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -972,10 +984,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/667497ab-7e82-460e-b6db-fb3fbf4aa235?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d20eebe-f263-449c-9a92-c2af28c85762?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -987,7 +998,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:45:31 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb gremlin database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/2d20eebe-f263-449c-9a92-c2af28c85762?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToManualThroughput","name":"Kvcj","properties":{"resource":{"throughput":8000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '496' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:45:31 GMT pragma: - no-cache server: @@ -1022,14 +1079,11 @@ interactions: Content-Length: - '301' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004?api-version=2021-03-15 response: @@ -1037,7 +1091,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb465455-4657-45c4-a687-11cfd690783d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80d3aa91-53c0-4873-825f-d7e1655c63a9?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1045,9 +1099,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:04 GMT + - Fri, 09 Apr 2021 03:45:33 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/operationResults/fb465455-4657-45c4-a687-11cfd690783d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/operationResults/80d3aa91-53c0-4873-825f-d7e1655c63a9?api-version=2021-03-15 pragma: - no-cache server: @@ -1059,7 +1113,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1177' status: code: 202 message: Accepted @@ -1067,7 +1121,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1077,10 +1131,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb465455-4657-45c4-a687-11cfd690783d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80d3aa91-53c0-4873-825f-d7e1655c63a9?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1092,7 +1145,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:34 GMT + - Fri, 09 Apr 2021 03:46:03 GMT pragma: - no-cache server: @@ -1114,7 +1167,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1124,13 +1177,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"5xITAOM8pHk=","_ts":1617789791,"_self":"dbs/5xITAA==/colls/5xITAOM8pHk=/","_etag":"\"00009a18-0000-0700-0000-606d835f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"nltAAM9DEhI=","_ts":1617939938,"_self":"dbs/nltAAA==/colls/nltAAM9DEhI=/","_etag":"\"00001584-0000-0700-0000-606fcde20000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1139,7 +1191,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:35 GMT + - Fri, 09 Apr 2021 03:46:04 GMT pragma: - no-cache server: @@ -1171,15 +1223,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"il5Y","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"BN7I","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1188,7 +1237,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:36 GMT + - Fri, 09 Apr 2021 03:46:05 GMT pragma: - no-cache server: @@ -1222,10 +1271,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -1233,7 +1279,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/314ec0d5-7cf9-4354-8623-4ff417c21a3b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f2f7afdf-bd5c-4d2b-8320-7ec28e637a18?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1241,9 +1287,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:46:07 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/314ec0d5-7cf9-4354-8623-4ff417c21a3b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/f2f7afdf-bd5c-4d2b-8320-7ec28e637a18?api-version=2021-03-15 pragma: - no-cache server: @@ -1255,7 +1301,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 202 message: Accepted @@ -1263,7 +1309,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1273,10 +1319,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/314ec0d5-7cf9-4354-8623-4ff417c21a3b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f2f7afdf-bd5c-4d2b-8320-7ec28e637a18?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1288,7 +1333,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:06 GMT + - Fri, 09 Apr 2021 03:46:37 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb gremlin graph throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -d -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/f2f7afdf-bd5c-4d2b-8320-7ec28e637a18?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToAutoscale","name":"BN7I","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '555' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:46:37 GMT pragma: - no-cache server: @@ -1320,14 +1411,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -1335,7 +1423,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3817f49-c68c-473e-b1c0-d3807507c444?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9536f46d-e410-4ff8-afe3-100cbbf10b0e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1343,9 +1431,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:07 GMT + - Fri, 09 Apr 2021 03:46:39 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/operationResults/f3817f49-c68c-473e-b1c0-d3807507c444?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/operationResults/9536f46d-e410-4ff8-afe3-100cbbf10b0e?api-version=2021-03-15 pragma: - no-cache server: @@ -1357,7 +1445,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1188' status: code: 202 message: Accepted @@ -1365,7 +1453,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1375,10 +1463,9 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3817f49-c68c-473e-b1c0-d3807507c444?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9536f46d-e410-4ff8-afe3-100cbbf10b0e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1390,7 +1477,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:47:10 GMT pragma: - no-cache server: @@ -1412,7 +1499,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1422,13 +1509,12 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"il5Y","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings","name":"BN7I","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -1437,7 +1523,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:47:10 GMT pragma: - no-cache server: @@ -1471,10 +1557,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -1482,7 +1565,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c835fe4-4351-4973-ac6a-d364459d61b1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c05f6ac8-986c-48fb-b5e6-cc4404e41875?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1490,9 +1573,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:40 GMT + - Fri, 09 Apr 2021 03:47:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/7c835fe4-4351-4973-ac6a-d364459d61b1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/c05f6ac8-986c-48fb-b5e6-cc4404e41875?api-version=2021-03-15 pragma: - no-cache server: @@ -1504,7 +1587,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 202 message: Accepted @@ -1512,7 +1595,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1522,10 +1605,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c835fe4-4351-4973-ac6a-d364459d61b1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c05f6ac8-986c-48fb-b5e6-cc4404e41875?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1537,7 +1619,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:10 GMT + - Fri, 09 Apr 2021 03:47:42 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb gremlin graph throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -d -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/c05f6ac8-986c-48fb-b5e6-cc4404e41875?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/gremlinDatabases/cli000003/graphs/cli000004/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToManualThroughput","name":"BN7I","properties":{"resource":{"throughput":5000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '526' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:47:43 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_key_vault_key_uri.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_key_vault_key_uri.yaml index 2402ee6c702..e90b3767e88 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_key_vault_key_uri.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_key_vault_key_uri.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_key_vault_key_uri000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001","name":"cli_test_cosmosdb_key_vault_key_uri000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001","name":"cli_test_cosmosdb_key_vault_key_uri000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:43:23 GMT expires: - '-1' pragma: @@ -62,43 +62,33 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":["a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":[],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"dcb1a3ae-b33f-4487-846a-a640262fadf4"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2020-12-22T09:40:55Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2020-11-03T20:45:44Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-11-02T07:20:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2020-10-17T05:15:33Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2020-08-14T16:35:12Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2020-08-04T04:35:17Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2020-08-04T04:35:17Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2020-06-18T08:54:28Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2019-11-05T01:13:41Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T22:53:42Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T22:53:42Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-08-09T05:31:28Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2019-05-24T05:44:28Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2018-09-24T17:42:37Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2018-09-24T17:42:36Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-07T08:07:28Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2018-08-30T19:51:40Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-30T19:51:40Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2018-04-24T12:13:55Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T12:13:55Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"d20bfa21-e9ae-43fc-93c2-20783f0840c3"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"d5368ca3-357e-4acb-9c21-8495fb025d1f"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-03-23T20:17:21Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2018-01-09T12:15:17Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2018-01-01T06:11:02Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2018-01-01T06:11:02Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2017-12-31T18:29:33Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-14T17:23:04Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2017-12-14T17:23:04Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2017-10-07T05:28:20Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2017-10-07T05:28:20Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2017-07-25T07:23:13Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2017-07-25T07:23:13Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"}],"city":"REDMOND","companyName":"MICROSOFT","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"R&D - Data-CosmosDB","dirSyncEnabled":true,"displayName":"Xujin Zhang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Xujin","immutableId":"1239127","isCompromised":null,"jobTitle":"SOFTWARE - ENGINEER-II","lastDirSyncTime":"2020-11-01T21:33:33Z","legalAgeGroupClassification":null,"mail":"Xujin.Zhang@microsoft.com","mailNickname":"xujzhang","mobile":null,"onPremisesDistinguishedName":"CN=Xujin - Zhang,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-27869308","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"44/1D","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"}],"provisioningErrors":[],"proxyAddresses":["x500:/o=ExchangeLabs/ou=Exchange - Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=d39d10f7e66147488c06b2fed44eb497-Xujin - Zhang","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=e1b5b2dbdc314a969ef3d5d025758a5d-Xujin - Zhang","X500:/o=MMS/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=eaba1a1a934846319c448132ec7a8365-Xujin - Zhangda023b03-","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=d42f30b37d0f4b45a600de42bc3bc2df-Xujin - Zhang","smtp:xujzhang@microsoft.onmicrosoft.com","smtp:xujzhang@service.microsoft.com","smtp:xujzhang@microsoft.com","SMTP:Xujin.Zhang@microsoft.com"],"refreshTokensValidFromDateTime":"2019-03-18T22:32:26Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"xujzhang@microsoft.com","state":null,"streetAddress":null,"surname":"Zhang","telephoneNumber":"+1 - (425) 7050957","thumbnailPhoto@odata.mediaEditLink":"directoryObjects/9cbc4da9-4d2c-43ae-a33f-b111e43a41d3/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"US","userIdentities":[],"userPrincipalName":"xujzhang@microsoft.com","userState":null,"userStateChangedOn":null,"userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ZipCode":"98052","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_StateProvinceCode":"WA","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"472374","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Patrick, - Justin J","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToEmailName":"JUSTIPAT","extension_18e31482d3fb4a8ea958aa96b662f508_ProfitCenterCode":"P10049895","extension_18e31482d3fb4a8ea958aa96b662f508_PositionNumber":"90176061","extension_18e31482d3fb4a8ea958aa96b662f508_LocationAreaCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CountryShortCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CostCenterCode":"10049895","extension_18e31482d3fb4a8ea958aa96b662f508_CompanyCode":"1010","extension_18e31482d3fb4a8ea958aa96b662f508_CityName":"REDMOND","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingName":"44","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingID":"227","extension_18e31482d3fb4a8ea958aa96b662f508_AddressLine1":"1 - Microsoft Way","extension_18e31482d3fb4a8ea958aa96b662f508_PersonnelNumber":"1239127"}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2020-09-10T05:29:26Z","creationType":"Invitation","department":null,"dirSyncEnabled":null,"displayName":"Yishi + Wang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"yishiwang@microsoft.com","mailNickname":"yishiwang_microsoft.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["yishiwang@microsoft.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":null,"provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:yishiwang@microsoft.com"],"refreshTokensValidFromDateTime":"2020-09-10T05:29:26Z","showInAddressList":false,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/3707fb2f-ac10-4591-a04f-8b0d786ea37d/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"yishiwang_microsoft.com#EXT#@AzureSDKTeam.onmicrosoft.com","userState":"Accepted","userStateChangedOn":"2020-09-10T05:30:29Z","userType":"Guest"}' headers: access-control-allow-origin: - '*' cache-control: - no-cache content-length: - - '20252' + - '1702' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Wed, 07 Apr 2021 09:58:49 GMT + - Fri, 09 Apr 2021 03:43:26 GMT duration: - - '709073' + - '2373325' expires: - '-1' ocp-aad-diagnostics-server-name: - - h/6nPKI4o5XrteuiRUnN61cQ7quTzlaGFpmwUOGGwAg= + - bwiMwB116ZrEIuwEbfQgIegc1Rx2/DCI0B8wZCFUMrQ= ocp-aad-session-key: - - 3qMkqCnJc8CvTAG3wGAIqHSi_2onI7MUGxyghlK_g8gvpM9V26fq3dmhxTmj55HFZ1zMFVs1sB136C5GG6MbQP13losa9vic6srQwutYVlVnhwxCpYUa_rWDvClguhoQ.33jbnjgZQ100LoqzwuCVzxWKEMeEftzzvXxbPySwAjc + - dKVKpl5-S3lABl2z2q7fC1IDvn1c0d38GAf0EpN9XaMdKLKMdebkUb24CaB8II6ilQd5q4siF9aPr4ZAFiu7tNAx_r0wUa4wYGan0TkoR5oVrREBiiErrteRvqCwypjJ.S6wVHdKCjA-rascPW5_neWG_PXmgdPRSP8sQlbZCKVo pragma: - no-cache request-id: - - c75e3560-eb0f-4c75-8638-8092b21c4a71 + - 277b76ee-dbd9-422a-b539-b86eaa81e1b0 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -113,9 +103,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + body: '{"location": "westus", "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "9cbc4da9-4d2c-43ae-a33f-b111e43a41d3", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3707fb2f-ac10-4591-a04f-8b0d786ea37d", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -145,7 +135,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net","provisioningState":"RegisteringDns"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net","provisioningState":"RegisteringDns"}}' headers: cache-control: - no-cache @@ -154,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:51 GMT + - Fri, 09 Apr 2021 03:43:33 GMT expires: - '-1' pragma: @@ -172,9 +162,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1183' x-powered-by: - ASP.NET status: @@ -199,7 +189,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -208,7 +198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:21 GMT + - Fri, 09 Apr 2021 03:44:04 GMT expires: - '-1' pragma: @@ -226,7 +216,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-powered-by: - ASP.NET status: @@ -250,7 +240,7 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27a232010e-820c-4083-83bb-3ace5fc29d0b%27%29&api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Azure + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"5f66a281-6495-4430-9104-f976b12c4962","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Azure Cosmos DB","appId":"a232010e-820c-4083-83bb-3ace5fc29d0b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Azure Cosmos DB","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[{"adminConsentDescription":"Allow the application to access Azure Cosmos DB on behalf of the signed-in user.","adminConsentDisplayName":"Access @@ -270,19 +260,19 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 07 Apr 2021 09:59:22 GMT + - Fri, 09 Apr 2021 03:44:04 GMT duration: - - '822774' + - '2551692' expires: - '-1' ocp-aad-diagnostics-server-name: - - yYf00uvbu/b4xRkRr3A8ayRUREJ7XKpNjx+yrR+t9vo= + - 9L4m0p0LYBJgyzOT17xLXASukQHxPO0HaJSiaRJ0vTE= ocp-aad-session-key: - - rWjZ8daMVgVA7Ce1v1pwLk7I1b7Ak3-g-ljzbp8XQGLpI1p7Dqs0yKEApXVVclqwrd_X1pGtQsMRiGQFWDhevMQBeWR6kYwGB1X9zxL2XAX3hmcc1nYiLJwON7jyL_FW.1KYvGkX_dzSfNtxr_SXVkuN07wCwA2vUo47MBt_4M5M + - mJRUH7l2o97WyOgES2iTEKImz555pU9Gunbzje8yr7jB4tI2bNqwEg7geMYFbaUSYU-67bpDDSJzEXdyXtJLgm-22OB0x--kZtzWCwbZhl04Hwnk6vWkAH37-EjEN5ZI.dUgVUhd6FUld0TBzg-xLmBvCyQyzg5p9syGkJ4AY-HY pragma: - no-cache request-id: - - f8a2cd84-8f14-4b3f-a310-b6000341a269 + - df32e333-a954-437d-9044-e5d39d1ce74b strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -315,7 +305,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -324,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:22 GMT + - Fri, 09 Apr 2021 03:44:06 GMT expires: - '-1' pragma: @@ -342,24 +332,24 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "9cbc4da9-4d2c-43ae-a33f-b111e43a41d3", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3707fb2f-ac10-4591-a04f-8b0d786ea37d", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", "import", "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, - {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "e5007d2c-4b13-4a74-9b6a-605d99f03501", - "permissions": {"keys": ["unwrapKey", "get", "wrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", + {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "5f66a281-6495-4430-9104-f976b12c4962", + "permissions": {"keys": ["get", "wrapKey", "unwrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true}}' headers: @@ -383,7 +373,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","permissions":{"keys":["unwrapKey","get","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"5f66a281-6495-4430-9104-f976b12c4962","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -392,7 +382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:22 GMT + - Fri, 09 Apr 2021 03:44:07 GMT expires: - '-1' pragma: @@ -410,9 +400,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1184' x-powered-by: - ASP.NET status: @@ -450,7 +440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:23 GMT + - Fri, 09 Apr 2021 03:44:08 GMT expires: - '-1' pragma: @@ -458,16 +448,16 @@ interactions: strict-transport-security: - max-age=31536000;includeSubDomains www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + - Bearer authorization="https://login.windows.net/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", resource="https://vault.azure.net" x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=131.107.160.177;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.8;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: - - 1.2.205.0 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -495,7 +485,7 @@ interactions: uri: https://cli000002.vault.azure.net/keys/cli000003/create?api-version=7.0 response: body: - string: '{"key":{"kid":"https://cli000002.vault.azure.net/keys/cli000003/d8a22361ea024a33b6f4914f8f9b0409","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1JcFOtZSFSGg86qaghKbjogzPop8jNPumrhX5XrY1jDfB7kKSyL-vx8pn7-ipDT-2oTO5SkX8WQtQqr62yOK_gKcvkJbaDfYJnzYGfi2ncEWc3oqc2z48txuA0tvc5CKjXDQ44fvCkOw3fkqXZptds4LyyX4-WprW3sMMXgXh0Y1SCwv0HyQCXGZ5RmnnCXSfBD5VCyUcT8eIlV-XPvWVtKdGOFmRGM8C88EBcHVAeS4aw7dyKhfrz3PRTweoYgt4aJu-Tk7vacAAu8GWR4UMBDIsFnRd0uKhnWEFU5q-2jdR-etBpoKxVgBcBBSSOp8OpfEI1eM1MxM6jtUXn6dJUFnjmUPVN_iixtnL-f2LLZi1ZDrJrSmqxOdTc0uhsHhNpsC6C5B2ft95Q0Da1PVzD_pl9irWxFg_C8MMNioSStE2aKVfVEklN3B9g59CQ2P6s1OY9BrTl9WtKFIHBTbJzEPc2Df2qDDaXuToPrXk0YOhpbMug07UY1goiuLRW3t","e":"AQAB"},"attributes":{"enabled":true,"created":1617789563,"updated":1617789563,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://cli000002.vault.azure.net/keys/cli000003/f8ff21aa066741e6b79e87cbae1c5614","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wjI4S7eKUrJZECFaVaTCmtSqay5fROqAWksoZG2M8i7da2cT0nuA6jc4H0Zin-STzT_BMKJOQ82S6hrhHm16Jw6bWjiVLbs9zwve0X8uSu7eUpmHBY2ZbMURxjTo7UbVYcPY3ycmiHqDraxhkSHvRDCE-ijdDLpFMTgQUGG6ZbX6EH1bA-nTcpenuCL5d4_3ccQGGu5Cuq8Lt8HLBpuFw02GYXLFa3QI2I2TQh9gSvUPPkAPf1fJ6gi2f50x83dx0nQzYnNEAqKA0N0-4DdCP7ttmdoR93XIErQPGYwdjhnmpnq_Ir_1XlUFbtlcZ15HimW4sf3np6U8bd4-EFimGWWn-dAEAauIfp9CdNtt27crFlA3GdlvtUScpt_9X5F0yZuj12crcGf81ZVtioGL49eDmivtCkSgXV03JZD6UDvqC9i4Fx-746dVEMsyvOCqUq3SvIuZW1l9aa-NxilM5TnhyM_2vRis7JJm2zUDqS5TEHz9V4axs91p1kv1E3FN","e":"AQAB"},"attributes":{"enabled":true,"created":1617939851,"updated":1617939851,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -504,7 +494,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:23 GMT + - Fri, 09 Apr 2021 03:44:10 GMT expires: - '-1' pragma: @@ -514,11 +504,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=131.107.160.177;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.8;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: - - 1.2.205.0 + - 1.2.236.0 x-powered-by: - ASP.NET status: @@ -546,7 +536,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_key_vault_key_uri000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001","name":"cli_test_cosmosdb_key_vault_key_uri000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001","name":"cli_test_cosmosdb_key_vault_key_uri000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -555,7 +545,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:59:23 GMT + - Fri, 09 Apr 2021 03:44:11 GMT expires: - '-1' pragma: @@ -586,37 +576,34 @@ interactions: Content-Length: - '302' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:59:26.7585819Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b4b1ecfd-4479-4ff4-a7f5-eccf8a48ac6b","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:18.870847Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a2e9afe-69a1-4ac2-966f-a893dae47561","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a38d7a9f-a74d-421d-958f-f89a5a34cc51?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1965' + - '1964' content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:28 GMT + - Fri, 09 Apr 2021 03:44:21 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/a38d7a9f-a74d-421d-958f-f89a5a34cc51?api-version=2021-03-15 pragma: - no-cache server: @@ -632,54 +619,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --locations --key-uri - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 09:59:58 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 + - '1188' status: code: 200 message: Ok @@ -687,7 +627,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -697,10 +637,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a38d7a9f-a74d-421d-958f-f89a5a34cc51?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -712,7 +651,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:29 GMT + - Fri, 09 Apr 2021 03:44:51 GMT pragma: - no-cache server: @@ -734,7 +673,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -744,10 +683,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a38d7a9f-a74d-421d-958f-f89a5a34cc51?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -759,7 +697,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:58 GMT + - Fri, 09 Apr 2021 03:45:21 GMT pragma: - no-cache server: @@ -781,7 +719,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -791,10 +729,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/350afcdb-349e-4503-ac4a-a2d922766b23?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a38d7a9f-a74d-421d-958f-f89a5a34cc51?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -806,7 +743,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:45:51 GMT pragma: - no-cache server: @@ -828,7 +765,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -838,14 +775,13 @@ interactions: ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:35.2900791Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b4b1ecfd-4479-4ff4-a7f5-eccf8a48ac6b","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:19.0092627Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a2e9afe-69a1-4ac2-966f-a893dae47561","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East @@ -858,7 +794,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:45:51 GMT pragma: - no-cache server: @@ -890,16 +826,13 @@ interactions: ParameterSetName: - -n -g --locations --key-uri User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_key_vault_key_uri000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:35.2900791Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b4b1ecfd-4479-4ff4-a7f5-eccf8a48ac6b","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:19.0092627Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4a2e9afe-69a1-4ac2-966f-a893dae47561","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East @@ -912,7 +845,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:29 GMT + - Fri, 09 Apr 2021 03:45:52 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_managed_service_identity.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_managed_service_identity.yaml index bee0c78beab..164567a932e 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_managed_service_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_managed_service_identity.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_managed_service_identity000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001","name":"cli_test_cosmosdb_managed_service_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-08T04:24:43Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001","name":"cli_test_cosmosdb_managed_service_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:41:41Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:24:44 GMT + - Fri, 09 Apr 2021 03:41:43 GMT expires: - '-1' pragma: @@ -62,43 +62,33 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":["a413a9ff-720c-4822-98ef-2f37c2a21f4c","a6520331-d7d4-4276-95f5-15c0933bc757","ded3d325-1bdc-453e-8432-5bac26d7a014","afa73018-811e-46e9-988f-f75d2b1b8430","b21a6b06-1988-436e-a07b-51ec6d9f52ad","531ee2f8-b1cb-453b-9c21-d2180d014ca5","bf28f719-7844-4079-9c78-c1307898e192","28b0fa46-c39a-4188-89e2-58e979a6b014","199a5c09-e0ca-4e37-8f7c-b05d533e1ea2","65cc641f-cccd-4643-97e0-a17e3045e541","e26c2fcc-ab91-4a61-b35c-03cdc8dddf66","46129a58-a698-46f0-aa5b-17f6586297d9","6db1f1db-2b46-403f-be40-e39395f08dbb","6dc145d6-95dd-4191-b9c3-185575ee6f6b","41fcdd7d-4733-4863-9cf4-c65b83ce2df4","c4801e8a-cb58-4c35-aca6-f2dcc106f287","0898bdbb-73b0-471a-81e5-20f1fe4dd66e","617b097b-4b93-4ede-83de-5f075bb5fb2f","33c4f319-9bdd-48d6-9c4d-410b750a4a5a","4828c8ec-dc2e-4779-b502-87ac9ce28ab7","3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":[],"skuId":"3d957427-ecdc-4df2-aacd-01cc9d519da8"},{"disabledPlans":[],"skuId":"85aae730-b3d1-4f99-bb28-c9f81b05137c"},{"disabledPlans":[],"skuId":"9f3d9c1d-25a5-4aaa-8e59-23a1e6450a67"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"dcb1a3ae-b33f-4487-846a-a640262fadf4"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"}],"assignedPlans":[{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2021-02-09T20:04:54Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2020-12-22T16:51:00Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2020-12-22T09:40:55Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2020-12-12T07:00:28Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2020-11-03T20:45:44Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-11-02T07:20:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2020-10-17T05:15:33Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2020-08-14T16:35:12Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2020-08-04T04:35:17Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2020-08-04T04:35:17Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2020-06-18T08:54:28Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2019-11-05T01:13:41Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-14T22:53:42Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-14T22:53:42Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-08-09T05:31:28Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2019-05-24T05:44:28Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2019-04-04T11:59:59Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2018-09-24T17:42:37Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2018-09-24T17:42:36Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-24T17:42:34Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-07T08:07:28Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2018-08-30T19:51:40Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-30T19:51:40Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2018-08-17T11:12:05Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2018-04-24T12:13:55Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T12:13:55Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"d20bfa21-e9ae-43fc-93c2-20783f0840c3"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"d5368ca3-357e-4acb-9c21-8495fb025d1f"},{"assignedTimestamp":"2018-04-10T22:59:34Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-03-23T20:17:21Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2018-03-17T19:08:22Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2018-01-09T12:15:17Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2018-01-01T06:11:02Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2018-01-01T06:11:02Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2017-12-31T18:29:33Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-14T17:23:04Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2017-12-14T17:23:04Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2017-11-07T05:47:38Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2017-10-07T05:28:20Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2017-10-07T05:28:20Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-08-01T17:31:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2017-07-25T07:23:13Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2017-07-25T07:23:13Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2017-07-25T02:18:21Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"}],"city":"REDMOND","companyName":"MICROSOFT","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"R&D - Data-CosmosDB","dirSyncEnabled":true,"displayName":"Xujin Zhang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Xujin","immutableId":"1239127","isCompromised":null,"jobTitle":"SOFTWARE - ENGINEER-II","lastDirSyncTime":"2020-11-01T21:33:33Z","legalAgeGroupClassification":null,"mail":"Xujin.Zhang@microsoft.com","mailNickname":"xujzhang","mobile":null,"onPremisesDistinguishedName":"CN=Xujin - Zhang,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-27869308","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"44/1D","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Deleted","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"}],"provisioningErrors":[],"proxyAddresses":["x500:/o=ExchangeLabs/ou=Exchange - Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=d39d10f7e66147488c06b2fed44eb497-Xujin - Zhang","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=e1b5b2dbdc314a969ef3d5d025758a5d-Xujin - Zhang","X500:/o=MMS/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=eaba1a1a934846319c448132ec7a8365-Xujin - Zhangda023b03-","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=d42f30b37d0f4b45a600de42bc3bc2df-Xujin - Zhang","smtp:xujzhang@microsoft.onmicrosoft.com","smtp:xujzhang@service.microsoft.com","smtp:xujzhang@microsoft.com","SMTP:Xujin.Zhang@microsoft.com"],"refreshTokensValidFromDateTime":"2019-03-18T22:32:26Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"xujzhang@microsoft.com","state":null,"streetAddress":null,"surname":"Zhang","telephoneNumber":"+1 - (425) 7050957","thumbnailPhoto@odata.mediaEditLink":"directoryObjects/9cbc4da9-4d2c-43ae-a33f-b111e43a41d3/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"US","userIdentities":[],"userPrincipalName":"xujzhang@microsoft.com","userState":null,"userStateChangedOn":null,"userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ZipCode":"98052","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_StateProvinceCode":"WA","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"472374","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Patrick, - Justin J","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToEmailName":"JUSTIPAT","extension_18e31482d3fb4a8ea958aa96b662f508_ProfitCenterCode":"P10049895","extension_18e31482d3fb4a8ea958aa96b662f508_PositionNumber":"90176061","extension_18e31482d3fb4a8ea958aa96b662f508_LocationAreaCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CountryShortCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CostCenterCode":"10049895","extension_18e31482d3fb4a8ea958aa96b662f508_CompanyCode":"1010","extension_18e31482d3fb4a8ea958aa96b662f508_CityName":"REDMOND","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingName":"44","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingID":"227","extension_18e31482d3fb4a8ea958aa96b662f508_AddressLine1":"1 - Microsoft Way","extension_18e31482d3fb4a8ea958aa96b662f508_PersonnelNumber":"1239127"}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2020-09-10T05:29:26Z","creationType":"Invitation","department":null,"dirSyncEnabled":null,"displayName":"Yishi + Wang","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"yishiwang@microsoft.com","mailNickname":"yishiwang_microsoft.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["yishiwang@microsoft.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":null,"provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:yishiwang@microsoft.com"],"refreshTokensValidFromDateTime":"2020-09-10T05:29:26Z","showInAddressList":false,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/3707fb2f-ac10-4591-a04f-8b0d786ea37d/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"yishiwang_microsoft.com#EXT#@AzureSDKTeam.onmicrosoft.com","userState":"Accepted","userStateChangedOn":"2020-09-10T05:30:29Z","userType":"Guest"}' headers: access-control-allow-origin: - '*' cache-control: - no-cache content-length: - - '20252' + - '1702' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Thu, 08 Apr 2021 04:24:45 GMT + - Fri, 09 Apr 2021 03:41:46 GMT duration: - - '1037277' + - '2807334' expires: - '-1' ocp-aad-diagnostics-server-name: - - PBFYWc/e24fdoN2Pq/fujwaX5iQQehmUJRJ+ojnlNBE= + - 325c1weenAEwhRUiNCQcR/pLOE+cRMl9RKDvdgYoO5E= ocp-aad-session-key: - - 7T07kyWbZfM8ZikLliNmUnTMk-ii9F94YIZtRXFbNxAgZlw9KTxN-C2akTr3LOhvxo8XbJhj6njwzI3zuhEKZ_tQHHuEwbv9vGiS-LQ3tGVixXRs04NBB5N97ue4soKm.HuUvj2sixM0db59R1qjrFR8Tl5gvFgMuRuTxlwtF3Co + - CRq5g0dW92yVYW6OOZsO-EKQHIeTlu7MDPT6TrjrnArps7zjJXYaT-M4-IpHWYEcN6HjqtQFHp94h-eFW8ncn_Fd_U9gn0Gd9ADRPFyrCqC-HAwVa3ooQT72tEdv1V04.2-rP93nSl8Zj61EACB_3DrZtFDiPQYsrnelfSy790Cc pragma: - no-cache request-id: - - 99210f3f-b27b-43b4-9c02-3455561562cc + - 73903580-0a82-4c00-8fc9-6b5f68e4208e strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -113,9 +103,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + body: '{"location": "westus", "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "9cbc4da9-4d2c-43ae-a33f-b111e43a41d3", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3707fb2f-ac10-4591-a04f-8b0d786ea37d", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -145,7 +135,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net","provisioningState":"RegisteringDns"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net","provisioningState":"RegisteringDns"}}' headers: cache-control: - no-cache @@ -154,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:24:47 GMT + - Fri, 09 Apr 2021 03:41:54 GMT expires: - '-1' pragma: @@ -172,9 +162,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' x-powered-by: - ASP.NET status: @@ -199,7 +189,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -208,7 +198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:18 GMT + - Fri, 09 Apr 2021 03:42:24 GMT expires: - '-1' pragma: @@ -226,7 +216,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-powered-by: - ASP.NET status: @@ -250,7 +240,7 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27a232010e-820c-4083-83bb-3ace5fc29d0b%27%29&api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Azure + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"5f66a281-6495-4430-9104-f976b12c4962","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Azure Cosmos DB","appId":"a232010e-820c-4083-83bb-3ace5fc29d0b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Azure Cosmos DB","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[{"adminConsentDescription":"Allow the application to access Azure Cosmos DB on behalf of the signed-in user.","adminConsentDisplayName":"Access @@ -270,19 +260,19 @@ interactions: dataserviceversion: - 3.0; date: - - Thu, 08 Apr 2021 04:25:19 GMT + - Fri, 09 Apr 2021 03:42:25 GMT duration: - - '521030' + - '2396214' expires: - '-1' ocp-aad-diagnostics-server-name: - - DJWsd2YUKt2l/xUUUsziRDQ1akWuU0NjHpOUO4hnUAM= + - CjDen3tOMbktu0pngbo/hnIwfAwGBugXGj6jj7IWIww= ocp-aad-session-key: - - wc6o0yZJcETEMIttYTVX_XP_KmDin60FOtl2kJPd3p6u-yL85_CYcJr9h-2Gymt6EJvC4e2cznr2CBikXF1W87fBn3iUCKYE-3I7OkppQkGJxz_D3LGd-hsVrps-T2FB.CblIs8X_UdgOanFcmFLhoL4R9mGsdHVqVxuBOvBfvQU + - rq1xdKFNDN06RavC9wsYjAErYZY8Nkb25UammxHghb8Padh0uNahnQkXe5fnmFrPJdkO-eGJkLvikvCtlqlH1WHS-qb6ugyHZbssCcyzjvXLrgwagH2ooV8S0awUU5wI.TPA5AdqpYnCbQCYxYpmTeQVIBviljWsqmvrIY72voss pragma: - no-cache request-id: - - 5b88489a-5d58-4ba5-bd98-ea947d274b6a + - 13db72fc-322f-426c-b40e-23b01f53645b strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -315,7 +305,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -324,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:20 GMT + - Fri, 09 Apr 2021 03:42:25 GMT expires: - '-1' pragma: @@ -342,24 +332,24 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "9cbc4da9-4d2c-43ae-a33f-b111e43a41d3", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3707fb2f-ac10-4591-a04f-8b0d786ea37d", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", "import", "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, - {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "e5007d2c-4b13-4a74-9b6a-605d99f03501", - "permissions": {"keys": ["wrapKey", "get", "unwrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", + {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "5f66a281-6495-4430-9104-f976b12c4962", + "permissions": {"keys": ["get", "wrapKey", "unwrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true}}' headers: @@ -383,7 +373,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","permissions":{"keys":["wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"5f66a281-6495-4430-9104-f976b12c4962","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -392,7 +382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:20 GMT + - Fri, 09 Apr 2021 03:42:26 GMT expires: - '-1' pragma: @@ -410,9 +400,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' x-powered-by: - ASP.NET status: @@ -450,7 +440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:20 GMT + - Fri, 09 Apr 2021 03:42:27 GMT expires: - '-1' pragma: @@ -458,12 +448,12 @@ interactions: strict-transport-security: - max-age=31536000;includeSubDomains www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + - Bearer authorization="https://login.windows.net/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", resource="https://vault.azure.net" x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=131.107.1.241;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.8;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: @@ -495,7 +485,7 @@ interactions: uri: https://cli000002.vault.azure.net/keys/cli000003/create?api-version=7.0 response: body: - string: '{"key":{"kid":"https://cli000002.vault.azure.net/keys/cli000003/745d4daa0cc94e6890813674e3813f76","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"5b9k1-Czk4Yrb2T99ml_M84s5G1M0Itn4K8hhhameSTLkJq44YhqZzyDPhw7cJjmJ-uoOu_MHHBSjxrMNoDDCnOr5TKPVoVVle0ZXbFlogxb7grPk7aGGHCaM2s-Bv3zM3xBVmG_DET8ohWKFEQ0By8mIKMw3PNQgNG0gS75SrB_-9ViqfL6jHgAaS2SqXneDm9ynYr5ubf-VvJrRZMuJcJsOyu28_V02o1MQ-wBOKpC4aXDul2q3om1v4SDxceuqfqWXfEbihXGJFnNuTTaJ1f6DZe6W5A194rWizdR60poZZJPbxrIcUPZPOJY9muJ4MVE99WKAJNlAobgZsnSyR-WogPY0LUPVnpWM1JMHbPeWhigrE4LWZQLXI5FegPgUpHT3o3rYURoK3GCc3fjV5fppyWq576YoAVaB1hNnBgCK_9wva_0aFxqbmRlPPCSC5O4uI1yRatzG9ANbjmdvLqPoTzuoXeLeXfiIW2J7BAGZzINO0VPkVMwp9Sfeeyp","e":"AQAB"},"attributes":{"enabled":true,"created":1617855921,"updated":1617855921,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://cli000002.vault.azure.net/keys/cli000003/7d2ccd845f024d7d83d90c5588551511","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6tfXFN8JrkRb0zkyw8prReXBMFXJ3NH7eS2AZgMkg-10w7mCnfE_IfRRZi0j91Yl2bAYGz4ce8GsYpL_jbSa2H3xfCqOMOYniDhVD-fvRfPhMcU_5oUNgHs3tVF-wGuIspe40nw4uHEjr_fAqs3luVuLddH6Ne-E54CCY8VO_nog2ukfN9uTbKk_egqq5p5KOQg-oOnz7EHUN3uhaZ991qZkpz7XhnR0twIAMztKI0sTlti_W1JrvfjOlFme1IUFaiuYAQ6oQFn0O4r3Fm5AUgn0EI-4wF1X8d83I5UXC0dro7KsThMNnqFQ6-lX9Tt4h-nAwMIvxcuj1zdmKCMe0PPCOF0bQryF_KmPdYRS4Hkhs1JbPYX9fSnTpQxihR0_OusEvGhdp7p9iELOVps2bUtflsKJmA_Z5nA1ZQggEI4kA7G4V-r4Z55GuhMyzje1RN0YBXeg5y5dXNQfnxhi76KQFRugvpypvN1ASkHsXA0RrStrjKwQ9_2_L60nwlCl","e":"AQAB"},"attributes":{"enabled":true,"created":1617939749,"updated":1617939749,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -504,7 +494,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:22 GMT + - Fri, 09 Apr 2021 03:42:29 GMT expires: - '-1' pragma: @@ -514,7 +504,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=131.107.1.241;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.8;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: @@ -546,7 +536,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_managed_service_identity000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001","name":"cli_test_cosmosdb_managed_service_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-08T04:24:43Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001","name":"cli_test_cosmosdb_managed_service_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:41:41Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -555,7 +545,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:25:21 GMT + - Fri, 09 Apr 2021 03:42:29 GMT expires: - '-1' pragma: @@ -587,37 +577,34 @@ interactions: Content-Length: - '383' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:25:26.4080813Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:42:40.537814Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"3b3847f2-5ead-4a6d-b46a-cea68eacdc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"336c2aa2-251b-4f1d-b848-13bea38be0c7","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/565d4f1b-1401-47a0-a641-c5b160072d5c?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '2096' + - '2095' content-type: - application/json date: - - Thu, 08 Apr 2021 04:25:28 GMT + - Fri, 09 Apr 2021 03:42:43 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/565d4f1b-1401-47a0-a641-c5b160072d5c?api-version=2021-03-15 pragma: - no-cache server: @@ -633,7 +620,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1191' status: code: 200 message: Ok @@ -641,54 +628,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --locations --key-uri --assign-identity --default-identity - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Thu, 08 Apr 2021 04:25:58 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -698,10 +638,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/565d4f1b-1401-47a0-a641-c5b160072d5c?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -713,7 +652,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:26:28 GMT + - Fri, 09 Apr 2021 03:43:14 GMT pragma: - no-cache server: @@ -735,7 +674,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -745,10 +684,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/565d4f1b-1401-47a0-a641-c5b160072d5c?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -760,7 +698,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:26:59 GMT + - Fri, 09 Apr 2021 03:43:44 GMT pragma: - no-cache server: @@ -782,7 +720,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -792,10 +730,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7e372c02-cae4-4bd1-a991-d839991c288b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/565d4f1b-1401-47a0-a641-c5b160072d5c?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -807,7 +744,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:27:29 GMT + - Fri, 09 Apr 2021 03:44:14 GMT pragma: - no-cache server: @@ -829,7 +766,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -839,18 +776,17 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"3b3847f2-5ead-4a6d-b46a-cea68eacdc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"336c2aa2-251b-4f1d-b848-13bea38be0c7","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -859,7 +795,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:27:29 GMT + - Fri, 09 Apr 2021 03:44:14 GMT pragma: - no-cache server: @@ -891,20 +827,17 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"3b3847f2-5ead-4a6d-b46a-cea68eacdc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"336c2aa2-251b-4f1d-b848-13bea38be0c7","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -913,7 +846,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:27:29 GMT + - Fri, 09 Apr 2021 03:44:14 GMT pragma: - no-cache server: @@ -945,20 +878,17 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"3b3847f2-5ead-4a6d-b46a-cea68eacdc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"336c2aa2-251b-4f1d-b848-13bea38be0c7","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -967,7 +897,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:27:29 GMT + - Fri, 09 Apr 2021 03:44:15 GMT pragma: - no-cache server: @@ -999,27 +929,24 @@ interactions: Content-Length: - '30' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"3b3847f2-5ead-4a6d-b46a-cea68eacdc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"336c2aa2-251b-4f1d-b848-13bea38be0c7","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/19e14725-ae32-4af4-bb9f-b2a9d73c3a21?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1869b682-ce2b-4cd1-8a90-1ab3172fef6e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1027,9 +954,9 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:27:32 GMT + - Fri, 09 Apr 2021 03:44:25 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/19e14725-ae32-4af4-bb9f-b2a9d73c3a21?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/1869b682-ce2b-4cd1-8a90-1ab3172fef6e?api-version=2021-03-15 pragma: - no-cache server: @@ -1045,7 +972,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' status: code: 200 message: Ok @@ -1053,7 +980,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1063,10 +990,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/19e14725-ae32-4af4-bb9f-b2a9d73c3a21?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1869b682-ce2b-4cd1-8a90-1ab3172fef6e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1078,7 +1004,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:02 GMT + - Fri, 09 Apr 2021 03:44:56 GMT pragma: - no-cache server: @@ -1100,7 +1026,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1110,14 +1036,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East @@ -1130,7 +1055,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:02 GMT + - Fri, 09 Apr 2021 03:44:56 GMT pragma: - no-cache server: @@ -1162,16 +1087,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East @@ -1184,7 +1106,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:03 GMT + - Fri, 09 Apr 2021 03:44:57 GMT pragma: - no-cache server: @@ -1216,27 +1138,24 @@ interactions: Content-Length: - '40' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e0f683e4-9349-49e9-b53a-e8ea4a51c972?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6d551d4e-c84a-493e-a2c2-2e49d67f8b82?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1244,9 +1163,9 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:06 GMT + - Fri, 09 Apr 2021 03:45:04 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/e0f683e4-9349-49e9-b53a-e8ea4a51c972?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/6d551d4e-c84a-493e-a2c2-2e49d67f8b82?api-version=2021-03-15 pragma: - no-cache server: @@ -1262,7 +1181,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1183' status: code: 200 message: Ok @@ -1270,7 +1189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1280,10 +1199,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e0f683e4-9349-49e9-b53a-e8ea4a51c972?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6d551d4e-c84a-493e-a2c2-2e49d67f8b82?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1295,7 +1213,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:37 GMT + - Fri, 09 Apr 2021 03:45:35 GMT pragma: - no-cache server: @@ -1317,7 +1235,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1327,18 +1245,17 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -1347,7 +1264,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:37 GMT + - Fri, 09 Apr 2021 03:45:35 GMT pragma: - no-cache server: @@ -1384,7 +1301,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","permissions":{"keys":["wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"5f66a281-6495-4430-9104-f976b12c4962","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1393,7 +1310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:28:37 GMT + - Fri, 09 Apr 2021 03:45:37 GMT expires: - '-1' pragma: @@ -1411,26 +1328,26 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "9cbc4da9-4d2c-43ae-a33f-b111e43a41d3", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3707fb2f-ac10-4591-a04f-8b0d786ea37d", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", "import", "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, - {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "e5007d2c-4b13-4a74-9b6a-605d99f03501", - "permissions": {"keys": ["wrapKey", "get", "unwrapKey"]}}, {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "5bf68cfa-eb78-4de0-9fd9-f432c375df0a", "permissions": {"keys": - ["wrapKey", "get", "unwrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", + {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "5f66a281-6495-4430-9104-f976b12c4962", + "permissions": {"keys": ["get", "wrapKey", "unwrapKey"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", + "objectId": "7d4d97eb-0c0a-4fe2-8907-9f0264535e19", "permissions": {"keys": + ["get", "wrapKey", "unwrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true}}' headers: @@ -1454,7 +1371,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"9cbc4da9-4d2c-43ae-a33f-b111e43a41d3","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"e5007d2c-4b13-4a74-9b6a-605d99f03501","permissions":{"keys":["wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","permissions":{"keys":["wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3707fb2f-ac10-4591-a04f-8b0d786ea37d","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"5f66a281-6495-4430-9104-f976b12c4962","permissions":{"keys":["get","wrapKey","unwrapKey"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1463,7 +1380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 04:28:38 GMT + - Fri, 09 Apr 2021 03:45:38 GMT expires: - '-1' pragma: @@ -1481,9 +1398,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.248.2 + - 1.1.286.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1181' x-powered-by: - ASP.NET status: @@ -1503,20 +1420,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -1525,7 +1439,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:38 GMT + - Fri, 09 Apr 2021 03:45:37 GMT pragma: - no-cache server: @@ -1558,27 +1472,24 @@ interactions: Content-Length: - '82' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/02a686b1-3ef9-4fff-8c23-ec6811627884?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/65446f2b-108b-43ed-b837-26f90c013534?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1586,9 +1497,9 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:28:41 GMT + - Fri, 09 Apr 2021 03:45:42 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/02a686b1-3ef9-4fff-8c23-ec6811627884?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/65446f2b-108b-43ed-b837-26f90c013534?api-version=2021-03-15 pragma: - no-cache server: @@ -1604,7 +1515,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1180' status: code: 200 message: Ok @@ -1612,7 +1523,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1622,10 +1533,9 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/02a686b1-3ef9-4fff-8c23-ec6811627884?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/65446f2b-108b-43ed-b837-26f90c013534?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1637,7 +1547,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:29:11 GMT + - Fri, 09 Apr 2021 03:46:13 GMT pragma: - no-cache server: @@ -1659,7 +1569,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1669,18 +1579,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -1689,7 +1598,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:29:11 GMT + - Fri, 09 Apr 2021 03:46:14 GMT pragma: - no-cache server: @@ -1721,20 +1630,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-08T04:26:31.6036897Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"dd43aa27-09a6-47fb-9843-c2915574ea27","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:42.5843124Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ee29c6ef-14a9-4243-9734-15b114dc6ed2","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-eastus2","locationName":"East US 2","documentEndpoint":"https://cli000004-eastus2.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-eastus2","locationName":"East - US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"5bf68cfa-eb78-4de0-9fd9-f432c375df0a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' + US 2","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"SystemAssigned","principalId":"7d4d97eb-0c0a-4fe2-8907-9f0264535e19","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}' headers: cache-control: - no-store, no-cache @@ -1743,7 +1649,7 @@ interactions: content-type: - application/json date: - - Thu, 08 Apr 2021 04:29:11 GMT + - Fri, 09 Apr 2021 03:46:14 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_collection.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_collection.yaml index aaf0f9dfb74..4e33b924c45 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_collection.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_collection.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_mongodb_collection000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001","name":"cli_test_cosmosdb_mongodb_collection000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001","name":"cli_test_cosmosdb_mongodb_collection000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:39:10Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:39:13 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '265' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.1280785Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"6b8f2183-6539-4014-ac66-1368492ea700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:39:19.4646524Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"cdce1778-6d32-4243-ab9f-4660e32ad172","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7b878378-9e63-4695-9f8f-ac9bd5278944?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:55 GMT + - Fri, 09 Apr 2021 03:39:22 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/7b878378-9e63-4695-9f8f-ac9bd5278944?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1187' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7b878378-9e63-4695-9f8f-ac9bd5278944?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:25 GMT + - Fri, 09 Apr 2021 03:39:52 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7b878378-9e63-4695-9f8f-ac9bd5278944?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:55 GMT + - Fri, 09 Apr 2021 03:40:23 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,104 +214,9 @@ interactions: ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:00:25 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --kind --enable-analytical-storage --server-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:00:55 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --kind --enable-analytical-storage --server-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b0640b83-48ac-4dc8-bdd2-da39c3376e18?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7b878378-9e63-4695-9f8f-ac9bd5278944?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -328,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:40:54 GMT pragma: - no-cache server: @@ -350,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -360,14 +260,13 @@ interactions: ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:25.8821579Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"6b8f2183-6539-4014-ac66-1368492ea700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:31.3735218Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"cdce1778-6d32-4243-ab9f-4660e32ad172","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -380,7 +279,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:40:54 GMT pragma: - no-cache server: @@ -412,16 +311,13 @@ interactions: ParameterSetName: - -n -g --kind --enable-analytical-storage --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:25.8821579Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"6b8f2183-6539-4014-ac66-1368492ea700","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:31.3735218Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"cdce1778-6d32-4243-ab9f-4660e32ad172","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -434,7 +330,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:40:55 GMT pragma: - no-cache server: @@ -466,14 +362,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004?api-version=2021-03-15 response: @@ -481,7 +374,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a185a213-cdf9-4e28-80ee-47140fbdc073?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/bbbec8d8-e1c2-4bba-83a7-40bdfb4a585d?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -489,9 +382,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:40:55 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/operationResults/a185a213-cdf9-4e28-80ee-47140fbdc073?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/operationResults/bbbec8d8-e1c2-4bba-83a7-40bdfb4a585d?api-version=2021-03-15 pragma: - no-cache server: @@ -503,7 +396,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1191' status: code: 202 message: Accepted @@ -511,7 +404,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -521,10 +414,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a185a213-cdf9-4e28-80ee-47140fbdc073?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/bbbec8d8-e1c2-4bba-83a7-40bdfb4a585d?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -536,7 +428,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:41:26 GMT pragma: - no-cache server: @@ -558,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -568,13 +460,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"YEAMAA==","_etag":"\"00007708-0000-0700-0000-606d82fb0000\"","_ts":1617789691}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases","name":"cli000004","properties":{"resource":{"id":"cli000004","_rid":"Vx9RAA==","_etag":"\"0000fe09-0000-0700-0000-606fcccc0000\"","_ts":1617939660}}}' headers: cache-control: - no-store, no-cache @@ -583,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:57 GMT + - Fri, 09 Apr 2021 03:41:27 GMT pragma: - no-cache server: @@ -615,25 +506,22 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 4a6ab780-9788-11eb-843a-705a0f2f2f32, Request URI: /apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/912a04a6-4b27-489a-bc97-0d121134512a/partitions/c66e4e89-c962-401a-9fa2-dae025247550/replicas/132622080074805291s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:01:58.8943145Z, RequestEndTime: - 2021-04-07T10:01:58.8943145Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:01:58.8943145Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.27:11000/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/912a04a6-4b27-489a-bc97-0d121134512a/partitions/c66e4e89-c962-401a-9fa2-dae025247550/replicas/132622080074805291s, + 76f5bf12-98e5-11eb-b88d-2cf05d45d149, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b094cfe7-0fff-496d-8fcc-a938f25e4cf4/partitions/0f3212c5-a2d2-40a4-9928-2b1c31eddb8b/replicas/132624117039211912s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:41:28.4151631Z, RequestEndTime: + 2021-04-09T03:41:28.4151631Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:41:28.4151631Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.22:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b094cfe7-0fff-496d-8fcc-a938f25e4cf4/partitions/0f3212c5-a2d2-40a4-9928-2b1c31eddb8b/replicas/132624117039211912s, LSN: 9, GlobalCommittedLsn: 9, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#9, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, - OperationType: Read\\r\\nResponseTime: 2021-04-07T10:01:58.8943145Z, StoreResult: - StorePhysicalAddress: rntbd://10.0.0.22:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/912a04a6-4b27-489a-bc97-0d121134512a/partitions/c66e4e89-c962-401a-9fa2-dae025247550/replicas/132622080074805292s, + OperationType: Read\\r\\nResponseTime: 2021-04-09T03:41:28.4151631Z, StoreResult: + StorePhysicalAddress: rntbd://10.0.0.28:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b094cfe7-0fff-496d-8fcc-a938f25e4cf4/partitions/0f3212c5-a2d2-40a4-9928-2b1c31eddb8b/replicas/132624117039211910s, LSN: 9, GlobalCommittedLsn: 9, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#9, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, @@ -647,7 +535,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:41:27 GMT pragma: - no-cache server: @@ -676,14 +564,11 @@ interactions: Content-Length: - '137' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --shard --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: @@ -691,7 +576,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63aff046-f606-4a4a-8526-a378a2850da9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/266bcd4a-4ad1-4ec5-bb2a-4df2851db78a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -699,9 +584,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:58 GMT + - Fri, 09 Apr 2021 03:41:29 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/63aff046-f606-4a4a-8526-a378a2850da9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/266bcd4a-4ad1-4ec5-bb2a-4df2851db78a?api-version=2021-03-15 pragma: - no-cache server: @@ -713,7 +598,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 202 message: Accepted @@ -721,7 +606,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -731,10 +616,9 @@ interactions: ParameterSetName: - -g -a -d -n --shard --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63aff046-f606-4a4a-8526-a378a2850da9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/266bcd4a-4ad1-4ec5-bb2a-4df2851db78a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -746,7 +630,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:29 GMT + - Fri, 09 Apr 2021 03:41:59 GMT pragma: - no-cache server: @@ -768,7 +652,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -778,13 +662,12 @@ interactions: ParameterSetName: - -g -a -d -n --shard --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00007c08-0000-0700-0000-606d831c0000\"","_ts":1617789724,"analyticalStorageTtl":3000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"0000050a-0000-0700-0000-606fccee0000\"","_ts":1617939694,"analyticalStorageTtl":3000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' headers: cache-control: - no-store, no-cache @@ -793,7 +676,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:41:59 GMT pragma: - no-cache server: @@ -825,15 +708,12 @@ interactions: ParameterSetName: - -g -a -d -n --idx --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00007c08-0000-0700-0000-606d831c0000\"","_ts":1617789724,"analyticalStorageTtl":3000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"0000050a-0000-0700-0000-606fccee0000\"","_ts":1617939694,"analyticalStorageTtl":3000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' headers: cache-control: - no-store, no-cache @@ -842,7 +722,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:42:00 GMT pragma: - no-cache server: @@ -876,14 +756,11 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --idx --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: @@ -891,7 +768,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3e4c697c-a0cb-455f-b931-7c0b9d296d3d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2da2a6c-f251-4e03-ac9f-89f6e7d13483?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -899,9 +776,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:42:01 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/3e4c697c-a0cb-455f-b931-7c0b9d296d3d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/c2da2a6c-f251-4e03-ac9f-89f6e7d13483?api-version=2021-03-15 pragma: - no-cache server: @@ -913,7 +790,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 202 message: Accepted @@ -921,7 +798,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -931,10 +808,9 @@ interactions: ParameterSetName: - -g -a -d -n --idx --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3e4c697c-a0cb-455f-b931-7c0b9d296d3d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2da2a6c-f251-4e03-ac9f-89f6e7d13483?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -946,7 +822,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:01 GMT + - Fri, 09 Apr 2021 03:42:31 GMT pragma: - no-cache server: @@ -968,7 +844,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -978,13 +854,12 @@ interactions: ParameterSetName: - -g -a -d -n --idx --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00008208-0000-0700-0000-606d833e0000\"","_ts":1617789758,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"00000e0a-0000-0700-0000-606fcd0d0000\"","_ts":1617939725,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' headers: cache-control: - no-store, no-cache @@ -993,7 +868,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:01 GMT + - Fri, 09 Apr 2021 03:42:31 GMT pragma: - no-cache server: @@ -1025,15 +900,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00008208-0000-0700-0000-606d833e0000\"","_ts":1617789758,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"00000e0a-0000-0700-0000-606fcd0d0000\"","_ts":1617939725,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' headers: cache-control: - no-store, no-cache @@ -1042,7 +914,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:01 GMT + - Fri, 09 Apr 2021 03:42:32 GMT pragma: - no-cache server: @@ -1074,15 +946,12 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00008208-0000-0700-0000-606d833e0000\"","_ts":1617789758,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"00000e0a-0000-0700-0000-606fcd0d0000\"","_ts":1617939725,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}]}' headers: cache-control: - no-store, no-cache @@ -1091,7 +960,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:02 GMT + - Fri, 09 Apr 2021 03:42:34 GMT pragma: - no-cache server: @@ -1123,15 +992,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"YEAMAKTCzCs=","_etag":"\"00008208-0000-0700-0000-606d833e0000\"","_ts":1617789758,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"Vx9RAL574Bw=","_etag":"\"00000e0a-0000-0700-0000-606fcd0d0000\"","_ts":1617939725,"analyticalStorageTtl":6000,"shardKey":{"theShardKey":"Hash"},"indexes":[{"key":{"keys":["_id"]},"options":{}},{"key":{"keys":["_ts"]},"options":{"expireAfterSeconds":1000}},{"key":{"keys":["DocumentDBDefaultIndex"]},"options":{}}]}}}' headers: cache-control: - no-store, no-cache @@ -1140,7 +1006,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:42:34 GMT pragma: - no-cache server: @@ -1162,7 +1028,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1174,10 +1040,7 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002?api-version=2021-03-15 response: @@ -1185,7 +1048,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/22b2ca66-fddd-492f-be4e-594124ed4e4c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/43e3e4a5-e69a-48dd-9bc5-2aaac1bab233?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1193,9 +1056,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:42:36 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/22b2ca66-fddd-492f-be4e-594124ed4e4c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections/cli000002/operationResults/43e3e4a5-e69a-48dd-9bc5-2aaac1bab233?api-version=2021-03-15 pragma: - no-cache server: @@ -1207,7 +1070,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14995' status: code: 202 message: Accepted @@ -1215,7 +1078,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1225,10 +1088,9 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/22b2ca66-fddd-492f-be4e-594124ed4e4c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/43e3e4a5-e69a-48dd-9bc5-2aaac1bab233?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1240,7 +1102,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:33 GMT + - Fri, 09 Apr 2021 03:43:06 GMT pragma: - no-cache server: @@ -1272,10 +1134,7 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_collection000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000004/collections?api-version=2021-03-15 response: @@ -1289,7 +1148,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:34 GMT + - Fri, 09 Apr 2021 03:43:07 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_database.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_database.yaml index 078b2b02067..f2e1fe129fd 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_database.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_database.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_mongodb_database000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001","name":"cli_test_cosmosdb_mongodb_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001","name":"cli_test_cosmosdb_mongodb_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:38:51Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:38:53 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '210' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.6095478Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cbdec8d1-1977-4143-9811-64aaa6ef5c2d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:38:59.9869109Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"983a6e55-0391-4174-a0d5-d4cdf8af90a1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableMongo"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:56 GMT + - Fri, 09 Apr 2021 03:39:02 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1185' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:26 GMT + - Fri, 09 Apr 2021 03:39:33 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:56 GMT + - Fri, 09 Apr 2021 03:40:03 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:26 GMT + - Fri, 09 Apr 2021 03:40:33 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,10 +259,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f315557a-6c4b-470e-8a8f-cafac1b985c2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2b6dfa76-751f-49e1-9c1d-8c57772b95bf?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -280,7 +273,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:41:03 GMT pragma: - no-cache server: @@ -302,7 +295,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -312,14 +305,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.7424036Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","mongoEndpoint":"https://cli000003.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cbdec8d1-1977-4143-9811-64aaa6ef5c2d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:21.3228845Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","mongoEndpoint":"https://cli000003.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"983a6e55-0391-4174-a0d5-d4cdf8af90a1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -332,7 +324,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:41:04 GMT pragma: - no-cache server: @@ -364,16 +356,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:24.7424036Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","mongoEndpoint":"https://cli000003.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"cbdec8d1-1977-4143-9811-64aaa6ef5c2d","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:21.3228845Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","mongoEndpoint":"https://cli000003.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"983a6e55-0391-4174-a0d5-d4cdf8af90a1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -386,7 +375,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:56 GMT + - Fri, 09 Apr 2021 03:41:04 GMT pragma: - no-cache server: @@ -418,32 +407,29 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Error=26, Details=''Response status code - does not indicate success: NotFound (404); Substatus: 0; ActivityId: 09c2d383-fdd0-4750-97ea-6f7c74450764; + does not indicate success: NotFound (404); Substatus: 0; ActivityId: 08121dfe-1dab-46da-b09b-06f4796f9a3e; Reason: ({\r\n \"code\": \"NotFound\",\r\n \"message\": \"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 09c2d383-fdd0-4750-97ea-6f7c74450764, Request URI: /apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/d58b615c-0b6b-4e18-99fa-48d5c84ff77d/partitions/ea9cc5ed-0d9d-41cf-8f3b-011c07fd4379/replicas/132618219076709067s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:00:57.9819953Z, RequestEndTime: - 2021-04-07T10:00:57.9819953Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:00:57.9819953Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.20:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/d58b615c-0b6b-4e18-99fa-48d5c84ff77d/partitions/ea9cc5ed-0d9d-41cf-8f3b-011c07fd4379/replicas/132618219076709067s, + 08121dfe-1dab-46da-b09b-06f4796f9a3e, Request URI: /apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/0b1ca867-718d-4434-ab50-57d3996b13ed/partitions/5edbe838-1dc2-4e57-878b-340a1e8f659c/replicas/132520274632373502s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:41:06.0558765Z, RequestEndTime: + 2021-04-09T03:41:06.0558765Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:41:06.0558765Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.26:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/0b1ca867-718d-4434-ab50-57d3996b13ed/partitions/5edbe838-1dc2-4e57-878b-340a1e8f659c/replicas/132520274632373502s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: - Read\\r\\nResponseTime: 2021-04-07T10:00:57.9819953Z, StoreResult: StorePhysicalAddress: - rntbd://10.0.0.26:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/d58b615c-0b6b-4e18-99fa-48d5c84ff77d/partitions/ea9cc5ed-0d9d-41cf-8f3b-011c07fd4379/replicas/132618219076709068s, + Read\\r\\nResponseTime: 2021-04-09T03:41:06.0558765Z, StoreResult: StorePhysicalAddress: + rntbd://10.0.0.28:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/0b1ca867-718d-4434-ab50-57d3996b13ed/partitions/5edbe838-1dc2-4e57-878b-340a1e8f659c/replicas/132620840103007663s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: Read\\r\\n, SDK: Microsoft.Azure.Documents.Common/2.11.0\"\r\n});\r\nActivityId: - 25f904d4-9788-11eb-bcf9-705a0f2f2f32, Microsoft.Azure.Documents.Common/2.11.0"}' + 69513de8-98e5-11eb-a79f-2cf05d45d149, Microsoft.Azure.Documents.Common/2.11.0"}' headers: cache-control: - no-store, no-cache @@ -452,7 +438,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:57 GMT + - Fri, 09 Apr 2021 03:41:05 GMT pragma: - no-cache server: @@ -480,14 +466,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: @@ -495,7 +478,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9b55ae0-bfb4-4f85-9db3-44d88c0799c2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3e7d7321-770b-45d9-9b52-d3e37671a18e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -503,9 +486,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:58 GMT + - Fri, 09 Apr 2021 03:41:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002/operationResults/e9b55ae0-bfb4-4f85-9db3-44d88c0799c2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002/operationResults/3e7d7321-770b-45d9-9b52-d3e37671a18e?api-version=2021-03-15 pragma: - no-cache server: @@ -517,7 +500,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -525,7 +508,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -535,10 +518,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9b55ae0-bfb4-4f85-9db3-44d88c0799c2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3e7d7321-770b-45d9-9b52-d3e37671a18e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -550,7 +532,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:41:37 GMT pragma: - no-cache server: @@ -572,7 +554,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -582,8 +564,7 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: @@ -597,7 +578,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:28 GMT + - Fri, 09 Apr 2021 03:41:37 GMT pragma: - no-cache server: @@ -629,10 +610,7 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: @@ -646,7 +624,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:30 GMT + - Fri, 09 Apr 2021 03:41:39 GMT pragma: - no-cache server: @@ -678,10 +656,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases?api-version=2021-03-15 response: @@ -695,7 +670,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:31 GMT + - Fri, 09 Apr 2021 03:41:40 GMT pragma: - no-cache server: @@ -727,10 +702,7 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: @@ -744,7 +716,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:31 GMT + - Fri, 09 Apr 2021 03:41:41 GMT pragma: - no-cache server: @@ -766,7 +738,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -778,10 +750,7 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002?api-version=2021-03-15 response: @@ -789,7 +758,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/be0c07c7-42ed-4093-a4e8-8972b486e53a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9a3a48ff-4b8b-4c10-965d-e2cc8ec2d83d?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -797,9 +766,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:31 GMT + - Fri, 09 Apr 2021 03:41:42 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002/operationResults/be0c07c7-42ed-4093-a4e8-8972b486e53a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases/cli000002/operationResults/9a3a48ff-4b8b-4c10-965d-e2cc8ec2d83d?api-version=2021-03-15 pragma: - no-cache server: @@ -811,7 +780,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14994' status: code: 202 message: Accepted @@ -819,7 +788,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -829,10 +798,9 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/be0c07c7-42ed-4093-a4e8-8972b486e53a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9a3a48ff-4b8b-4c10-965d-e2cc8ec2d83d?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -844,7 +812,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:42:13 GMT pragma: - no-cache server: @@ -876,10 +844,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/mongodbDatabases?api-version=2021-03-15 response: @@ -893,7 +858,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:42:14 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput.yaml index abbc1b9fcb5..ebc4a750c81 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_mongodb_resource_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001","name":"cli_test_cosmosdb_mongodb_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T09:58:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001","name":"cli_test_cosmosdb_mongodb_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:40:08Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 09:58:48 GMT + - Fri, 09 Apr 2021 03:40:10 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '210' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T09:58:52.1958591Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ae820396-4fc5-4712-9c19-837343e3522f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:40:17.1683597Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f1c52824-d24d-4047-b007-33383ad24c91","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableMongo"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:58:54 GMT + - Fri, 09 Apr 2021 03:40:19 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1178' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 09:59:24 GMT + - Fri, 09 Apr 2021 03:40:49 GMT pragma: - no-cache server: @@ -161,54 +157,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --kind - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 09:59:55 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +167,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -233,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:25 GMT + - Fri, 09 Apr 2021 03:41:19 GMT pragma: - no-cache server: @@ -255,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,10 +213,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -280,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:54 GMT + - Fri, 09 Apr 2021 03:41:50 GMT pragma: - no-cache server: @@ -302,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -312,10 +259,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5bc4be47-0ef6-4e91-8c55-5402b21235db?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4956c818-5ba9-469f-972b-3172d3ff365d?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -327,7 +273,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:24 GMT + - Fri, 09 Apr 2021 03:42:20 GMT pragma: - no-cache server: @@ -349,7 +295,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -359,14 +305,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:26.1321862Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ae820396-4fc5-4712-9c19-837343e3522f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:41:41.9666878Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f1c52824-d24d-4047-b007-33383ad24c91","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -379,7 +324,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:25 GMT + - Fri, 09 Apr 2021 03:42:20 GMT pragma: - no-cache server: @@ -411,16 +356,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:26.1321862Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ae820396-4fc5-4712-9c19-837343e3522f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:41:41.9666878Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f1c52824-d24d-4047-b007-33383ad24c91","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -433,7 +375,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:42:21 GMT pragma: - no-cache server: @@ -466,14 +408,11 @@ interactions: Content-Length: - '88' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003?api-version=2021-03-15 response: @@ -481,7 +420,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6fb4e7fc-1680-4885-8616-cc526dd6ce12?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b776fbe-3a17-477c-b6ac-e98c8550de78?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -489,9 +428,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:26 GMT + - Fri, 09 Apr 2021 03:42:22 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/operationResults/6fb4e7fc-1680-4885-8616-cc526dd6ce12?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/operationResults/4b776fbe-3a17-477c-b6ac-e98c8550de78?api-version=2021-03-15 pragma: - no-cache server: @@ -503,7 +442,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1192' status: code: 202 message: Accepted @@ -511,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -521,10 +460,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6fb4e7fc-1680-4885-8616-cc526dd6ce12?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4b776fbe-3a17-477c-b6ac-e98c8550de78?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -536,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:42:52 GMT pragma: - no-cache server: @@ -558,7 +496,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -568,8 +506,7 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003?api-version=2021-03-15 response: @@ -583,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:56 GMT + - Fri, 09 Apr 2021 03:42:52 GMT pragma: - no-cache server: @@ -615,15 +552,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"Bgyp","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"dKod","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -632,7 +566,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:57 GMT + - Fri, 09 Apr 2021 03:42:54 GMT pragma: - no-cache server: @@ -664,14 +598,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -679,7 +610,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/41e3fa21-9e24-472a-befb-274499882d5b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4217c6a-2641-4f9f-b70d-578db024d4ed?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -687,9 +618,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:59 GMT + - Fri, 09 Apr 2021 03:42:56 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/operationResults/41e3fa21-9e24-472a-befb-274499882d5b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/operationResults/c4217c6a-2641-4f9f-b70d-578db024d4ed?api-version=2021-03-15 pragma: - no-cache server: @@ -701,7 +632,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1181' status: code: 202 message: Accepted @@ -709,7 +640,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -719,10 +650,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/41e3fa21-9e24-472a-befb-274499882d5b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4217c6a-2641-4f9f-b70d-578db024d4ed?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -734,7 +664,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:29 GMT + - Fri, 09 Apr 2021 03:43:26 GMT pragma: - no-cache server: @@ -756,7 +686,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -766,13 +696,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"Bgyp","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"dKod","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -781,7 +710,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:29 GMT + - Fri, 09 Apr 2021 03:43:27 GMT pragma: - no-cache server: @@ -814,14 +743,11 @@ interactions: Content-Length: - '125' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --shard --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004?api-version=2021-03-15 response: @@ -829,7 +755,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/136420d1-058f-406c-8fe5-7c8bf84a4c4a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1cef6c37-46a4-4f41-b28f-6de411b3ae72?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -837,9 +763,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:30 GMT + - Fri, 09 Apr 2021 03:43:28 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/operationResults/136420d1-058f-406c-8fe5-7c8bf84a4c4a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/operationResults/1cef6c37-46a4-4f41-b28f-6de411b3ae72?api-version=2021-03-15 pragma: - no-cache server: @@ -851,7 +777,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' status: code: 202 message: Accepted @@ -859,7 +785,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -869,10 +795,9 @@ interactions: ParameterSetName: - -g -a -d -n --shard --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/136420d1-058f-406c-8fe5-7c8bf84a4c4a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1cef6c37-46a4-4f41-b28f-6de411b3ae72?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -884,7 +809,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:01 GMT + - Fri, 09 Apr 2021 03:43:58 GMT pragma: - no-cache server: @@ -906,7 +831,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -916,8 +841,7 @@ interactions: ParameterSetName: - -g -a -d -n --shard --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004?api-version=2021-03-15 response: @@ -931,7 +855,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:43:59 GMT pragma: - no-cache server: @@ -963,15 +887,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"TzmZ","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"8scY","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -980,7 +901,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:04 GMT + - Fri, 09 Apr 2021 03:44:01 GMT pragma: - no-cache server: @@ -1012,14 +933,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -1027,7 +945,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/db8fc697-1b49-409d-a6ab-43df8643b672?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6de8656-68e0-4be9-a484-279d9efc04af?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1035,9 +953,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:04 GMT + - Fri, 09 Apr 2021 03:44:02 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/operationResults/db8fc697-1b49-409d-a6ab-43df8643b672?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/operationResults/d6de8656-68e0-4be9-a484-279d9efc04af?api-version=2021-03-15 pragma: - no-cache server: @@ -1049,7 +967,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1191' status: code: 202 message: Accepted @@ -1057,7 +975,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1067,10 +985,9 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/db8fc697-1b49-409d-a6ab-43df8643b672?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6de8656-68e0-4be9-a484-279d9efc04af?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1082,7 +999,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:35 GMT + - Fri, 09 Apr 2021 03:44:33 GMT pragma: - no-cache server: @@ -1104,7 +1021,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1114,13 +1031,12 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"TzmZ","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"8scY","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1129,7 +1045,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:36 GMT + - Fri, 09 Apr 2021 03:44:34 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput_autoscale.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput_autoscale.yaml index cccd78df665..db02182ea32 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput_autoscale.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_mongodb_resource_throughput_autoscale.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:00:28Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:42:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:00:28 GMT + - Fri, 09 Apr 2021 03:42:21 GMT expires: - '-1' pragma: @@ -60,37 +60,34 @@ interactions: Content-Length: - '210' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:30.96773Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"70d088d6-2638-4766-af39-ad3b25810290","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:42:27.3580492Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb68ccfd-01b9-42d8-8e8a-d598af1c902f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableMongo"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1928' + - '1930' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:32 GMT + - Fri, 09 Apr 2021 03:42:29 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1176' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:02 GMT + - Fri, 09 Apr 2021 03:43:00 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:32 GMT + - Fri, 09 Apr 2021 03:43:30 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:44:00 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,10 +259,9 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a060adde-aa7a-439c-ad83-7e8f9bfaf3c8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d95d39a1-e19c-44ad-8a83-9a42d17b142e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -280,7 +273,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:44:30 GMT pragma: - no-cache server: @@ -302,7 +295,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -312,14 +305,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:52.0185386Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"70d088d6-2638-4766-af39-ad3b25810290","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:49.6748803Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb68ccfd-01b9-42d8-8e8a-d598af1c902f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -332,7 +324,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:44:31 GMT pragma: - no-cache server: @@ -364,16 +356,13 @@ interactions: ParameterSetName: - -n -g --kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:52.0185386Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"70d088d6-2638-4766-af39-ad3b25810290","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:49.6748803Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","mongoEndpoint":"https://cli000002.mongo.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb68ccfd-01b9-42d8-8e8a-d598af1c902f","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.6"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -386,7 +375,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:32 GMT + - Fri, 09 Apr 2021 03:44:31 GMT pragma: - no-cache server: @@ -419,14 +408,11 @@ interactions: Content-Length: - '87' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003?api-version=2021-03-15 response: @@ -434,7 +420,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/334d7d41-b74e-4ddc-b7f9-097021e770a0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cf996620-dfae-4cad-b44a-2c0ff74bbc79?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -442,9 +428,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:33 GMT + - Fri, 09 Apr 2021 03:44:31 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/operationResults/334d7d41-b74e-4ddc-b7f9-097021e770a0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/operationResults/cf996620-dfae-4cad-b44a-2c0ff74bbc79?api-version=2021-03-15 pragma: - no-cache server: @@ -456,7 +442,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1178' status: code: 202 message: Accepted @@ -464,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,10 +460,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/334d7d41-b74e-4ddc-b7f9-097021e770a0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cf996620-dfae-4cad-b44a-2c0ff74bbc79?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -489,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:03 GMT + - Fri, 09 Apr 2021 03:45:01 GMT pragma: - no-cache server: @@ -511,7 +496,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -521,8 +506,7 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003?api-version=2021-03-15 response: @@ -536,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:04 GMT + - Fri, 09 Apr 2021 03:45:02 GMT pragma: - no-cache server: @@ -568,15 +552,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"ic-W","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"PnNr","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -585,7 +566,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:05 GMT + - Fri, 09 Apr 2021 03:45:04 GMT pragma: - no-cache server: @@ -619,10 +600,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -630,7 +608,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4126e9f7-8396-4df1-ad57-8298d3a88d20?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/374bc5e5-9cf9-43fb-a2c1-1d7e1460b3ff?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -638,9 +616,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:45:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/4126e9f7-8396-4df1-ad57-8298d3a88d20?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/374bc5e5-9cf9-43fb-a2c1-1d7e1460b3ff?api-version=2021-03-15 pragma: - no-cache server: @@ -652,7 +630,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 202 message: Accepted @@ -660,7 +638,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -670,10 +648,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4126e9f7-8396-4df1-ad57-8298d3a88d20?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/374bc5e5-9cf9-43fb-a2c1-1d7e1460b3ff?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -685,7 +662,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:36 GMT + - Fri, 09 Apr 2021 03:45:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb mongodb database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/374bc5e5-9cf9-43fb-a2c1-1d7e1460b3ff?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToAutoscale","name":"PnNr","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '525' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:45:36 GMT pragma: - no-cache server: @@ -717,15 +740,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"ic-W","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"PnNr","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -734,7 +754,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:36 GMT + - Fri, 09 Apr 2021 03:45:38 GMT pragma: - no-cache server: @@ -766,14 +786,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -781,7 +798,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5dc73337-016d-44ea-9f43-51aa91ad079f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/982285d3-b45d-4c6c-844b-64c68ae975cf?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -789,9 +806,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:45:39 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/operationResults/5dc73337-016d-44ea-9f43-51aa91ad079f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/operationResults/982285d3-b45d-4c6c-844b-64c68ae975cf?api-version=2021-03-15 pragma: - no-cache server: @@ -803,7 +820,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1184' status: code: 202 message: Accepted @@ -811,7 +828,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -821,10 +838,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5dc73337-016d-44ea-9f43-51aa91ad079f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/982285d3-b45d-4c6c-844b-64c68ae975cf?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -836,7 +852,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:07 GMT + - Fri, 09 Apr 2021 03:46:09 GMT pragma: - no-cache server: @@ -858,7 +874,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -868,13 +884,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"ic-W","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings","name":"PnNr","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -883,7 +898,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:08 GMT + - Fri, 09 Apr 2021 03:46:09 GMT pragma: - no-cache server: @@ -917,10 +932,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -928,7 +940,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/922ac04b-7fcb-4ee5-8cff-6edfbe8a9c64?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eaa8bac4-5aa5-4d61-81cd-420bf583ff21?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -936,9 +948,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:09 GMT + - Fri, 09 Apr 2021 03:46:11 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/922ac04b-7fcb-4ee5-8cff-6edfbe8a9c64?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/eaa8bac4-5aa5-4d61-81cd-420bf583ff21?api-version=2021-03-15 pragma: - no-cache server: @@ -950,7 +962,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 202 message: Accepted @@ -958,7 +970,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -968,10 +980,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/922ac04b-7fcb-4ee5-8cff-6edfbe8a9c64?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eaa8bac4-5aa5-4d61-81cd-420bf583ff21?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -983,7 +994,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:46:41 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb mongodb database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/eaa8bac4-5aa5-4d61-81cd-420bf583ff21?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToManualThroughput","name":"PnNr","properties":{"resource":{"throughput":8000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '496' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:46:41 GMT pragma: - no-cache server: @@ -1016,14 +1073,11 @@ interactions: Content-Length: - '124' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --throughput --shard User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004?api-version=2021-03-15 response: @@ -1031,7 +1085,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2f45666-abb6-43ef-9d23-657ff048f102?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/99de1536-5079-4612-8e90-b04b9fb2c4d4?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1039,9 +1093,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:40 GMT + - Fri, 09 Apr 2021 03:46:42 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/operationResults/c2f45666-abb6-43ef-9d23-657ff048f102?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/operationResults/99de1536-5079-4612-8e90-b04b9fb2c4d4?api-version=2021-03-15 pragma: - no-cache server: @@ -1053,7 +1107,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1183' status: code: 202 message: Accepted @@ -1061,7 +1115,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1071,10 +1125,9 @@ interactions: ParameterSetName: - -g -a -d -n --throughput --shard User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2f45666-abb6-43ef-9d23-657ff048f102?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/99de1536-5079-4612-8e90-b04b9fb2c4d4?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1086,7 +1139,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:47:14 GMT pragma: - no-cache server: @@ -1108,7 +1161,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1118,8 +1171,7 @@ interactions: ParameterSetName: - -g -a -d -n --throughput --shard User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004?api-version=2021-03-15 response: @@ -1133,7 +1185,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:47:14 GMT pragma: - no-cache server: @@ -1165,15 +1217,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"y8Eu","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"2rH-","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1182,7 +1231,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:47:15 GMT pragma: - no-cache server: @@ -1216,10 +1265,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -1227,7 +1273,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5718e00c-935f-4d62-bcc5-c3e84d5df83f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e68ac0a3-6c56-4906-940e-f6544888e4ed?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1235,9 +1281,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:47:18 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/5718e00c-935f-4d62-bcc5-c3e84d5df83f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/e68ac0a3-6c56-4906-940e-f6544888e4ed?api-version=2021-03-15 pragma: - no-cache server: @@ -1249,7 +1295,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 202 message: Accepted @@ -1257,7 +1303,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1267,10 +1313,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5718e00c-935f-4d62-bcc5-c3e84d5df83f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e68ac0a3-6c56-4906-940e-f6544888e4ed?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1282,7 +1327,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:43 GMT + - Fri, 09 Apr 2021 03:47:47 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb mongodb collection throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -d -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/e68ac0a3-6c56-4906-940e-f6544888e4ed?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToAutoscale","name":"2rH-","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '565' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:47:48 GMT pragma: - no-cache server: @@ -1314,14 +1405,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -1329,7 +1417,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c5e59e0d-73b0-48b5-8166-d7848ba5f3a0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6ecf636-5e5e-4e19-80bf-93e1752ec2b0?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1337,9 +1425,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:47:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/operationResults/c5e59e0d-73b0-48b5-8166-d7848ba5f3a0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/operationResults/d6ecf636-5e5e-4e19-80bf-93e1752ec2b0?api-version=2021-03-15 pragma: - no-cache server: @@ -1351,7 +1439,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1183' status: code: 202 message: Accepted @@ -1359,7 +1447,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1369,10 +1457,9 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c5e59e0d-73b0-48b5-8166-d7848ba5f3a0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d6ecf636-5e5e-4e19-80bf-93e1752ec2b0?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1384,7 +1471,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:14 GMT + - Fri, 09 Apr 2021 03:48:19 GMT pragma: - no-cache server: @@ -1406,7 +1493,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1416,13 +1503,12 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"y8Eu","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings","name":"2rH-","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -1431,7 +1517,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:14 GMT + - Fri, 09 Apr 2021 03:48:20 GMT pragma: - no-cache server: @@ -1465,10 +1551,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -1476,7 +1559,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fba4c18e-d65d-429d-8d7c-d009a43a1695?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/810bcc8d-7f59-471c-957e-e9d5869b4936?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1484,9 +1567,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:48:22 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/fba4c18e-d65d-429d-8d7c-d009a43a1695?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/810bcc8d-7f59-471c-957e-e9d5869b4936?api-version=2021-03-15 pragma: - no-cache server: @@ -1498,7 +1581,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1195' status: code: 202 message: Accepted @@ -1506,7 +1589,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1516,10 +1599,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fba4c18e-d65d-429d-8d7c-d009a43a1695?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/810bcc8d-7f59-471c-957e-e9d5869b4936?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1531,7 +1613,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:46 GMT + - Fri, 09 Apr 2021 03:48:52 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb mongodb collection throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -d -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/810bcc8d-7f59-471c-957e-e9d5869b4936?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_mongodb_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/mongodbDatabases/cli000003/collections/cli000004/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToManualThroughput","name":"2rH-","properties":{"resource":{"throughput":5000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '536' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:48:52 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_add.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_add.yaml index f3430e6158b..abc6519a78a 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_add.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_add.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:02:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:01 GMT + - Fri, 09 Apr 2021 03:43:37 GMT expires: - '-1' pragma: @@ -70,15 +70,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"879d7993-90d2-49cc-a1c2-73560dae4465\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"265577c1-b289-447c-87a4-617867e5cdd5\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"cf782d88-7a38-4ad6-b801-3d48f3677fe4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"85c1b6af-2f78-4c30-a3dc-d5dded14af4b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"879d7993-90d2-49cc-a1c2-73560dae4465\\\"\",\r\n + \ \"etag\": \"W/\\\"265577c1-b289-447c-87a4-617867e5cdd5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -89,7 +89,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e769bc26-d53a-46fe-bbf6-b5d0ec02e3cc?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/32253503-bcee-45fb-bb9b-a73ca5dc4e6e?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -97,7 +97,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:02 GMT + - Fri, 09 Apr 2021 03:43:43 GMT expires: - '-1' pragma: @@ -110,9 +110,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a158acfd-1909-4c08-ae62-0b791f39d55a + - 269bca7e-2bb9-4513-8208-5b4fbf2dd3b2 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1175' status: code: 201 message: Created @@ -132,7 +132,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e769bc26-d53a-46fe-bbf6-b5d0ec02e3cc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/32253503-bcee-45fb-bb9b-a73ca5dc4e6e?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -144,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:05 GMT + - Fri, 09 Apr 2021 03:43:46 GMT expires: - '-1' pragma: @@ -161,7 +161,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0f165002-87c7-4202-9f65-84ca371d9c2c + - 6ac4d701-e2f9-4f7c-a39c-98f470ab4be2 status: code: 200 message: OK @@ -185,15 +185,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"ba05484f-a846-47eb-8196-9b0dcd9a4d7a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"94b94ac5-c88e-48c3-98dd-57c4ed92e31a\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"cf782d88-7a38-4ad6-b801-3d48f3677fe4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"85c1b6af-2f78-4c30-a3dc-d5dded14af4b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"ba05484f-a846-47eb-8196-9b0dcd9a4d7a\\\"\",\r\n + \ \"etag\": \"W/\\\"94b94ac5-c88e-48c3-98dd-57c4ed92e31a\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -208,9 +208,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:05 GMT + - Fri, 09 Apr 2021 03:43:46 GMT etag: - - W/"ba05484f-a846-47eb-8196-9b0dcd9a4d7a" + - W/"94b94ac5-c88e-48c3-98dd-57c4ed92e31a" expires: - '-1' pragma: @@ -227,7 +227,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a7897649-adbe-4bd2-bc50-5c0a46da0ae8 + - db94aede-573f-4ee9-b1d5-74bb73072704 status: code: 200 message: OK @@ -253,7 +253,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:02:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -262,7 +262,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:06 GMT + - Fri, 09 Apr 2021 03:43:47 GMT expires: - '-1' pragma: @@ -293,27 +293,24 @@ interactions: Content-Length: - '258' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:08.4409643Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:53.9528512Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9369b772-6749-42f8-991f-30d522614ca2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -321,9 +318,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:10 GMT + - Fri, 09 Apr 2021 03:43:57 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/9369b772-6749-42f8-991f-30d522614ca2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 pragma: - no-cache server: @@ -339,7 +336,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1183' status: code: 200 message: Ok @@ -347,7 +344,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -357,10 +354,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9369b772-6749-42f8-991f-30d522614ca2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -372,7 +368,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:40 GMT + - Fri, 09 Apr 2021 03:44:27 GMT pragma: - no-cache server: @@ -394,7 +390,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -404,10 +400,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9369b772-6749-42f8-991f-30d522614ca2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -419,7 +414,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:44:57 GMT pragma: - no-cache server: @@ -441,7 +436,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --enable-virtual-network + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:45:28 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -451,10 +492,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9369b772-6749-42f8-991f-30d522614ca2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/019c5426-ef43-4282-9f3a-8255d0b78c82?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -466,7 +506,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:41 GMT + - Fri, 09 Apr 2021 03:45:59 GMT pragma: - no-cache server: @@ -488,7 +528,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -498,14 +538,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -518,7 +557,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:41 GMT + - Fri, 09 Apr 2021 03:45:59 GMT pragma: - no-cache server: @@ -550,16 +589,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -572,7 +608,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:40 GMT + - Fri, 09 Apr 2021 03:45:59 GMT pragma: - no-cache server: @@ -604,16 +640,13 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -626,7 +659,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:41 GMT + - Fri, 09 Apr 2021 03:46:00 GMT pragma: - no-cache server: @@ -659,27 +692,24 @@ interactions: Content-Length: - '371' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -687,9 +717,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:44 GMT + - Fri, 09 Apr 2021 03:46:04 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 pragma: - no-cache server: @@ -705,7 +735,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1184' status: code: 200 message: Ok @@ -713,7 +743,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -723,10 +753,9 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -738,7 +767,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:13 GMT + - Fri, 09 Apr 2021 03:46:35 GMT pragma: - no-cache server: @@ -760,7 +789,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -770,10 +799,9 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -785,7 +813,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:44 GMT + - Fri, 09 Apr 2021 03:47:06 GMT pragma: - no-cache server: @@ -807,7 +835,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -817,10 +845,9 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -832,7 +859,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:14 GMT + - Fri, 09 Apr 2021 03:47:36 GMT pragma: - no-cache server: @@ -854,7 +881,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -864,10 +891,9 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/302037f0-6bdd-444a-a749-accba9f05867?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8f24e49d-6b56-4b62-9252-61ed49fdded2?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -879,7 +905,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:48:06 GMT pragma: - no-cache server: @@ -901,7 +927,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -911,14 +937,13 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -931,7 +956,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:48:06 GMT pragma: - no-cache server: @@ -963,16 +988,13 @@ interactions: ParameterSetName: - -n -g --virtual-network --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -985,7 +1007,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:48:06 GMT pragma: - no-cache server: @@ -1017,16 +1039,13 @@ interactions: ParameterSetName: - -n -g --vnet-name --subnet --ignore-missing-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1039,7 +1058,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:48:08 GMT pragma: - no-cache server: @@ -1072,20 +1091,17 @@ interactions: Content-Length: - '371' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --vnet-name --subnet --ignore-missing-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1098,7 +1114,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:48:11 GMT pragma: - no-cache server: @@ -1114,7 +1130,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1187' status: code: 200 message: Ok @@ -1132,16 +1148,13 @@ interactions: ParameterSetName: - -n -g --vnet-name --subnet --ignore-missing-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:11.7457055Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"14518f4b-4dc6-4d1f-b4f2-c3c8d4dc01ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:57.5218649Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1fb1d31e-e2cc-4d67-84a6-d894116554b1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1154,7 +1167,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:48:11 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_list.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_list.yaml index 9cd81886688..d56638bae6c 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_list.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_list.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:06Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:12Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:43:14 GMT expires: - '-1' pragma: @@ -70,15 +70,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"5c8b6492-e63e-42bf-8236-0c51b96c55ac\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"887c32b0-dfeb-4bdb-8ac8-162bd88761fb\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"117fc198-bbe4-43b6-8f6e-caf2aa8680d2\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"a1f8777d-513b-4cba-beea-c144ccb864e9\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"5c8b6492-e63e-42bf-8236-0c51b96c55ac\\\"\",\r\n + \ \"etag\": \"W/\\\"887c32b0-dfeb-4bdb-8ac8-162bd88761fb\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -89,7 +89,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/400def17-42bc-448e-b04b-fd192d232445?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5bcaa0ab-037d-4d87-a3ee-f207e3a4d265?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -97,7 +97,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:08 GMT + - Fri, 09 Apr 2021 03:43:19 GMT expires: - '-1' pragma: @@ -110,9 +110,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d4b2d5fe-e163-436b-975f-c63be5192fb3 + - b76731e1-937a-45b0-a5d7-4d0e83819f97 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' status: code: 201 message: Created @@ -132,7 +132,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/400def17-42bc-448e-b04b-fd192d232445?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5bcaa0ab-037d-4d87-a3ee-f207e3a4d265?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -144,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:43:22 GMT expires: - '-1' pragma: @@ -161,7 +161,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a9f2e45-c34f-4968-bae6-cfd7839f88f2 + - 4c3ddfff-ac41-46ed-94ad-e594bac352d8 status: code: 200 message: OK @@ -185,15 +185,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"77d78dc0-05fb-48b7-ab56-1abaefd791b7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"38526155-eb8e-46d4-9a18-4695541f0fe1\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"117fc198-bbe4-43b6-8f6e-caf2aa8680d2\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"a1f8777d-513b-4cba-beea-c144ccb864e9\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"77d78dc0-05fb-48b7-ab56-1abaefd791b7\\\"\",\r\n + \ \"etag\": \"W/\\\"38526155-eb8e-46d4-9a18-4695541f0fe1\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -208,9 +208,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:43:22 GMT etag: - - W/"77d78dc0-05fb-48b7-ab56-1abaefd791b7" + - W/"38526155-eb8e-46d4-9a18-4695541f0fe1" expires: - '-1' pragma: @@ -227,7 +227,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eaf6f8f1-aa41-440e-a44e-4121bff034c7 + - 5b44ac4b-56c3-4af6-bdb7-530660ac57bb status: code: 200 message: OK @@ -251,7 +251,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"77d78dc0-05fb-48b7-ab56-1abaefd791b7\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"38526155-eb8e-46d4-9a18-4695541f0fe1\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -264,9 +264,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:43:23 GMT etag: - - W/"77d78dc0-05fb-48b7-ab56-1abaefd791b7" + - W/"38526155-eb8e-46d4-9a18-4695541f0fe1" expires: - '-1' pragma: @@ -283,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c6dd813b-6c7a-4d78-acfe-fc8827b35c99 + - f6f8b893-1a5d-412c-bb4b-217dffdd1c1e status: code: 200 message: OK @@ -314,7 +314,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"322cc42e-8ef1-4596-ab10-299740cfa2fb\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"a4de2aa0-1374-48d1-9412-f258c47c21c9\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Updating\",\r\n \ \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": @@ -323,7 +323,7 @@ interactions: \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/92187a69-647e-4078-9347-635920a83edf?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fac4b7f5-0415-4dbc-bbe9-bf6374096f1a?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -331,7 +331,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:43:24 GMT expires: - '-1' pragma: @@ -348,9 +348,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c89c2407-4af8-469d-9df5-361fb9aa9153 + - b5e6252b-77de-45f5-8e98-89b511c33cfc x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 200 message: OK @@ -370,7 +370,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/92187a69-647e-4078-9347-635920a83edf?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fac4b7f5-0415-4dbc-bbe9-bf6374096f1a?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -382,7 +382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:14 GMT + - Fri, 09 Apr 2021 03:43:28 GMT expires: - '-1' pragma: @@ -399,7 +399,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9e8a1fd4-2bf0-423e-b4d3-20b2d73713d3 + - a1ce8770-1e3c-4891-a43d-f9e820cb8a10 status: code: 200 message: OK @@ -423,7 +423,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"b99709ba-669b-4e87-928c-a39536621a9c\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"11376370-c556-43e4-91e4-ad5775899349\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": @@ -438,9 +438,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:14 GMT + - Fri, 09 Apr 2021 03:43:28 GMT etag: - - W/"b99709ba-669b-4e87-928c-a39536621a9c" + - W/"11376370-c556-43e4-91e4-ad5775899349" expires: - '-1' pragma: @@ -457,7 +457,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f7528a3-6c82-4335-a6ba-a4b021a90de4 + - 417a2b19-5255-4195-9f14-f794a3734edb status: code: 200 message: OK @@ -483,7 +483,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:06Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:43:12Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -492,7 +492,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:15 GMT + - Fri, 09 Apr 2021 03:43:29 GMT expires: - '-1' pragma: @@ -524,27 +524,24 @@ interactions: Content-Length: - '571' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:18.2970479Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb7054a9-9ec8-4bc3-b37a-7907cbb7d54b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:43:35.1418828Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"c0a7a228-b4e9-4c87-8036-8ca433efd8b4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -552,9 +549,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:20 GMT + - Fri, 09 Apr 2021 03:43:37 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 pragma: - no-cache server: @@ -570,7 +567,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' status: code: 200 message: Ok @@ -578,7 +575,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -588,10 +585,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -603,7 +599,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:50 GMT + - Fri, 09 Apr 2021 03:44:07 GMT pragma: - no-cache server: @@ -625,7 +621,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -635,10 +631,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -650,7 +645,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:21 GMT + - Fri, 09 Apr 2021 03:44:37 GMT pragma: - no-cache server: @@ -672,7 +667,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -682,10 +677,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -697,7 +691,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:51 GMT + - Fri, 09 Apr 2021 03:45:08 GMT pragma: - no-cache server: @@ -719,7 +713,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -729,10 +723,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -744,7 +737,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:21 GMT + - Fri, 09 Apr 2021 03:45:39 GMT pragma: - no-cache server: @@ -766,7 +759,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -776,10 +769,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -791,7 +783,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:50 GMT + - Fri, 09 Apr 2021 03:46:09 GMT pragma: - no-cache server: @@ -813,7 +805,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -823,10 +815,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8154ef0b-0b69-4955-826f-775e4a9e6cc1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4f850a1-4ed7-4c03-9fe6-3746933b1e20?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -838,7 +829,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:46:39 GMT pragma: - no-cache server: @@ -860,7 +851,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -870,14 +861,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:27.7744431Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb7054a9-9ec8-4bc3-b37a-7907cbb7d54b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:41.5535853Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"c0a7a228-b4e9-4c87-8036-8ca433efd8b4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -890,7 +880,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:46:39 GMT pragma: - no-cache server: @@ -922,16 +912,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network --virtual-network-rule User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:27.7744431Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb7054a9-9ec8-4bc3-b37a-7907cbb7d54b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:41.5535853Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"c0a7a228-b4e9-4c87-8036-8ca433efd8b4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -944,7 +931,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:46:39 GMT pragma: - no-cache server: @@ -976,16 +963,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:27.7744431Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bb7054a9-9ec8-4bc3-b37a-7907cbb7d54b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:41.5535853Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":false}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"c0a7a228-b4e9-4c87-8036-8ca433efd8b4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -998,7 +982,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:46:40 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_remove.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_remove.yaml index 7e7978146f2..48e13563150 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_remove.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_network_rule_remove.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:44:06Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:44:08 GMT expires: - '-1' pragma: @@ -70,15 +70,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"2d3befec-7e3f-4330-85fd-164454a177fa\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b5c900a-8735-4212-9f3b-2b9358c5d3cc\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"45edb409-3269-4dfa-9094-e2115d653d18\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"249471a9-ec25-4346-b2ad-3789f3c5711d\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"2d3befec-7e3f-4330-85fd-164454a177fa\\\"\",\r\n + \ \"etag\": \"W/\\\"3b5c900a-8735-4212-9f3b-2b9358c5d3cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -89,7 +89,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/06ea87f2-542f-45d0-a4fb-7daf0dbd1831?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1e56641-bfce-49f4-8a4b-241014b97914?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -97,7 +97,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:48 GMT + - Fri, 09 Apr 2021 03:44:15 GMT expires: - '-1' pragma: @@ -110,9 +110,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cc29cd3c-6d2a-4650-87a2-ccdd3484b18c + - 22fbd6f7-6e1a-4c41-a86f-f87cb5c65bc2 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1179' status: code: 201 message: Created @@ -132,7 +132,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/06ea87f2-542f-45d0-a4fb-7daf0dbd1831?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1e56641-bfce-49f4-8a4b-241014b97914?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -144,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:44:18 GMT expires: - '-1' pragma: @@ -161,7 +161,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5289659c-0e28-4c02-8d17-a58e60911824 + - 30c122ed-f010-4052-bbfd-6df52b0de7b4 status: code: 200 message: OK @@ -185,15 +185,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003\",\r\n - \ \"etag\": \"W/\\\"9996378c-c3a4-48ee-85e7-d7af32ac617c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"365adcc4-8003-49d4-8bef-afaa94b57717\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"45edb409-3269-4dfa-9094-e2115d653d18\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"249471a9-ec25-4346-b2ad-3789f3c5711d\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004\",\r\n - \ \"etag\": \"W/\\\"9996378c-c3a4-48ee-85e7-d7af32ac617c\\\"\",\r\n + \ \"etag\": \"W/\\\"365adcc4-8003-49d4-8bef-afaa94b57717\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -208,9 +208,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:44:18 GMT etag: - - W/"9996378c-c3a4-48ee-85e7-d7af32ac617c" + - W/"365adcc4-8003-49d4-8bef-afaa94b57717" expires: - '-1' pragma: @@ -227,7 +227,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7cb4be51-7c41-4400-ab32-d5694ba68623 + - 9d5fb2c8-fd31-4403-9a23-bebeb194d8ca status: code: 200 message: OK @@ -253,7 +253,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:44:06Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -262,7 +262,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:44:18 GMT expires: - '-1' pragma: @@ -293,27 +293,24 @@ interactions: Content-Length: - '258' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:54.3113668Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:25.5276682Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3261ffa6-af5d-4564-83f0-5f0290bc8652?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cdf8bec4-f6e1-424f-a6a0-685c2cecc456?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -321,9 +318,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:56 GMT + - Fri, 09 Apr 2021 03:44:28 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/3261ffa6-af5d-4564-83f0-5f0290bc8652?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/cdf8bec4-f6e1-424f-a6a0-685c2cecc456?api-version=2021-03-15 pragma: - no-cache server: @@ -339,7 +336,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1182' status: code: 200 message: Ok @@ -347,7 +344,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -357,10 +354,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3261ffa6-af5d-4564-83f0-5f0290bc8652?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cdf8bec4-f6e1-424f-a6a0-685c2cecc456?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -372,7 +368,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:26 GMT + - Fri, 09 Apr 2021 03:44:58 GMT pragma: - no-cache server: @@ -394,7 +390,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -404,10 +400,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3261ffa6-af5d-4564-83f0-5f0290bc8652?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cdf8bec4-f6e1-424f-a6a0-685c2cecc456?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -419,7 +414,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:56 GMT + - Fri, 09 Apr 2021 03:45:30 GMT pragma: - no-cache server: @@ -441,7 +436,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -451,10 +446,9 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3261ffa6-af5d-4564-83f0-5f0290bc8652?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cdf8bec4-f6e1-424f-a6a0-685c2cecc456?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -466,7 +460,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:26 GMT + - Fri, 09 Apr 2021 03:46:00 GMT pragma: - no-cache server: @@ -488,7 +482,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -498,14 +492,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -518,7 +511,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:26 GMT + - Fri, 09 Apr 2021 03:46:00 GMT pragma: - no-cache server: @@ -550,16 +543,13 @@ interactions: ParameterSetName: - -n -g --enable-virtual-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -572,7 +562,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:26 GMT + - Fri, 09 Apr 2021 03:46:01 GMT pragma: - no-cache server: @@ -604,16 +594,13 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -626,7 +613,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:46:02 GMT pragma: - no-cache server: @@ -659,27 +646,24 @@ interactions: Content-Length: - '371' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -687,9 +671,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:29 GMT + - Fri, 09 Apr 2021 03:46:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 pragma: - no-cache server: @@ -705,7 +689,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1180' status: code: 200 message: Ok @@ -713,7 +697,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -723,10 +707,9 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -738,7 +721,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:59 GMT + - Fri, 09 Apr 2021 03:46:37 GMT pragma: - no-cache server: @@ -760,7 +743,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -770,10 +753,9 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -785,7 +767,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:29 GMT + - Fri, 09 Apr 2021 03:47:07 GMT pragma: - no-cache server: @@ -807,7 +789,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -817,10 +799,9 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -832,7 +813,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:00 GMT + - Fri, 09 Apr 2021 03:47:38 GMT pragma: - no-cache server: @@ -854,7 +835,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -864,10 +845,9 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/361aae3a-f856-4f91-ac2f-742087478983?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d64f303c-5b8d-42ad-8907-72aa043c9116?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -879,7 +859,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:30 GMT + - Fri, 09 Apr 2021 03:48:09 GMT pragma: - no-cache server: @@ -901,7 +881,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -911,14 +891,13 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -931,7 +910,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:30 GMT + - Fri, 09 Apr 2021 03:48:09 GMT pragma: - no-cache server: @@ -963,16 +942,13 @@ interactions: ParameterSetName: - -n -g --subnet --ignore-missing-vnet-service-endpoint User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -985,7 +961,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:29 GMT + - Fri, 09 Apr 2021 03:48:09 GMT pragma: - no-cache server: @@ -1017,16 +993,13 @@ interactions: ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1039,7 +1012,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:30 GMT + - Fri, 09 Apr 2021 03:48:11 GMT pragma: - no-cache server: @@ -1071,27 +1044,24 @@ interactions: Content-Length: - '43' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.Network/virtualNetworks/cli000003/subnets/cli000004","ignoreMissingVNetServiceEndpoint":true}],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cbc3c41-9a04-4d71-b4d5-2fa909c01f95?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6882e2ea-14d1-47fe-ac29-2659326bfc40?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1099,9 +1069,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:32 GMT + - Fri, 09 Apr 2021 03:48:14 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/6cbc3c41-9a04-4d71-b4d5-2fa909c01f95?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/6882e2ea-14d1-47fe-ac29-2659326bfc40?api-version=2021-03-15 pragma: - no-cache server: @@ -1117,7 +1087,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1186' status: code: 200 message: Ok @@ -1125,7 +1095,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1135,10 +1105,9 @@ interactions: ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cbc3c41-9a04-4d71-b4d5-2fa909c01f95?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6882e2ea-14d1-47fe-ac29-2659326bfc40?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1150,7 +1119,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:03 GMT + - Fri, 09 Apr 2021 03:48:44 GMT pragma: - no-cache server: @@ -1172,7 +1141,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1182,10 +1151,9 @@ interactions: ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cbc3c41-9a04-4d71-b4d5-2fa909c01f95?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6882e2ea-14d1-47fe-ac29-2659326bfc40?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1197,7 +1165,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:33 GMT + - Fri, 09 Apr 2021 03:49:14 GMT pragma: - no-cache server: @@ -1219,7 +1187,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1229,14 +1197,13 @@ interactions: ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1249,7 +1216,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:33 GMT + - Fri, 09 Apr 2021 03:49:15 GMT pragma: - no-cache server: @@ -1281,16 +1248,13 @@ interactions: ParameterSetName: - -n -g --subnet User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1303,7 +1267,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:32 GMT + - Fri, 09 Apr 2021 03:49:15 GMT pragma: - no-cache server: @@ -1335,16 +1299,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:56.4678616Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"a46ad136-6789-405a-a5e1-c85bb66541bd","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:46.0197235Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":true,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2da14c89-84e6-4b1f-81a6-5380fbc40fdf","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1357,7 +1318,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:33 GMT + - Fri, 09 Apr 2021 03:49:16 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml index 61d5e4c23ba..fb8a8dff0e0 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_endpoint.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_pe000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001","name":"cli_test_cosmosdb_pe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001","name":"cli_test_cosmosdb_pe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:44:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:44:40 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","name":"cli-test-cosmosdb-pe-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:49.2783908Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5a83ee1c-bf72-4cb9-be91-c46b5e23f6f2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:44:47.0497355Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"92c77c12-71c9-440b-8bbe-9e8c7a76a76a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24cb259a-aef7-4df7-ac05-ff4f9efa02b3?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a29222e7-8f2a-47e1-a353-880d096db479?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:44:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/operationResults/24cb259a-aef7-4df7-ac05-ff4f9efa02b3?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/operationResults/a29222e7-8f2a-47e1-a353-880d096db479?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1181' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24cb259a-aef7-4df7-ac05-ff4f9efa02b3?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a29222e7-8f2a-47e1-a353-880d096db479?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:22 GMT + - Fri, 09 Apr 2021 03:45:19 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24cb259a-aef7-4df7-ac05-ff4f9efa02b3?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a29222e7-8f2a-47e1-a353-880d096db479?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:52 GMT + - Fri, 09 Apr 2021 03:45:50 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24cb259a-aef7-4df7-ac05-ff4f9efa02b3?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a29222e7-8f2a-47e1-a353-880d096db479?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:46:20 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","name":"cli-test-cosmosdb-pe-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:42.6285362Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-pe-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5a83ee1c-bf72-4cb9-be91-c46b5e23f6f2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:42.3022004Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-pe-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"92c77c12-71c9-440b-8bbe-9e8c7a76a76a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:46:21 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002","name":"cli-test-cosmosdb-pe-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:42.6285362Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-pe-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5a83ee1c-bf72-4cb9-be91-c46b5e23f6f2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:45:42.3022004Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-pe-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"92c77c12-71c9-440b-8bbe-9e8c7a76a76a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-pe-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-pe-000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:46:21 GMT pragma: - no-cache server: @@ -383,15 +373,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"d8c4702e-cdc9-4504-8d18-b4a95e78dc21\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"f939ff2f-5ace-4adc-991d-78369c65cd06\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6e9f7458-6088-4d26-8879-1380b02d65a3\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"980d548a-3b36-4d2e-aeb5-6ac6d1c26314\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"d8c4702e-cdc9-4504-8d18-b4a95e78dc21\\\"\",\r\n + \ \"etag\": \"W/\\\"f939ff2f-5ace-4adc-991d-78369c65cd06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -402,7 +392,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/09b9baf0-7607-422a-aaf6-8896cdc53406?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/f7975436-f807-4053-b8cc-243ed4cfec61?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -410,7 +400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:24 GMT + - Fri, 09 Apr 2021 03:46:28 GMT expires: - '-1' pragma: @@ -423,9 +413,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e1226610-27b5-4798-82c1-133072294003 + - 156c37e4-edab-48d3-8e16-2aadd1d68ec1 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1181' status: code: 201 message: Created @@ -445,7 +435,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/09b9baf0-7607-422a-aaf6-8896cdc53406?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/f7975436-f807-4053-b8cc-243ed4cfec61?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -457,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:46:31 GMT expires: - '-1' pragma: @@ -474,7 +464,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a0531f2-adaf-45c1-ac9f-98c78b71d074 + - 53e43327-199d-44a6-b950-22d4ff19d66d status: code: 200 message: OK @@ -498,15 +488,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"ab295257-2045-4fc2-955c-0ac39f45fcf9\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"2966feb9-f3be-430e-b0bf-520f659f75dd\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6e9f7458-6088-4d26-8879-1380b02d65a3\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"980d548a-3b36-4d2e-aeb5-6ac6d1c26314\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"ab295257-2045-4fc2-955c-0ac39f45fcf9\\\"\",\r\n + \ \"etag\": \"W/\\\"2966feb9-f3be-430e-b0bf-520f659f75dd\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -521,9 +511,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:46:32 GMT etag: - - W/"ab295257-2045-4fc2-955c-0ac39f45fcf9" + - W/"2966feb9-f3be-430e-b0bf-520f659f75dd" expires: - '-1' pragma: @@ -540,7 +530,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d29f8d49-a5dd-49a1-865b-4cfeb3c442d6 + - 60c34931-7815-49fc-8500-fcf83dce4774 status: code: 200 message: OK @@ -564,7 +554,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"ab295257-2045-4fc2-955c-0ac39f45fcf9\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"2966feb9-f3be-430e-b0bf-520f659f75dd\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -577,9 +567,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:46:33 GMT etag: - - W/"ab295257-2045-4fc2-955c-0ac39f45fcf9" + - W/"2966feb9-f3be-430e-b0bf-520f659f75dd" expires: - '-1' pragma: @@ -596,7 +586,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 277a1c1e-b988-4d4e-86ed-7042a1bf2de2 + - 250fd474-c4d5-4df2-ba92-7f7c1fe69eb3 status: code: 200 message: OK @@ -627,14 +617,14 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"9541a8b7-ddaa-4202-bb21-85d00d18e2d9\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"16f1a545-15ea-4fd6-b609-0471df616964\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1c5d57bf-17f5-4b28-94e6-ebf43d36b8c1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/2b0884cc-1a78-4a6c-95b5-9e97a8e6b3a2?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -642,7 +632,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:46:33 GMT expires: - '-1' pragma: @@ -659,9 +649,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 895e9fdf-4326-4657-b771-ff55beb3bbad + - e869fe39-8cf1-4720-b5bc-f3671a0c3a77 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1184' status: code: 200 message: OK @@ -681,7 +671,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1c5d57bf-17f5-4b28-94e6-ebf43d36b8c1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/2b0884cc-1a78-4a6c-95b5-9e97a8e6b3a2?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -693,7 +683,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:31 GMT + - Fri, 09 Apr 2021 03:46:36 GMT expires: - '-1' pragma: @@ -710,7 +700,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3d774890-7465-4d78-9cc7-5697f1927e19 + - a1985d20-fc1b-4cfd-9f45-df1e0b052fa5 status: code: 200 message: OK @@ -734,7 +724,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"3db29e39-c2d8-45b4-8892-859fb2ed9b59\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"46dc3096-1424-41fc-8943-86db490ed12f\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -747,9 +737,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:31 GMT + - Fri, 09 Apr 2021 03:46:36 GMT etag: - - W/"3db29e39-c2d8-45b4-8892-859fb2ed9b59" + - W/"46dc3096-1424-41fc-8943-86db490ed12f" expires: - '-1' pragma: @@ -766,7 +756,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b29a6a2-ffe8-4f5c-ad7e-a89614861f76 + - b06709c2-0cfa-4cd0-9d0a-e0fb7288170e status: code: 200 message: OK @@ -798,12 +788,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"71fbc6db-bad2-47b8-92aa-80b0391bf357\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0cd0d6a4-4130-4935-8f63-3bbc81b47c5f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"7c8f5ba1-e5d2-4416-ba52-828c3b6dd09b\",\r\n \"privateLinkServiceConnections\": + \"954f3387-9acb-4b44-8f47-941f14a58836\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"71fbc6db-bad2-47b8-92aa-80b0391bf357\\\"\",\r\n + \ \"etag\": \"W/\\\"0cd0d6a4-4130-4935-8f63-3bbc81b47c5f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002\",\r\n \ \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": @@ -812,13 +802,13 @@ interactions: \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.ef415428-97bc-41d7-9355-4fe61f92d4ac\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.09a05425-8f0d-4ded-b8f1-97e2bdaf49a9\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -826,7 +816,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:35 GMT + - Fri, 09 Apr 2021 03:46:48 GMT expires: - '-1' pragma: @@ -839,9 +829,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5eb3c748-fed5-40ec-ba70-1373677f5d22 + - 641d1027-a4fe-4fda-821f-abe3f050eeba x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1178' status: code: 201 message: Created @@ -862,7 +852,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -874,7 +864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:45 GMT + - Fri, 09 Apr 2021 03:46:58 GMT expires: - '-1' pragma: @@ -891,7 +881,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9255ffef-28b6-4fe5-8fb1-0a379d7671cf + - 7b1bec1c-9d60-4b58-b643-33fb4fe607ed status: code: 200 message: OK @@ -912,7 +902,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -924,7 +914,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:08:05 GMT + - Fri, 09 Apr 2021 03:47:08 GMT expires: - '-1' pragma: @@ -941,7 +931,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b92a19bf-d08a-41b4-9e6a-41c34478a0ec + - b9ba1701-411f-4144-980a-b64425d9cff3 status: code: 200 message: OK @@ -962,7 +952,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -974,7 +964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:08:26 GMT + - Fri, 09 Apr 2021 03:47:30 GMT expires: - '-1' pragma: @@ -991,7 +981,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eadc4988-aef8-47ae-8b00-1465fcab8d4b + - e63b743d-e2c1-4a0b-a5f6-9b891015b38a status: code: 200 message: OK @@ -1012,7 +1002,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1024,7 +1014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:09:06 GMT + - Fri, 09 Apr 2021 03:47:50 GMT expires: - '-1' pragma: @@ -1041,7 +1031,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3634c05a-4f1b-4968-84ed-3c03522e5660 + - 46807885-8f9c-4b77-aa19-77cc27e2b26a status: code: 200 message: OK @@ -1062,7 +1052,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1074,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:09:46 GMT + - Fri, 09 Apr 2021 03:48:29 GMT expires: - '-1' pragma: @@ -1091,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 951fa26c-0d81-4b57-b17f-e21ceaf46450 + - 6a86d2df-d42e-48a2-90a3-526c58bb0b53 status: code: 200 message: OK @@ -1112,7 +1102,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1124,7 +1114,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:11:06 GMT + - Fri, 09 Apr 2021 03:49:10 GMT expires: - '-1' pragma: @@ -1141,7 +1131,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 61eb2212-8b0b-49d2-ad27-c25b6112e01d + - 55f2aeec-b3e5-4459-aafc-72809ae74545 status: code: 200 message: OK @@ -1162,7 +1152,7 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1174,7 +1164,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:13:47 GMT + - Fri, 09 Apr 2021 03:50:31 GMT expires: - '-1' pragma: @@ -1191,7 +1181,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9df87cb4-dc8e-4b00-84d9-33a314ae2720 + - 0c709156-e39e-4708-8258-2f52bd434a80 status: code: 200 message: OK @@ -1212,7 +1202,57 @@ interactions: User-Agent: - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1954133d-1bac-4987-a2a4-256d90715dcb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 09 Apr 2021 03:53:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 26cc78f0-4fb3-4aee-b121-52a0ccbaabf4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - AZURECLI/2.21.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/af7c4973-110b-4ba7-8f57-521b5f4f9828?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1224,7 +1264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:15:27 GMT + - Fri, 09 Apr 2021 03:54:52 GMT expires: - '-1' pragma: @@ -1241,7 +1281,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 09628a48-9755-4f5f-9526-d2febdb7f5db + - b4feeec4-98d3-403d-9fee-9dc21051fd63 status: code: 200 message: OK @@ -1266,12 +1306,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"73174a43-97a5-4068-82f2-fe5f24b20cdd\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"51097a0d-531e-4a3b-807b-9ca2869d12a7\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"7c8f5ba1-e5d2-4416-ba52-828c3b6dd09b\",\r\n \"privateLinkServiceConnections\": + \"954f3387-9acb-4b44-8f47-941f14a58836\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"73174a43-97a5-4068-82f2-fe5f24b20cdd\\\"\",\r\n + \ \"etag\": \"W/\\\"51097a0d-531e-4a3b-807b-9ca2869d12a7\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002\",\r\n \ \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": @@ -1280,7 +1320,7 @@ interactions: \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.ef415428-97bc-41d7-9355-4fe61f92d4ac\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.09a05425-8f0d-4ded-b8f1-97e2bdaf49a9\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"cli-test-cosmosdb-pe-000002.documents.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n },\r\n {\r\n \"fqdn\": @@ -1294,9 +1334,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:15:27 GMT + - Fri, 09 Apr 2021 03:54:52 GMT etag: - - W/"73174a43-97a5-4068-82f2-fe5f24b20cdd" + - W/"51097a0d-531e-4a3b-807b-9ca2869d12a7" expires: - '-1' pragma: @@ -1313,7 +1353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 123778c4-3f3c-47a9-900d-0f6d6e132a18 + - 1eecc9ed-a487-4573-9b22-18d61f796af2 status: code: 200 message: OK @@ -1331,10 +1371,7 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1348,7 +1385,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:27 GMT + - Fri, 09 Apr 2021 03:54:53 GMT pragma: - no-cache server: @@ -1380,10 +1417,7 @@ interactions: ParameterSetName: - --account-name --name --resource-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1397,7 +1431,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:28 GMT + - Fri, 09 Apr 2021 03:54:53 GMT pragma: - no-cache server: @@ -1429,10 +1463,7 @@ interactions: ParameterSetName: - -a -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1446,7 +1477,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:29 GMT + - Fri, 09 Apr 2021 03:54:54 GMT pragma: - no-cache server: @@ -1478,10 +1509,7 @@ interactions: ParameterSetName: - --account-name --resource-group --name --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1495,7 +1523,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:29 GMT + - Fri, 09 Apr 2021 03:54:55 GMT pragma: - no-cache server: @@ -1529,14 +1557,11 @@ interactions: Content-Length: - '408' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --account-name --resource-group --name --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1544,7 +1569,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a3701638-faf6-47a2-bec2-8e4cb307b5a5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/de87bf00-ea23-43a4-8661-857a3c9e25bb?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1552,9 +1577,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:30 GMT + - Fri, 09 Apr 2021 03:54:55 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/a3701638-faf6-47a2-bec2-8e4cb307b5a5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/de87bf00-ea23-43a4-8661-857a3c9e25bb?api-version=2021-03-15 pragma: - no-cache server: @@ -1566,7 +1591,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1184' status: code: 202 message: Accepted @@ -1574,7 +1599,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1584,10 +1609,9 @@ interactions: ParameterSetName: - --account-name --resource-group --name --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a3701638-faf6-47a2-bec2-8e4cb307b5a5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/de87bf00-ea23-43a4-8661-857a3c9e25bb?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1599,7 +1623,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:00 GMT + - Fri, 09 Apr 2021 03:55:25 GMT pragma: - no-cache server: @@ -1621,7 +1645,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1631,8 +1655,7 @@ interactions: ParameterSetName: - --account-name --resource-group --name --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1647,7 +1670,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:00 GMT + - Fri, 09 Apr 2021 03:55:26 GMT pragma: - no-cache server: @@ -1679,10 +1702,7 @@ interactions: ParameterSetName: - --id --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1697,7 +1717,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:00 GMT + - Fri, 09 Apr 2021 03:55:27 GMT pragma: - no-cache server: @@ -1731,14 +1751,11 @@ interactions: Content-Length: - '408' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --id --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1746,7 +1763,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2caeab3f-dcff-47c2-b3ec-29c93f87d265?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef9693bd-3c47-4924-980d-8f2a393dd89b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1754,9 +1771,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:01 GMT + - Fri, 09 Apr 2021 03:55:28 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/2caeab3f-dcff-47c2-b3ec-29c93f87d265?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/ef9693bd-3c47-4924-980d-8f2a393dd89b?api-version=2021-03-15 pragma: - no-cache server: @@ -1768,7 +1785,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1182' status: code: 202 message: Accepted @@ -1776,7 +1793,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1786,10 +1803,9 @@ interactions: ParameterSetName: - --id --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2caeab3f-dcff-47c2-b3ec-29c93f87d265?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef9693bd-3c47-4924-980d-8f2a393dd89b?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1801,7 +1817,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:32 GMT + - Fri, 09 Apr 2021 03:55:58 GMT pragma: - no-cache server: @@ -1823,7 +1839,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1833,10 +1849,9 @@ interactions: ParameterSetName: - --id --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2caeab3f-dcff-47c2-b3ec-29c93f87d265?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef9693bd-3c47-4924-980d-8f2a393dd89b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1848,7 +1863,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:02 GMT + - Fri, 09 Apr 2021 03:56:27 GMT pragma: - no-cache server: @@ -1870,7 +1885,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1880,8 +1895,7 @@ interactions: ParameterSetName: - --id --description User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1896,7 +1910,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:02 GMT + - Fri, 09 Apr 2021 03:56:28 GMT pragma: - no-cache server: @@ -1930,10 +1944,7 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005?api-version=2021-03-15 response: @@ -1941,7 +1952,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73bbb9aa-2094-4261-b2af-ee2b3f9a7812?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ff545227-200c-4deb-b808-b1cd34d031c9?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1949,9 +1960,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:03 GMT + - Fri, 09 Apr 2021 03:56:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/73bbb9aa-2094-4261-b2af-ee2b3f9a7812?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_pe000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-pe-000002/privateEndpointConnections/cli-pe-000005/operationResults/ff545227-200c-4deb-b808-b1cd34d031c9?api-version=2021-03-15 pragma: - no-cache server: @@ -1963,7 +1974,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14996' status: code: 202 message: Accepted @@ -1971,7 +1982,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ff545227-200c-4deb-b808-b1cd34d031c9?api-version=2021-03-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:57:01 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1981,10 +2038,9 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73bbb9aa-2094-4261-b2af-ee2b3f9a7812?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ff545227-200c-4deb-b808-b1cd34d031c9?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1996,7 +2052,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:34 GMT + - Fri, 09 Apr 2021 03:57:32 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_link_resource.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_link_resource.yaml index 1172cc7f4d8..7ff5b4302b2 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_link_resource.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_private_link_resource.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_plr000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001","name":"cli_test_cosmosdb_plr000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:00:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001","name":"cli_test_cosmosdb_plr000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:47:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:00:39 GMT + - Fri, 09 Apr 2021 03:47:49 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002","name":"cli-test-cosmosdb-plr-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:41.8521278Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bc8ef994-0277-488d-9d1e-c1ed19d7024c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:47:55.8576451Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9ae5d9ec-b1a0-41f6-8e40-ddcbd2b2eaf0","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69f7cef3-68e3-4fce-b9f1-485466d8dd80?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7ecbd082-6220-4944-b1b0-324d8243c927?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:43 GMT + - Fri, 09 Apr 2021 03:47:58 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002/operationResults/69f7cef3-68e3-4fce-b9f1-485466d8dd80?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002/operationResults/7ecbd082-6220-4944-b1b0-324d8243c927?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69f7cef3-68e3-4fce-b9f1-485466d8dd80?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7ecbd082-6220-4944-b1b0-324d8243c927?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:14 GMT + - Fri, 09 Apr 2021 03:48:29 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69f7cef3-68e3-4fce-b9f1-485466d8dd80?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7ecbd082-6220-4944-b1b0-324d8243c927?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:44 GMT + - Fri, 09 Apr 2021 03:48:59 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69f7cef3-68e3-4fce-b9f1-485466d8dd80?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7ecbd082-6220-4944-b1b0-324d8243c927?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:13 GMT + - Fri, 09 Apr 2021 03:49:29 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002","name":"cli-test-cosmosdb-plr-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:44.9920836Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-plr-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bc8ef994-0277-488d-9d1e-c1ed19d7024c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:48:48.4126451Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-plr-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9ae5d9ec-b1a0-41f6-8e40-ddcbd2b2eaf0","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:14 GMT + - Fri, 09 Apr 2021 03:49:29 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002","name":"cli-test-cosmosdb-plr-000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:44.9920836Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-plr-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bc8ef994-0277-488d-9d1e-c1ed19d7024c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:48:48.4126451Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli-test-cosmosdb-plr-000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9ae5d9ec-b1a0-41f6-8e40-ddcbd2b2eaf0","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West US","documentEndpoint":"https://cli-test-cosmosdb-plr-000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli-test-cosmosdb-plr-000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:14 GMT + - Fri, 09 Apr 2021 03:49:29 GMT pragma: - no-cache server: @@ -371,10 +361,7 @@ interactions: ParameterSetName: - --account-name --resource-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_plr000001/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-000002/privateLinkResources?api-version=2021-03-15 response: @@ -388,7 +375,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:14 GMT + - Fri, 09 Apr 2021 03:49:31 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container.yaml index 1990714853d..8ef810b053c 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_container000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001","name":"cli_test_cosmosdb_sql_container000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:00:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001","name":"cli_test_cosmosdb_sql_container000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:46:18Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:00:35 GMT + - Fri, 09 Apr 2021 03:46:20 GMT expires: - '-1' pragma: @@ -60,37 +60,34 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:00:38.05553Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bce1e342-4821-4c27-92f7-c3f665689b24","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:46:26.738364Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"02eca2e4-7cf8-4024-b05b-7bac9e3d96e4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ebaecc9a-b5ec-4473-ae87-6f7ed6c9f3e8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1871' + - '1872' content-type: - application/json date: - - Wed, 07 Apr 2021 10:00:40 GMT + - Fri, 09 Apr 2021 03:46:29 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/ebaecc9a-b5ec-4473-ae87-6f7ed6c9f3e8?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1189' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ebaecc9a-b5ec-4473-ae87-6f7ed6c9f3e8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:10 GMT + - Fri, 09 Apr 2021 03:47:00 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ebaecc9a-b5ec-4473-ae87-6f7ed6c9f3e8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:40 GMT + - Fri, 09 Apr 2021 03:47:29 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,57 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:02:10 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f774e8cd-25c7-40ce-92f1-69a7bfbea2d9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ebaecc9a-b5ec-4473-ae87-6f7ed6c9f3e8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -280,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:41 GMT + - Fri, 09 Apr 2021 03:48:00 GMT pragma: - no-cache server: @@ -302,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -312,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:51.6145868Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bce1e342-4821-4c27-92f7-c3f665689b24","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:47:18.0359826Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"02eca2e4-7cf8-4024-b05b-7bac9e3d96e4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -332,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:41 GMT + - Fri, 09 Apr 2021 03:48:00 GMT pragma: - no-cache server: @@ -364,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:51.6145868Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bce1e342-4821-4c27-92f7-c3f665689b24","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:47:18.0359826Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"02eca2e4-7cf8-4024-b05b-7bac9e3d96e4","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -386,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:41 GMT + - Fri, 09 Apr 2021 03:48:01 GMT pragma: - no-cache server: @@ -418,14 +361,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -433,7 +373,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6d9895ea-9763-4691-baed-042f48c3b5b2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8c7c7054-832d-4515-b83f-fbd069c674f0?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -441,9 +381,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:41 GMT + - Fri, 09 Apr 2021 03:48:01 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/operationResults/6d9895ea-9763-4691-baed-042f48c3b5b2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/operationResults/8c7c7054-832d-4515-b83f-fbd069c674f0?api-version=2021-03-15 pragma: - no-cache server: @@ -455,7 +395,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1182' status: code: 202 message: Accepted @@ -463,7 +403,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -473,10 +413,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6d9895ea-9763-4691-baed-042f48c3b5b2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8c7c7054-832d-4515-b83f-fbd069c674f0?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -488,7 +427,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:48:32 GMT pragma: - no-cache server: @@ -510,7 +449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -520,13 +459,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"uGF0AA==","_self":"dbs/uGF0AA==/","_etag":"\"00002036-0000-0700-0000-606d83460000\"","_colls":"colls/","_users":"users/","_ts":1617789766}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"2WZrAA==","_self":"dbs/2WZrAA==/","_etag":"\"00001d01-0000-0700-0000-606fce770000\"","_colls":"colls/","_users":"users/","_ts":1617940087}}}' headers: cache-control: - no-store, no-cache @@ -535,7 +473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:11 GMT + - Fri, 09 Apr 2021 03:48:33 GMT pragma: - no-cache server: @@ -567,25 +505,22 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - 76a1a8e8-9788-11eb-b474-705a0f2f2f32, Request URI: /apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/ac529801-eea5-4280-b859-5918bee66921/partitions/a265e624-3a4e-4f03-89e3-bbf1656d9ad5/replicas/132619236186892426s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:03:13.0480260Z, RequestEndTime: - 2021-04-07T10:03:13.0480260Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:03:13.0480260Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.20:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/ac529801-eea5-4280-b859-5918bee66921/partitions/a265e624-3a4e-4f03-89e3-bbf1656d9ad5/replicas/132619236186892426s, + 7509b26c-98e6-11eb-9d9d-2cf05d45d149, Request URI: /apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/e7b03962-4c66-4076-9ae8-8178d64e494f/partitions/bb44cdcb-2996-4f6e-9515-b85816c23b73/replicas/132624117062819625s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:48:34.6349805Z, RequestEndTime: + 2021-04-09T03:48:34.6449750Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:48:34.6449750Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/e7b03962-4c66-4076-9ae8-8178d64e494f/partitions/bb44cdcb-2996-4f6e-9515-b85816c23b73/replicas/132624117062819625s, LSN: 8, GlobalCommittedLsn: 8, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#8, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, - OperationType: Read\\r\\nResponseTime: 2021-04-07T10:03:13.0480260Z, StoreResult: - StorePhysicalAddress: rntbd://10.0.0.28:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/ac529801-eea5-4280-b859-5918bee66921/partitions/a265e624-3a4e-4f03-89e3-bbf1656d9ad5/replicas/132619236218612815s, + OperationType: Read\\r\\nResponseTime: 2021-04-09T03:48:34.6449750Z, StoreResult: + StorePhysicalAddress: rntbd://10.0.0.21:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/e7b03962-4c66-4076-9ae8-8178d64e494f/partitions/bb44cdcb-2996-4f6e-9515-b85816c23b73/replicas/132624117062819626s, LSN: 8, GlobalCommittedLsn: 8, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#8, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, @@ -599,7 +534,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:12 GMT + - Fri, 09 Apr 2021 03:48:33 GMT pragma: - no-cache server: @@ -632,14 +567,11 @@ interactions: Content-Length: - '505' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --ttl --unique-key-policy --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -647,7 +579,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3c835d61-98c1-43d0-9853-c53100217626?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/20fdbfe6-ae56-43b7-ab9f-5756f5b23831?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -655,9 +587,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:15 GMT + - Fri, 09 Apr 2021 03:48:35 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/3c835d61-98c1-43d0-9853-c53100217626?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/20fdbfe6-ae56-43b7-ab9f-5756f5b23831?api-version=2021-03-15 pragma: - no-cache server: @@ -669,7 +601,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -677,7 +609,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -687,10 +619,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --ttl --unique-key-policy --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3c835d61-98c1-43d0-9853-c53100217626?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/20fdbfe6-ae56-43b7-ab9f-5756f5b23831?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -702,7 +633,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:45 GMT + - Fri, 09 Apr 2021 03:49:06 GMT pragma: - no-cache server: @@ -724,7 +655,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -734,13 +665,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --ttl --unique-key-policy --conflict-resolution-policy --idx User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789797,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002236-0000-0700-0000-606d83650000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940120,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002101-0000-0700-0000-606fce980000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -749,7 +679,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:46 GMT + - Fri, 09 Apr 2021 03:49:06 GMT pragma: - no-cache server: @@ -781,15 +711,12 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789797,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002236-0000-0700-0000-606d83650000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":1000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940120,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002101-0000-0700-0000-606fce980000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -798,7 +725,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:46 GMT + - Fri, 09 Apr 2021 03:49:08 GMT pragma: - no-cache server: @@ -836,14 +763,11 @@ interactions: Content-Length: - '566' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -851,7 +775,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69b9a714-915b-4ce4-a2a5-0a73ce8f4c9a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c349767-71a4-4c9a-8345-9c25d228137c?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -859,9 +783,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:47 GMT + - Fri, 09 Apr 2021 03:49:08 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/69b9a714-915b-4ce4-a2a5-0a73ce8f4c9a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/7c349767-71a4-4c9a-8345-9c25d228137c?api-version=2021-03-15 pragma: - no-cache server: @@ -873,7 +797,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1173' status: code: 202 message: Accepted @@ -881,7 +805,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -891,10 +815,9 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69b9a714-915b-4ce4-a2a5-0a73ce8f4c9a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c349767-71a4-4c9a-8345-9c25d228137c?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -906,7 +829,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:17 GMT + - Fri, 09 Apr 2021 03:49:39 GMT pragma: - no-cache server: @@ -928,7 +851,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -938,13 +861,12 @@ interactions: ParameterSetName: - -g -a -d -n --ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789831,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002736-0000-0700-0000-606d83870000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940153,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002b01-0000-0700-0000-606fceb90000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -953,7 +875,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:18 GMT + - Fri, 09 Apr 2021 03:49:39 GMT pragma: - no-cache server: @@ -985,15 +907,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789831,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002736-0000-0700-0000-606d83870000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940153,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002b01-0000-0700-0000-606fceb90000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1002,7 +921,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:18 GMT + - Fri, 09 Apr 2021 03:49:41 GMT pragma: - no-cache server: @@ -1034,15 +953,12 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789831,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002736-0000-0700-0000-606d83870000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940153,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002b01-0000-0700-0000-606fceb90000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/"}}}]}' headers: cache-control: - no-store, no-cache @@ -1051,7 +967,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:18 GMT + - Fri, 09 Apr 2021 03:49:42 GMT pragma: - no-cache server: @@ -1083,15 +999,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"uGF0ANks5ks=","_ts":1617789831,"_self":"dbs/uGF0AA==/colls/uGF0ANks5ks=/","_etag":"\"00002736-0000-0700-0000-606d83870000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/headquarters/employees/?"},{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"defaultTtl":2000,"uniqueKeyPolicy":{"uniqueKeys":[{"paths":["/path/to/key1"]},{"paths":["/path/to/key2"]}]},"conflictResolutionPolicy":{"mode":"lastWriterWins","conflictResolutionPath":"/path","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"2WZrAOb9O-s=","_ts":1617940153,"_self":"dbs/2WZrAA==/colls/2WZrAOb9O-s=/","_etag":"\"00002b01-0000-0700-0000-606fceb90000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1100,7 +1013,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:19 GMT + - Fri, 09 Apr 2021 03:49:42 GMT pragma: - no-cache server: @@ -1122,7 +1035,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1134,10 +1047,7 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -1145,7 +1055,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6caee714-9f24-417b-abc2-dfe835576537?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/42229dba-0f8a-4a53-b168-683c9ca7037b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1153,9 +1063,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:20 GMT + - Fri, 09 Apr 2021 03:49:43 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/6caee714-9f24-417b-abc2-dfe835576537?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/42229dba-0f8a-4a53-b168-683c9ca7037b?api-version=2021-03-15 pragma: - no-cache server: @@ -1167,7 +1077,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 202 message: Accepted @@ -1175,7 +1085,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1185,10 +1095,9 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6caee714-9f24-417b-abc2-dfe835576537?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/42229dba-0f8a-4a53-b168-683c9ca7037b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1200,7 +1109,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:50 GMT + - Fri, 09 Apr 2021 03:50:14 GMT pragma: - no-cache server: @@ -1232,10 +1141,7 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers?api-version=2021-03-15 response: @@ -1249,7 +1155,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:50 GMT + - Fri, 09 Apr 2021 03:50:15 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container_analytical_ttl.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container_analytical_ttl.yaml index c078ca2decf..9696fab6fd8 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container_analytical_ttl.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_container_analytical_ttl.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_container000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001","name":"cli_test_cosmosdb_sql_container000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:02:30Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001","name":"cli_test_cosmosdb_sql_container000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:48:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:31 GMT + - Fri, 09 Apr 2021 03:48:59 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '252' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:33.5797485Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"dcfb3643-5687-485b-b47c-e46043cc4111","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:05.8175001Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"c2fa13fc-fcb5-49d4-ad3e-7cc2bd29a0ff","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d948311-3775-44a1-81a7-e3fc42a3e143?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:35 GMT + - Fri, 09 Apr 2021 03:49:08 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/2d948311-3775-44a1-81a7-e3fc42a3e143?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1183' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d948311-3775-44a1-81a7-e3fc42a3e143?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:49:38 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d948311-3775-44a1-81a7-e3fc42a3e143?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:35 GMT + - Fri, 09 Apr 2021 03:50:09 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,57 +214,9 @@ interactions: ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:04:05 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --enable-analytical-storage - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35ea2909-a9f0-4d54-be3b-2b1c24927e91?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d948311-3775-44a1-81a7-e3fc42a3e143?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -281,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:36 GMT + - Fri, 09 Apr 2021 03:50:40 GMT pragma: - no-cache server: @@ -303,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,14 +260,13 @@ interactions: ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:44.4479223Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"dcfb3643-5687-485b-b47c-e46043cc4111","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:18.3852819Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"c2fa13fc-fcb5-49d4-ad3e-7cc2bd29a0ff","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -333,7 +279,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:36 GMT + - Fri, 09 Apr 2021 03:50:40 GMT pragma: - no-cache server: @@ -365,16 +311,13 @@ interactions: ParameterSetName: - -n -g --enable-analytical-storage User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004","name":"cli000004","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:44.4479223Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"dcfb3643-5687-485b-b47c-e46043cc4111","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:18.3852819Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000004.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"c2fa13fc-fcb5-49d4-ad3e-7cc2bd29a0ff","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000004-westus","locationName":"West US","documentEndpoint":"https://cli000004-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000004-westus","locationName":"West @@ -387,7 +330,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:36 GMT + - Fri, 09 Apr 2021 03:50:40 GMT pragma: - no-cache server: @@ -419,14 +362,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -434,7 +374,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aa8904ea-e02e-465c-af97-7b02ba2e8cee?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e36e1786-711b-4ce8-8f56-7cd4bff186fb?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -442,9 +382,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:36 GMT + - Fri, 09 Apr 2021 03:50:42 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/operationResults/aa8904ea-e02e-465c-af97-7b02ba2e8cee?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/operationResults/e36e1786-711b-4ce8-8f56-7cd4bff186fb?api-version=2021-03-15 pragma: - no-cache server: @@ -456,7 +396,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1182' status: code: 202 message: Accepted @@ -464,7 +404,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,10 +414,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aa8904ea-e02e-465c-af97-7b02ba2e8cee?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e36e1786-711b-4ce8-8f56-7cd4bff186fb?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -489,7 +428,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:06 GMT + - Fri, 09 Apr 2021 03:51:12 GMT pragma: - no-cache server: @@ -511,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -521,13 +460,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"5MoMAA==","_self":"dbs/5MoMAA==/","_etag":"\"00003f00-0000-0700-0000-606d83ba0000\"","_colls":"colls/","_users":"users/","_ts":1617789882}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"P58SAA==","_self":"dbs/P58SAA==/","_etag":"\"0000040e-0000-0700-0000-606fcf170000\"","_colls":"colls/","_users":"users/","_ts":1617940247}}}' headers: cache-control: - no-store, no-cache @@ -536,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:07 GMT + - Fri, 09 Apr 2021 03:51:13 GMT pragma: - no-cache server: @@ -571,14 +509,11 @@ interactions: Content-Length: - '314' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -586,7 +521,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f97e190-400f-4a91-b35e-09b2740b23eb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/39e19737-82fb-4990-8c17-7d6007f9e947?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -594,9 +529,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:08 GMT + - Fri, 09 Apr 2021 03:51:15 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/3f97e190-400f-4a91-b35e-09b2740b23eb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/39e19737-82fb-4990-8c17-7d6007f9e947?api-version=2021-03-15 pragma: - no-cache server: @@ -608,7 +543,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1189' status: code: 202 message: Accepted @@ -616,7 +551,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -626,10 +561,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3f97e190-400f-4a91-b35e-09b2740b23eb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/39e19737-82fb-4990-8c17-7d6007f9e947?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -641,7 +575,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:39 GMT + - Fri, 09 Apr 2021 03:51:46 GMT pragma: - no-cache server: @@ -663,7 +597,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -673,13 +607,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --analytical-storage-ttl User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"analyticalStorageTtl":3000,"_rid":"5MoMAJlrgoU=","_ts":1617789913,"_self":"dbs/5MoMAA==/colls/5MoMAJlrgoU=/","_etag":"\"00004100-0000-0700-0000-606d83d90000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"analyticalStorageTtl":3000,"_rid":"P58SAOGwIrE=","_ts":1617940281,"_self":"dbs/P58SAA==/colls/P58SAOGwIrE=/","_etag":"\"0000060e-0000-0700-0000-606fcf390000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -688,7 +621,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:39 GMT + - Fri, 09 Apr 2021 03:51:47 GMT pragma: - no-cache server: @@ -710,7 +643,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -722,10 +655,7 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -733,7 +663,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5dd1af26-fe50-4cb1-9456-f14822cdf4c8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1b83618b-6582-4bfe-9acb-9f728d90f45a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -741,9 +671,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:40 GMT + - Fri, 09 Apr 2021 03:51:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/5dd1af26-fe50-4cb1-9456-f14822cdf4c8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers/cli000003/operationResults/1b83618b-6582-4bfe-9acb-9f728d90f45a?api-version=2021-03-15 pragma: - no-cache server: @@ -755,7 +685,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14994' status: code: 202 message: Accepted @@ -763,7 +693,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -773,10 +703,9 @@ interactions: ParameterSetName: - -g -a -d -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5dd1af26-fe50-4cb1-9456-f14822cdf4c8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1b83618b-6582-4bfe-9acb-9f728d90f45a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -788,7 +717,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:10 GMT + - Fri, 09 Apr 2021 03:52:19 GMT pragma: - no-cache server: @@ -820,10 +749,7 @@ interactions: ParameterSetName: - -g -a -d User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_container000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/sqlDatabases/cli000002/containers?api-version=2021-03-15 response: @@ -837,7 +763,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:11 GMT + - Fri, 09 Apr 2021 03:52:21 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_database.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_database.yaml index fa4b68a7643..a5f9cda43ee 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_database.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_database.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_database000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001","name":"cli_test_cosmosdb_sql_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:04Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001","name":"cli_test_cosmosdb_sql_database000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:46:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:05 GMT + - Fri, 09 Apr 2021 03:46:49 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:07.4275835Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"611e8c30-4efd-49f5-8637-5aa2d637309b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:46:53.6916112Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f9bfecbb-324c-478c-b982-de80cd1a00d2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c6a37a8d-bb14-4ae1-bb46-c40012cac68b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d26bbf0-0ee2-4e03-a4bf-f5446dbd5c40?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:09 GMT + - Fri, 09 Apr 2021 03:46:56 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/c6a37a8d-bb14-4ae1-bb46-c40012cac68b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/5d26bbf0-0ee2-4e03-a4bf-f5446dbd5c40?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c6a37a8d-bb14-4ae1-bb46-c40012cac68b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d26bbf0-0ee2-4e03-a4bf-f5446dbd5c40?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:39 GMT + - Fri, 09 Apr 2021 03:47:26 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c6a37a8d-bb14-4ae1-bb46-c40012cac68b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d26bbf0-0ee2-4e03-a4bf-f5446dbd5c40?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:08 GMT + - Fri, 09 Apr 2021 03:47:56 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c6a37a8d-bb14-4ae1-bb46-c40012cac68b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5d26bbf0-0ee2-4e03-a4bf-f5446dbd5c40?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:38 GMT + - Fri, 09 Apr 2021 03:48:26 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:03.311068Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"611e8c30-4efd-49f5-8637-5aa2d637309b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:47:48.0847996Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f9bfecbb-324c-478c-b982-de80cd1a00d2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -281,11 +274,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:38 GMT + - Fri, 09 Apr 2021 03:48:27 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:03.311068Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"611e8c30-4efd-49f5-8637-5aa2d637309b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:47:48.0847996Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f9bfecbb-324c-478c-b982-de80cd1a00d2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -335,11 +325,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:48:27 GMT pragma: - no-cache server: @@ -371,25 +361,22 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Resource Not Found. Learn more: https:\\\\/\\\\/aka.ms\\\\/cosmosdb-tsg-not-found\\\"]}\\r\\nActivityId: - aac30342-9788-11eb-96fb-705a0f2f2f32, Request URI: /apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/aab9d672-3602-4fd1-b00e-a49262d970d4/partitions/fcd60987-8e11-4b88-bd69-db9ef1e7d396/replicas/132621837089853762s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:04:40.6255714Z, RequestEndTime: - 2021-04-07T10:04:40.6255714Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:04:40.6255714Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.25:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/aab9d672-3602-4fd1-b00e-a49262d970d4/partitions/fcd60987-8e11-4b88-bd69-db9ef1e7d396/replicas/132621837089853762s, + 71781ce4-98e6-11eb-b2e1-2cf05d45d149, Request URI: /apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/ed793488-0c46-40b8-bca8-cf825812f6b3/partitions/9778394c-addf-4bad-a3c5-9a282ed48a33/replicas/132623127068555941s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:48:29.1578031Z, RequestEndTime: + 2021-04-09T03:48:29.1678527Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:48:29.1678527Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.21:11000/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/ed793488-0c46-40b8-bca8-cf825812f6b3/partitions/9778394c-addf-4bad-a3c5-9a282ed48a33/replicas/132623127068555941s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: - Read\\r\\nResponseTime: 2021-04-07T10:04:40.6255714Z, StoreResult: StorePhysicalAddress: - rntbd://10.0.0.28:11300/apps/6e47af47-313c-4a70-8b6f-b79d51b42512/services/aab9d672-3602-4fd1-b00e-a49262d970d4/partitions/fcd60987-8e11-4b88-bd69-db9ef1e7d396/replicas/132621837089853763s, + Read\\r\\nResponseTime: 2021-04-09T03:48:29.1678527Z, StoreResult: StorePhysicalAddress: + rntbd://10.0.0.20:11000/apps/1dd349e8-5ed2-48e7-8b1a-1279bf1b3147/services/ed793488-0c46-40b8-bca8-cf825812f6b3/partitions/9778394c-addf-4bad-a3c5-9a282ed48a33/replicas/132623127068555942s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 0, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Database, OperationType: @@ -403,7 +390,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:48:28 GMT pragma: - no-cache server: @@ -431,14 +418,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -446,7 +430,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e782f640-b863-460d-be30-2dd4e2b710e7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4ab207a3-9d5d-4a28-af7d-43c88843aaaf?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -454,9 +438,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:41 GMT + - Fri, 09 Apr 2021 03:48:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002/operationResults/e782f640-b863-460d-be30-2dd4e2b710e7?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002/operationResults/4ab207a3-9d5d-4a28-af7d-43c88843aaaf?api-version=2021-03-15 pragma: - no-cache server: @@ -468,7 +452,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1183' status: code: 202 message: Accepted @@ -476,7 +460,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -486,10 +470,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e782f640-b863-460d-be30-2dd4e2b710e7?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4ab207a3-9d5d-4a28-af7d-43c88843aaaf?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -501,7 +484,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:48:59 GMT pragma: - no-cache server: @@ -523,7 +506,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -533,13 +516,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MPcYAA==","_self":"dbs/MPcYAA==/","_etag":"\"0200a2c1-0000-0700-0000-606d83bd0000\"","_colls":"colls/","_users":"users/","_ts":1617789885}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"nNNzAA==","_self":"dbs/nNNzAA==/","_etag":"\"0000fb0d-0000-0700-0000-606fce920000\"","_colls":"colls/","_users":"users/","_ts":1617940114}}}' headers: cache-control: - no-store, no-cache @@ -548,7 +530,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:49:00 GMT pragma: - no-cache server: @@ -580,15 +562,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MPcYAA==","_self":"dbs/MPcYAA==/","_etag":"\"0200a2c1-0000-0700-0000-606d83bd0000\"","_colls":"colls/","_users":"users/","_ts":1617789885}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"nNNzAA==","_self":"dbs/nNNzAA==/","_etag":"\"0000fb0d-0000-0700-0000-606fce920000\"","_colls":"colls/","_users":"users/","_ts":1617940114}}}' headers: cache-control: - no-store, no-cache @@ -597,7 +576,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:49:02 GMT pragma: - no-cache server: @@ -629,15 +608,12 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MPcYAA==","_self":"dbs/MPcYAA==/","_etag":"\"0200a2c1-0000-0700-0000-606d83bd0000\"","_colls":"colls/","_users":"users/","_ts":1617789885}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"nNNzAA==","_self":"dbs/nNNzAA==/","_etag":"\"0000fb0d-0000-0700-0000-606fce920000\"","_colls":"colls/","_users":"users/","_ts":1617940114}}}]}' headers: cache-control: - no-store, no-cache @@ -646,7 +622,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:49:04 GMT pragma: - no-cache server: @@ -678,15 +654,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"MPcYAA==","_self":"dbs/MPcYAA==/","_etag":"\"0200a2c1-0000-0700-0000-606d83bd0000\"","_colls":"colls/","_users":"users/","_ts":1617789885}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"nNNzAA==","_self":"dbs/nNNzAA==/","_etag":"\"0000fb0d-0000-0700-0000-606fce920000\"","_colls":"colls/","_users":"users/","_ts":1617940114}}}' headers: cache-control: - no-store, no-cache @@ -695,7 +668,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:49:05 GMT pragma: - no-cache server: @@ -717,7 +690,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -729,10 +702,7 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -740,7 +710,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c871e53-2f42-4972-8286-5739ba4a0f6b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7a73a208-4103-43c6-8891-368cd8145135?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -748,9 +718,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:14 GMT + - Fri, 09 Apr 2021 03:49:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002/operationResults/7c871e53-2f42-4972-8286-5739ba4a0f6b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases/cli000002/operationResults/7a73a208-4103-43c6-8891-368cd8145135?api-version=2021-03-15 pragma: - no-cache server: @@ -762,7 +732,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14993' status: code: 202 message: Accepted @@ -770,7 +740,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -780,10 +750,9 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7c871e53-2f42-4972-8286-5739ba4a0f6b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7a73a208-4103-43c6-8891-368cd8145135?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -795,7 +764,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:43 GMT + - Fri, 09 Apr 2021 03:49:36 GMT pragma: - no-cache server: @@ -827,10 +796,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_database000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/sqlDatabases?api-version=2021-03-15 response: @@ -844,7 +810,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:49:37 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_max_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_max_throughput.yaml index e2c22f5064f..019bbd81138 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_max_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_max_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_resource_max_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001","name":"cli_test_cosmosdb_sql_resource_max_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001","name":"cli_test_cosmosdb_sql_resource_max_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:45:56Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:02 GMT + - Fri, 09 Apr 2021 03:45:59 GMT expires: - '-1' pragma: @@ -60,37 +60,34 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:06.1542181Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"3dd7b73d-eb1b-4e33-b116-e8c018ffc85b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:46:04.634837Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7c0014e1-b2e4-4ab7-828e-959e6b19b87b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1e8178ee-740d-456a-9c39-40617f95bb27?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49da2385-2990-4fc6-940a-1b84311ac34e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '1873' + - '1872' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:07 GMT + - Fri, 09 Apr 2021 03:46:07 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/1e8178ee-740d-456a-9c39-40617f95bb27?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/49da2385-2990-4fc6-940a-1b84311ac34e?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1179' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1e8178ee-740d-456a-9c39-40617f95bb27?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49da2385-2990-4fc6-940a-1b84311ac34e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:38 GMT + - Fri, 09 Apr 2021 03:46:37 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1e8178ee-740d-456a-9c39-40617f95bb27?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49da2385-2990-4fc6-940a-1b84311ac34e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:08 GMT + - Fri, 09 Apr 2021 03:47:07 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1e8178ee-740d-456a-9c39-40617f95bb27?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49da2385-2990-4fc6-940a-1b84311ac34e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:38 GMT + - Fri, 09 Apr 2021 03:47:38 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:00.9037151Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"3dd7b73d-eb1b-4e33-b116-e8c018ffc85b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:46:58.6420494Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7c0014e1-b2e4-4ab7-828e-959e6b19b87b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:38 GMT + - Fri, 09 Apr 2021 03:47:38 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:00.9037151Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"3dd7b73d-eb1b-4e33-b116-e8c018ffc85b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:46:58.6420494Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7c0014e1-b2e4-4ab7-828e-959e6b19b87b","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:47:39 GMT pragma: - no-cache server: @@ -372,14 +362,11 @@ interactions: Content-Length: - '114' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: @@ -387,7 +374,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/398566f6-253c-42d5-936f-842002eeda76?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d43f74cc-8668-421c-894c-29f719ec8e04?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -395,9 +382,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:39 GMT + - Fri, 09 Apr 2021 03:47:39 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/398566f6-253c-42d5-936f-842002eeda76?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/d43f74cc-8668-421c-894c-29f719ec8e04?api-version=2021-03-15 pragma: - no-cache server: @@ -409,7 +396,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1187' status: code: 202 message: Accepted @@ -417,7 +404,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -427,10 +414,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/398566f6-253c-42d5-936f-842002eeda76?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d43f74cc-8668-421c-894c-29f719ec8e04?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -442,7 +428,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:09 GMT + - Fri, 09 Apr 2021 03:48:11 GMT pragma: - no-cache server: @@ -464,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,13 +460,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"Qb88AA==","_self":"dbs/Qb88AA==/","_etag":"\"0000fb25-0000-0700-0000-606d83be0000\"","_colls":"colls/","_users":"users/","_ts":1617789886}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"GKtlAA==","_self":"dbs/GKtlAA==/","_etag":"\"00001a01-0000-0700-0000-606fce620000\"","_colls":"colls/","_users":"users/","_ts":1617940066}}}' headers: cache-control: - no-store, no-cache @@ -489,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:10 GMT + - Fri, 09 Apr 2021 03:48:11 GMT pragma: - no-cache server: @@ -521,15 +506,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"a9jY","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":6000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"3M6H","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":6000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -538,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:48:12 GMT pragma: - no-cache server: @@ -570,14 +552,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -585,7 +564,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f9b9d83-3a5f-445f-8d3a-5269bd8210dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48beb833-6693-4e89-9d82-248ecb707b25?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -593,9 +572,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:11 GMT + - Fri, 09 Apr 2021 03:48:14 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/2f9b9d83-3a5f-445f-8d3a-5269bd8210dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/48beb833-6693-4e89-9d82-248ecb707b25?api-version=2021-03-15 pragma: - no-cache server: @@ -607,7 +586,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1186' status: code: 202 message: Accepted @@ -615,7 +594,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,10 +604,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f9b9d83-3a5f-445f-8d3a-5269bd8210dc?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48beb833-6693-4e89-9d82-248ecb707b25?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -640,7 +618,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:41 GMT + - Fri, 09 Apr 2021 03:48:44 GMT pragma: - no-cache server: @@ -662,7 +640,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -672,13 +650,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"a9jY","properties":{"resource":{"throughput":800,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"3M6H","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -687,7 +664,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:43 GMT + - Fri, 09 Apr 2021 03:48:44 GMT pragma: - no-cache server: @@ -722,14 +699,11 @@ interactions: Content-Length: - '328' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: @@ -737,7 +711,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7089077b-ad25-4473-a0b9-03eeb001fee1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/655c1583-83c1-472f-ba3b-8c37e8f1a63e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -745,9 +719,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:43 GMT + - Fri, 09 Apr 2021 03:48:46 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/7089077b-ad25-4473-a0b9-03eeb001fee1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/655c1583-83c1-472f-ba3b-8c37e8f1a63e?api-version=2021-03-15 pragma: - no-cache server: @@ -759,7 +733,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1186' status: code: 202 message: Accepted @@ -767,7 +741,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -777,10 +751,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7089077b-ad25-4473-a0b9-03eeb001fee1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/655c1583-83c1-472f-ba3b-8c37e8f1a63e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -792,7 +765,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:14 GMT + - Fri, 09 Apr 2021 03:49:17 GMT pragma: - no-cache server: @@ -814,7 +787,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -824,13 +797,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"Qb88AKDxUQA=","_ts":1617789950,"_self":"dbs/Qb88AA==/colls/Qb88AKDxUQA=/","_etag":"\"00000e26-0000-0700-0000-606d83fe0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"GKtlALtbL7s=","_ts":1617940133,"_self":"dbs/GKtlAA==/colls/GKtlALtbL7s=/","_etag":"\"00002601-0000-0700-0000-606fcea50000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -839,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:14 GMT + - Fri, 09 Apr 2021 03:49:17 GMT pragma: - no-cache server: @@ -871,15 +843,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"ssa+","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":6000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"6lRI","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":6000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -888,7 +857,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:13 GMT + - Fri, 09 Apr 2021 03:49:19 GMT pragma: - no-cache server: @@ -920,14 +889,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -935,7 +901,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ea9e37bc-71df-4568-b261-fdc341de4400?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d0d7b42f-e3d1-416f-9c5c-87d25371a605?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -943,9 +909,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:14 GMT + - Fri, 09 Apr 2021 03:49:20 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/ea9e37bc-71df-4568-b261-fdc341de4400?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/d0d7b42f-e3d1-416f-9c5c-87d25371a605?api-version=2021-03-15 pragma: - no-cache server: @@ -957,7 +923,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1181' status: code: 202 message: Accepted @@ -965,7 +931,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -975,10 +941,9 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ea9e37bc-71df-4568-b261-fdc341de4400?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d0d7b42f-e3d1-416f-9c5c-87d25371a605?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -990,7 +955,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:45 GMT + - Fri, 09 Apr 2021 03:49:50 GMT pragma: - no-cache server: @@ -1012,7 +977,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1022,13 +987,12 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"ssa+","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_max_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"6lRI","properties":{"resource":{"throughput":600,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -1037,7 +1001,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:45 GMT + - Fri, 09 Apr 2021 03:49:51 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput.yaml index 8a44b2d00ea..8a31de08f7d 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_resource_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001","name":"cli_test_cosmosdb_sql_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001","name":"cli_test_cosmosdb_sql_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:48:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:48:18 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:49.1899656Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7560120d-cb8d-4729-b782-0ad5c2391c92","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:48:24.1610583Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"679ce380-a960-406a-9c72-6f0d9c657fb5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/90a66467-65a7-4d52-baae-7efd72cb83b5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1c338f99-753e-44f5-b3c0-73d8703703af?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:48:26 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/90a66467-65a7-4d52-baae-7efd72cb83b5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/1c338f99-753e-44f5-b3c0-73d8703703af?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1184' + - '1177' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/90a66467-65a7-4d52-baae-7efd72cb83b5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1c338f99-753e-44f5-b3c0-73d8703703af?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:48:56 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/90a66467-65a7-4d52-baae-7efd72cb83b5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1c338f99-753e-44f5-b3c0-73d8703703af?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:51 GMT + - Fri, 09 Apr 2021 03:49:26 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/90a66467-65a7-4d52-baae-7efd72cb83b5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1c338f99-753e-44f5-b3c0-73d8703703af?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:49:57 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:42.090499Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7560120d-cb8d-4729-b782-0ad5c2391c92","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:17.5460482Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"679ce380-a960-406a-9c72-6f0d9c657fb5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -281,11 +274,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:49:57 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:42.090499Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7560120d-cb8d-4729-b782-0ad5c2391c92","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:17.5460482Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"679ce380-a960-406a-9c72-6f0d9c657fb5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,11 +325,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:49:57 GMT pragma: - no-cache server: @@ -372,14 +362,11 @@ interactions: Content-Length: - '88' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: @@ -387,7 +374,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/659ba69b-686c-4b96-a990-55fb6176f95a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b079111a-351a-43bd-bd26-180c81e2a90e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -395,9 +382,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:49:59 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/659ba69b-686c-4b96-a990-55fb6176f95a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/b079111a-351a-43bd-bd26-180c81e2a90e?api-version=2021-03-15 pragma: - no-cache server: @@ -409,7 +396,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1185' status: code: 202 message: Accepted @@ -417,7 +404,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -427,10 +414,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/659ba69b-686c-4b96-a990-55fb6176f95a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b079111a-351a-43bd-bd26-180c81e2a90e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -442,7 +428,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:52 GMT + - Fri, 09 Apr 2021 03:50:29 GMT pragma: - no-cache server: @@ -464,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,13 +460,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"UfAfAA==","_self":"dbs/UfAfAA==/","_etag":"\"0000a508-0000-0700-0000-606d84610000\"","_colls":"colls/","_users":"users/","_ts":1617790049}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"MfIBAA==","_self":"dbs/MfIBAA==/","_etag":"\"00008d04-0000-0700-0000-606fceed0000\"","_colls":"colls/","_users":"users/","_ts":1617940205}}}' headers: cache-control: - no-store, no-cache @@ -489,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:53 GMT + - Fri, 09 Apr 2021 03:50:30 GMT pragma: - no-cache server: @@ -521,15 +506,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"J1ta","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"NZzL","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -538,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:53 GMT + - Fri, 09 Apr 2021 03:50:30 GMT pragma: - no-cache server: @@ -570,14 +552,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -585,7 +564,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4b9f79a-7369-4495-bb1b-027ebd0a60dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4fbe7c3-5016-4a29-8d6f-1f1beb6afc49?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -593,9 +572,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:54 GMT + - Fri, 09 Apr 2021 03:50:33 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/a4b9f79a-7369-4495-bb1b-027ebd0a60dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/a4fbe7c3-5016-4a29-8d6f-1f1beb6afc49?api-version=2021-03-15 pragma: - no-cache server: @@ -607,7 +586,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1181' status: code: 202 message: Accepted @@ -615,7 +594,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,10 +604,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4b9f79a-7369-4495-bb1b-027ebd0a60dc?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4fbe7c3-5016-4a29-8d6f-1f1beb6afc49?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -640,7 +618,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:24 GMT + - Fri, 09 Apr 2021 03:51:03 GMT pragma: - no-cache server: @@ -662,7 +640,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -672,13 +650,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"J1ta","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"NZzL","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -687,7 +664,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:24 GMT + - Fri, 09 Apr 2021 03:51:04 GMT pragma: - no-cache server: @@ -722,14 +699,11 @@ interactions: Content-Length: - '302' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: @@ -737,7 +711,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4e5de234-55df-4c0e-80a7-518ad65ce69e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fab651b3-3f0b-43f6-9cf8-a3dae145257b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -745,9 +719,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:26 GMT + - Fri, 09 Apr 2021 03:51:05 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/4e5de234-55df-4c0e-80a7-518ad65ce69e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/fab651b3-3f0b-43f6-9cf8-a3dae145257b?api-version=2021-03-15 pragma: - no-cache server: @@ -759,7 +733,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1186' status: code: 202 message: Accepted @@ -767,7 +741,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -777,10 +751,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4e5de234-55df-4c0e-80a7-518ad65ce69e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fab651b3-3f0b-43f6-9cf8-a3dae145257b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -792,7 +765,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:55 GMT + - Fri, 09 Apr 2021 03:51:35 GMT pragma: - no-cache server: @@ -814,7 +787,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -824,13 +797,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"UfAfAIUQIV4=","_ts":1617790112,"_self":"dbs/UfAfAA==/colls/UfAfAIUQIV4=/","_etag":"\"0000ad08-0000-0700-0000-606d84a00000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"MfIBAJkEex4=","_ts":1617940271,"_self":"dbs/MfIBAA==/colls/MfIBAJkEex4=/","_etag":"\"00009304-0000-0700-0000-606fcf2f0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -839,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:56 GMT + - Fri, 09 Apr 2021 03:51:35 GMT pragma: - no-cache server: @@ -871,15 +843,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"nKFi","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"+lcw","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -888,7 +857,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:51:37 GMT pragma: - no-cache server: @@ -920,14 +889,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -935,7 +901,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/33e7f026-d169-4a9e-b2da-3b023b234d82?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4a071dbf-1a19-4f6f-b069-81ccde04d53a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -943,9 +909,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:59 GMT + - Fri, 09 Apr 2021 03:51:39 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/33e7f026-d169-4a9e-b2da-3b023b234d82?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/4a071dbf-1a19-4f6f-b069-81ccde04d53a?api-version=2021-03-15 pragma: - no-cache server: @@ -957,7 +923,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1180' status: code: 202 message: Accepted @@ -965,7 +931,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -975,10 +941,9 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/33e7f026-d169-4a9e-b2da-3b023b234d82?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4a071dbf-1a19-4f6f-b069-81ccde04d53a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -990,7 +955,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:28 GMT + - Fri, 09 Apr 2021 03:52:10 GMT pragma: - no-cache server: @@ -1012,7 +977,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1022,13 +987,12 @@ interactions: ParameterSetName: - -g -a -d -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"nKFi","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"+lcw","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1037,7 +1001,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:29 GMT + - Fri, 09 Apr 2021 03:52:10 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput_autoscale.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput_autoscale.yaml index 830f0cc0f99..5d3384d7f65 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput_autoscale.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_resource_throughput_autoscale.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_sql_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:01:30Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_sql_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:49:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:01:31 GMT + - Fri, 09 Apr 2021 03:49:21 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:01:34.5167784Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bf3a547c-5d0e-4d9b-bdd9-501504157717","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:27.6650101Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4ce4e979-856e-4a2f-b125-f2d469f0180e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cb9a8-4219-4f6f-88a8-82f640e10fbb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24ca0d16-edc8-430c-966b-ac18f4acb787?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:01:35 GMT + - Fri, 09 Apr 2021 03:49:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/722cb9a8-4219-4f6f-88a8-82f640e10fbb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/24ca0d16-edc8-430c-966b-ac18f4acb787?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1176' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cb9a8-4219-4f6f-88a8-82f640e10fbb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24ca0d16-edc8-430c-966b-ac18f4acb787?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:06 GMT + - Fri, 09 Apr 2021 03:50:00 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cb9a8-4219-4f6f-88a8-82f640e10fbb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24ca0d16-edc8-430c-966b-ac18f4acb787?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:35 GMT + - Fri, 09 Apr 2021 03:50:30 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/722cb9a8-4219-4f6f-88a8-82f640e10fbb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/24ca0d16-edc8-430c-966b-ac18f4acb787?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:51:01 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:28.5541332Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bf3a547c-5d0e-4d9b-bdd9-501504157717","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:22.4462457Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4ce4e979-856e-4a2f-b125-f2d469f0180e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:51:01 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:28.5541332Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"bf3a547c-5d0e-4d9b-bdd9-501504157717","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:22.4462457Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"4ce4e979-856e-4a2f-b125-f2d469f0180e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:06 GMT + - Fri, 09 Apr 2021 03:51:02 GMT pragma: - no-cache server: @@ -372,14 +362,11 @@ interactions: Content-Length: - '87' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: @@ -387,7 +374,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/01f83f46-8ffc-4313-bed5-53a935f49af5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aa6c5552-8a82-42f6-9334-0a682febe367?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -395,9 +382,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:07 GMT + - Fri, 09 Apr 2021 03:51:02 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/01f83f46-8ffc-4313-bed5-53a935f49af5?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/operationResults/aa6c5552-8a82-42f6-9334-0a682febe367?api-version=2021-03-15 pragma: - no-cache server: @@ -409,7 +396,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1178' status: code: 202 message: Accepted @@ -417,7 +404,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -427,10 +414,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/01f83f46-8ffc-4313-bed5-53a935f49af5?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/aa6c5552-8a82-42f6-9334-0a682febe367?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -442,7 +428,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:51:32 GMT pragma: - no-cache server: @@ -464,7 +450,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,13 +460,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"m759AA==","_self":"dbs/m759AA==/","_etag":"\"00009f18-0000-0700-0000-606d83610000\"","_colls":"colls/","_users":"users/","_ts":1617789793}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"lZw-AA==","_self":"dbs/lZw-AA==/","_etag":"\"00009200-0000-0700-0000-606fcf2d0000\"","_colls":"colls/","_users":"users/","_ts":1617940269}}}' headers: cache-control: - no-store, no-cache @@ -489,7 +474,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:51:33 GMT pragma: - no-cache server: @@ -521,15 +506,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"cY1N","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"b92t","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -538,7 +520,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:39 GMT + - Fri, 09 Apr 2021 03:51:35 GMT pragma: - no-cache server: @@ -572,10 +554,7 @@ interactions: ParameterSetName: - -g -a -n -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -583,7 +562,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9338fa7e-b879-4a35-8e45-7151f5af11c4?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/00319d1e-54e2-4f70-a927-220c71b3a46a?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -591,9 +570,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:39 GMT + - Fri, 09 Apr 2021 03:51:36 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/9338fa7e-b879-4a35-8e45-7151f5af11c4?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/00319d1e-54e2-4f70-a927-220c71b3a46a?api-version=2021-03-15 pragma: - no-cache server: @@ -605,7 +584,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 202 message: Accepted @@ -613,7 +592,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -623,10 +602,9 @@ interactions: ParameterSetName: - -g -a -n -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9338fa7e-b879-4a35-8e45-7151f5af11c4?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/00319d1e-54e2-4f70-a927-220c71b3a46a?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -638,7 +616,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:09 GMT + - Fri, 09 Apr 2021 03:52:06 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb sql database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - -g -a -n -t + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/00319d1e-54e2-4f70-a927-220c71b3a46a?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToAutoscale","name":"b92t","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '517' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:52:06 GMT pragma: - no-cache server: @@ -670,15 +694,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"cY1N","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"b92t","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -687,7 +708,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:10 GMT + - Fri, 09 Apr 2021 03:52:08 GMT pragma: - no-cache server: @@ -719,14 +740,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -734,7 +752,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a0d62f37-b659-4fa5-bccd-db821f272acf?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d8b5a1e1-3baf-410c-b58a-e60b9b0da1f4?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -742,9 +760,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:11 GMT + - Fri, 09 Apr 2021 03:52:10 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/a0d62f37-b659-4fa5-bccd-db821f272acf?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/operationResults/d8b5a1e1-3baf-410c-b58a-e60b9b0da1f4?api-version=2021-03-15 pragma: - no-cache server: @@ -756,7 +774,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1184' status: code: 202 message: Accepted @@ -764,7 +782,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -774,10 +792,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a0d62f37-b659-4fa5-bccd-db821f272acf?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d8b5a1e1-3baf-410c-b58a-e60b9b0da1f4?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -789,7 +806,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:42 GMT + - Fri, 09 Apr 2021 03:52:40 GMT pragma: - no-cache server: @@ -811,7 +828,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -821,13 +838,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"cY1N","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings","name":"b92t","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -836,7 +852,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:42 GMT + - Fri, 09 Apr 2021 03:52:40 GMT pragma: - no-cache server: @@ -870,10 +886,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -881,7 +894,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c896c5e-c9ab-4519-9e60-502f6a770375?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d42f5fd8-9664-4aac-9471-519688616336?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -889,9 +902,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:43 GMT + - Fri, 09 Apr 2021 03:52:42 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/4c896c5e-c9ab-4519-9e60-502f6a770375?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/d42f5fd8-9664-4aac-9471-519688616336?api-version=2021-03-15 pragma: - no-cache server: @@ -903,7 +916,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 202 message: Accepted @@ -911,7 +924,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -921,10 +934,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c896c5e-c9ab-4519-9e60-502f6a770375?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d42f5fd8-9664-4aac-9471-519688616336?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -936,7 +948,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:13 GMT + - Fri, 09 Apr 2021 03:53:12 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb sql database throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/d42f5fd8-9664-4aac-9471-519688616336?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToManualThroughput","name":"b92t","properties":{"resource":{"throughput":8000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '488' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:53:12 GMT pragma: - no-cache server: @@ -971,14 +1029,11 @@ interactions: Content-Length: - '301' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: @@ -986,7 +1041,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/dbc2eedf-7d0a-4d45-bc51-8a1123ab6ade?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e80befe6-c963-4845-9166-b38dd691e169?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -994,9 +1049,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:14 GMT + - Fri, 09 Apr 2021 03:53:13 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/dbc2eedf-7d0a-4d45-bc51-8a1123ab6ade?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/operationResults/e80befe6-c963-4845-9166-b38dd691e169?api-version=2021-03-15 pragma: - no-cache server: @@ -1008,7 +1063,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1185' status: code: 202 message: Accepted @@ -1016,7 +1071,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1026,10 +1081,9 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/dbc2eedf-7d0a-4d45-bc51-8a1123ab6ade?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e80befe6-c963-4845-9166-b38dd691e169?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1041,7 +1095,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:53:44 GMT pragma: - no-cache server: @@ -1063,7 +1117,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1073,13 +1127,12 @@ interactions: ParameterSetName: - -g -a -d -n -p --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"m759AJ6OuLo=","_ts":1617789920,"_self":"dbs/m759AA==/colls/m759AJ6OuLo=/","_etag":"\"0000ac18-0000-0700-0000-606d83e00000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000004","properties":{"resource":{"id":"cli000004","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"lZw-AJ6JGQc=","_ts":1617940400,"_self":"dbs/lZw-AA==/colls/lZw-AJ6JGQc=/","_etag":"\"00009b00-0000-0700-0000-606fcfb00000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -1088,7 +1141,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:53:45 GMT pragma: - no-cache server: @@ -1120,15 +1173,12 @@ interactions: ParameterSetName: - -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"xiRs","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"+Ol4","properties":{"resource":{"throughput":400,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -1137,7 +1187,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:53:46 GMT pragma: - no-cache server: @@ -1171,10 +1221,7 @@ interactions: ParameterSetName: - -g -a -d -n --throughput-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -1182,7 +1229,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fe0598e1-a035-47f4-ad9b-1dc9362b3154?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5fc40719-8270-4344-aa4f-da051c395429?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1190,9 +1237,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:53:47 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/fe0598e1-a035-47f4-ad9b-1dc9362b3154?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/5fc40719-8270-4344-aa4f-da051c395429?api-version=2021-03-15 pragma: - no-cache server: @@ -1204,7 +1251,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 202 message: Accepted @@ -1212,7 +1259,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1222,10 +1269,9 @@ interactions: ParameterSetName: - -g -a -d -n --throughput-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fe0598e1-a035-47f4-ad9b-1dc9362b3154?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5fc40719-8270-4344-aa4f-da051c395429?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1237,7 +1283,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:54:17 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb sql container throughput migrate + Connection: + - keep-alive + ParameterSetName: + - -g -a -d -n --throughput-type + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToAutoscale/operationResults/5fc40719-8270-4344-aa4f-da051c395429?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToAutoscale","name":"+Ol4","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '555' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:54:17 GMT pragma: - no-cache server: @@ -1269,14 +1361,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: @@ -1284,7 +1373,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/09bbee42-fe5b-42d7-be33-6d097392e16b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/12c27614-be10-4d5c-adf3-798f5cbb7791?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1292,9 +1381,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:17 GMT + - Fri, 09 Apr 2021 03:54:20 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/09bbee42-fe5b-42d7-be33-6d097392e16b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/operationResults/12c27614-be10-4d5c-adf3-798f5cbb7791?api-version=2021-03-15 pragma: - no-cache server: @@ -1306,7 +1395,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1178' status: code: 202 message: Accepted @@ -1314,7 +1403,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1324,10 +1413,9 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/09bbee42-fe5b-42d7-be33-6d097392e16b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/12c27614-be10-4d5c-adf3-798f5cbb7791?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1339,7 +1427,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:47 GMT + - Fri, 09 Apr 2021 03:54:50 GMT pragma: - no-cache server: @@ -1361,7 +1449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1371,13 +1459,12 @@ interactions: ParameterSetName: - -g -a -d -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"xiRs","properties":{"resource":{"throughput":500,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings","name":"+Ol4","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":5000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -1386,7 +1473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:48 GMT + - Fri, 09 Apr 2021 03:54:50 GMT pragma: - no-cache server: @@ -1420,10 +1507,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -1431,7 +1515,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da47830d-487c-466b-bf47-c7942f155767?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/71c1c0ce-ba9f-4eff-a06b-7856ae282e4b?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1439,9 +1523,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:49 GMT + - Fri, 09 Apr 2021 03:54:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/da47830d-487c-466b-bf47-c7942f155767?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/71c1c0ce-ba9f-4eff-a06b-7856ae282e4b?api-version=2021-03-15 pragma: - no-cache server: @@ -1453,7 +1537,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1190' status: code: 202 message: Accepted @@ -1461,7 +1545,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1471,10 +1555,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -d -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da47830d-487c-466b-bf47-c7942f155767?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/71c1c0ce-ba9f-4eff-a06b-7856ae282e4b?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1486,7 +1569,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:19 GMT + - Fri, 09 Apr 2021 03:55:22 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb sql container throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -d -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToManualThroughput/operationResults/71c1c0ce-ba9f-4eff-a06b-7856ae282e4b?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/sqlDatabases/cli000003/containers/cli000004/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToManualThroughput","name":"+Ol4","properties":{"resource":{"throughput":5000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '526' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:55:23 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_stored_procedure.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_stored_procedure.yaml index 6966bdb09f6..e1363638f81 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_stored_procedure.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_stored_procedure.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_stored_procedure000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001","name":"cli_test_cosmosdb_sql_stored_procedure000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:17Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001","name":"cli_test_cosmosdb_sql_stored_procedure000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:57:36Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:17 GMT + - Fri, 09 Apr 2021 03:57:39 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:20.4618284Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5d6cae61-760f-4a13-8954-59a4a284916e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:45.1557526Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2b878654-5e21-414c-8730-ea3a338514f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d1703e9b-947d-4814-8e2f-4e9572bc218f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73d14c15-91dd-435f-a53e-464ff77add7f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:21 GMT + - Fri, 09 Apr 2021 03:57:47 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/d1703e9b-947d-4814-8e2f-4e9572bc218f?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/73d14c15-91dd-435f-a53e-464ff77add7f?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1187' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d1703e9b-947d-4814-8e2f-4e9572bc218f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73d14c15-91dd-435f-a53e-464ff77add7f?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:52 GMT + - Fri, 09 Apr 2021 03:58:18 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d1703e9b-947d-4814-8e2f-4e9572bc218f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73d14c15-91dd-435f-a53e-464ff77add7f?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:22 GMT + - Fri, 09 Apr 2021 03:58:48 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d1703e9b-947d-4814-8e2f-4e9572bc218f?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/73d14c15-91dd-435f-a53e-464ff77add7f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:52 GMT + - Fri, 09 Apr 2021 03:59:19 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:12.495391Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5d6cae61-760f-4a13-8954-59a4a284916e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:58:38.5894256Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2b878654-5e21-414c-8730-ea3a338514f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -281,11 +274,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:52 GMT + - Fri, 09 Apr 2021 03:59:19 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:12.495391Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"5d6cae61-760f-4a13-8954-59a4a284916e","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:58:38.5894256Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"2b878654-5e21-414c-8730-ea3a338514f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -335,11 +325,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2195' + - '2196' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:53 GMT + - Fri, 09 Apr 2021 03:59:20 GMT pragma: - no-cache server: @@ -371,14 +361,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -386,7 +373,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/31c90ad1-e978-452f-b8e0-f13435b5dc05?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2ddf3310-47ed-4359-81b7-d245d5761349?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -394,9 +381,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:53 GMT + - Fri, 09 Apr 2021 03:59:21 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/31c90ad1-e978-452f-b8e0-f13435b5dc05?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/2ddf3310-47ed-4359-81b7-d245d5761349?api-version=2021-03-15 pragma: - no-cache server: @@ -408,7 +395,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1182' status: code: 202 message: Accepted @@ -416,7 +403,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -426,10 +413,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/31c90ad1-e978-452f-b8e0-f13435b5dc05?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2ddf3310-47ed-4359-81b7-d245d5761349?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -441,7 +427,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:23 GMT + - Fri, 09 Apr 2021 03:59:51 GMT pragma: - no-cache server: @@ -463,7 +449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -473,13 +459,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"x3B3AA==","_self":"dbs/x3B3AA==/","_etag":"\"0000830b-0000-0700-0000-606d83ca0000\"","_colls":"colls/","_users":"users/","_ts":1617789898}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"DmslAA==","_self":"dbs/DmslAA==/","_etag":"\"0000a004-0000-0700-0000-606fd11e0000\"","_colls":"colls/","_users":"users/","_ts":1617940766}}}' headers: cache-control: - no-store, no-cache @@ -488,7 +473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:23 GMT + - Fri, 09 Apr 2021 03:59:51 GMT pragma: - no-cache server: @@ -523,14 +508,11 @@ interactions: Content-Length: - '284' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -538,7 +520,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a43ee37f-9892-4161-9114-54f3d6286369?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69a8ba0e-89a3-4ed9-9d03-c2e1b08764a3?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -546,9 +528,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:25 GMT + - Fri, 09 Apr 2021 03:59:53 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/a43ee37f-9892-4161-9114-54f3d6286369?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/69a8ba0e-89a3-4ed9-9d03-c2e1b08764a3?api-version=2021-03-15 pragma: - no-cache server: @@ -560,7 +542,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1179' status: code: 202 message: Accepted @@ -568,7 +550,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -578,10 +560,9 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a43ee37f-9892-4161-9114-54f3d6286369?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/69a8ba0e-89a3-4ed9-9d03-c2e1b08764a3?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -593,7 +574,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:56 GMT + - Fri, 09 Apr 2021 04:00:24 GMT pragma: - no-cache server: @@ -615,7 +596,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,13 +606,12 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"x3B3AMCaMtk=","_ts":1617789930,"_self":"dbs/x3B3AA==/colls/x3B3AMCaMtk=/","_etag":"\"0000850b-0000-0700-0000-606d83ea0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"DmslAIn0erg=","_ts":1617940798,"_self":"dbs/DmslAA==/colls/DmslAIn0erg=/","_etag":"\"0000a204-0000-0700-0000-606fd13e0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -640,7 +620,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:56 GMT + - Fri, 09 Apr 2021 04:00:25 GMT pragma: - no-cache server: @@ -673,14 +653,11 @@ interactions: Content-Length: - '92' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: @@ -688,7 +665,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/be087fd8-977b-43c2-8e2d-ae09d03ebd42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/87588f94-5a76-421d-a76c-bae264980788?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -696,9 +673,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:57 GMT + - Fri, 09 Apr 2021 04:00:26 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/be087fd8-977b-43c2-8e2d-ae09d03ebd42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/87588f94-5a76-421d-a76c-bae264980788?api-version=2021-03-15 pragma: - no-cache server: @@ -710,7 +687,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1187' status: code: 202 message: Accepted @@ -718,7 +695,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -728,10 +705,9 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/be087fd8-977b-43c2-8e2d-ae09d03ebd42?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/87588f94-5a76-421d-a76c-bae264980788?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -743,7 +719,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:27 GMT + - Fri, 09 Apr 2021 04:00:57 GMT pragma: - no-cache server: @@ -765,7 +741,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -775,13 +751,12 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","_rid":"x3B3AMCaMtkBAAAAAAAAgA==","_self":"dbs/x3B3AA==/colls/x3B3AMCaMtk=/sprocs/x3B3AMCaMtkBAAAAAAAAgA==/","_etag":"\"7a00ada2-0000-0700-0000-606d84090000\"","_ts":1617789961}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","_rid":"DmslAIn0ergBAAAAAAAAgA==","_self":"dbs/DmslAA==/colls/DmslAIn0erg=/sprocs/DmslAIn0ergBAAAAAAAAgA==/","_etag":"\"3b018cad-0000-0700-0000-606fd15f0000\"","_ts":1617940831}}}' headers: cache-control: - no-store, no-cache @@ -790,7 +765,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:27 GMT + - Fri, 09 Apr 2021 04:00:57 GMT pragma: - no-cache server: @@ -823,14 +798,11 @@ interactions: Content-Length: - '93' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: @@ -838,7 +810,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a3acdfb8-542b-4421-8ace-fd447058cde0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2fbdf17-e974-44ee-acfa-e6b2c98ac8d9?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -846,9 +818,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:27 GMT + - Fri, 09 Apr 2021 04:00:59 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/a3acdfb8-542b-4421-8ace-fd447058cde0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/b2fbdf17-e974-44ee-acfa-e6b2c98ac8d9?api-version=2021-03-15 pragma: - no-cache server: @@ -860,7 +832,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' status: code: 202 message: Accepted @@ -868,7 +840,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -878,10 +850,9 @@ interactions: ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a3acdfb8-542b-4421-8ace-fd447058cde0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b2fbdf17-e974-44ee-acfa-e6b2c98ac8d9?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -893,7 +864,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:57 GMT + - Fri, 09 Apr 2021 04:01:30 GMT pragma: - no-cache server: @@ -915,7 +886,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -925,13 +896,12 @@ interactions: ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"x3B3AMCaMtkBAAAAAAAAgA==","_self":"dbs/x3B3AA==/colls/x3B3AMCaMtk=/sprocs/x3B3AMCaMtkBAAAAAAAAgA==/","_etag":"\"7a00afa2-0000-0700-0000-606d84280000\"","_ts":1617789992}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DmslAIn0ergBAAAAAAAAgA==","_self":"dbs/DmslAA==/colls/DmslAIn0erg=/sprocs/DmslAIn0ergBAAAAAAAAgA==/","_etag":"\"3b01e2af-0000-0700-0000-606fd1800000\"","_ts":1617940864}}}' headers: cache-control: - no-store, no-cache @@ -940,7 +910,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:58 GMT + - Fri, 09 Apr 2021 04:01:30 GMT pragma: - no-cache server: @@ -972,15 +942,12 @@ interactions: ParameterSetName: - -g -a -d -c -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"x3B3AMCaMtkBAAAAAAAAgA==","_self":"dbs/x3B3AA==/colls/x3B3AMCaMtk=/sprocs/x3B3AMCaMtkBAAAAAAAAgA==/","_etag":"\"7a00afa2-0000-0700-0000-606d84280000\"","_ts":1617789992}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DmslAIn0ergBAAAAAAAAgA==","_self":"dbs/DmslAA==/colls/DmslAIn0erg=/sprocs/DmslAIn0ergBAAAAAAAAgA==/","_etag":"\"3b01e2af-0000-0700-0000-606fd1800000\"","_ts":1617940864}}}' headers: cache-control: - no-store, no-cache @@ -989,7 +956,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:59 GMT + - Fri, 09 Apr 2021 04:01:32 GMT pragma: - no-cache server: @@ -1021,15 +988,12 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"x3B3AMCaMtkBAAAAAAAAgA==","_self":"dbs/x3B3AA==/colls/x3B3AMCaMtk=/sprocs/x3B3AMCaMtkBAAAAAAAAgA==/","_etag":"\"7a00afa2-0000-0700-0000-606d84280000\"","_ts":1617789992}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DmslAIn0ergBAAAAAAAAgA==","_self":"dbs/DmslAA==/colls/DmslAIn0erg=/sprocs/DmslAIn0ergBAAAAAAAAgA==/","_etag":"\"3b01e2af-0000-0700-0000-606fd1800000\"","_ts":1617940864}}}]}' headers: cache-control: - no-store, no-cache @@ -1038,7 +1002,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:59 GMT + - Fri, 09 Apr 2021 04:01:33 GMT pragma: - no-cache server: @@ -1060,7 +1024,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1072,10 +1036,7 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004?api-version=2021-03-15 response: @@ -1083,7 +1044,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7fae79d4-4b60-40b4-88a7-c3fdbb5b94e2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a7a48809-3767-4e9c-b2ca-2206c434960f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1091,9 +1052,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:00 GMT + - Fri, 09 Apr 2021 04:01:34 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/7fae79d4-4b60-40b4-88a7-c3fdbb5b94e2?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures/cli000004/operationResults/a7a48809-3767-4e9c-b2ca-2206c434960f?api-version=2021-03-15 pragma: - no-cache server: @@ -1105,7 +1066,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 202 message: Accepted @@ -1113,7 +1074,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1123,10 +1084,9 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7fae79d4-4b60-40b4-88a7-c3fdbb5b94e2?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a7a48809-3767-4e9c-b2ca-2206c434960f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1138,7 +1098,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:30 GMT + - Fri, 09 Apr 2021 04:02:04 GMT pragma: - no-cache server: @@ -1170,10 +1130,7 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_stored_procedure000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/storedProcedures?api-version=2021-03-15 response: @@ -1187,7 +1144,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:31 GMT + - Fri, 09 Apr 2021 04:02:06 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_trigger.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_trigger.yaml index d43dd2ae7e1..97955299750 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_trigger.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_trigger.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_trigger000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001","name":"cli_test_cosmosdb_sql_trigger000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001","name":"cli_test_cosmosdb_sql_trigger000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:49:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:37 GMT + - Fri, 09 Apr 2021 03:49:56 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:40.2545908Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"63892b20-831b-40eb-8ce7-7911c3b59950","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:03.2546046Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"268d7a76-6668-422c-93f1-844a7b01f14a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d68da552-081b-43b4-98b2-f0cfc44932e1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:42 GMT + - Fri, 09 Apr 2021 03:50:05 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/d68da552-081b-43b4-98b2-f0cfc44932e1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1184' + - '1193' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d68da552-081b-43b4-98b2-f0cfc44932e1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:12 GMT + - Fri, 09 Apr 2021 03:50:36 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d68da552-081b-43b4-98b2-f0cfc44932e1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:42 GMT + - Fri, 09 Apr 2021 03:51:06 GMT pragma: - no-cache server: @@ -208,7 +203,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:51:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +259,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d68da552-081b-43b4-98b2-f0cfc44932e1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fb34dd56-cbf8-41dd-a0e4-e60459bea6e6?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +273,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:52:06 GMT pragma: - no-cache server: @@ -255,7 +295,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +305,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:33.1354045Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"63892b20-831b-40eb-8ce7-7911c3b59950","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:11.1786444Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"268d7a76-6668-422c-93f1-844a7b01f14a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -285,7 +324,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:52:06 GMT pragma: - no-cache server: @@ -317,16 +356,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:04:33.1354045Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"63892b20-831b-40eb-8ce7-7911c3b59950","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:11.1786444Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"268d7a76-6668-422c-93f1-844a7b01f14a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -339,7 +375,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:52:07 GMT pragma: - no-cache server: @@ -371,14 +407,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -386,7 +419,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eeff59f3-e428-46ae-b286-ba639c28ecad?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9b27470e-05ca-47e1-aa30-84363f0be7f8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -394,9 +427,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:13 GMT + - Fri, 09 Apr 2021 03:52:09 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/eeff59f3-e428-46ae-b286-ba639c28ecad?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/9b27470e-05ca-47e1-aa30-84363f0be7f8?api-version=2021-03-15 pragma: - no-cache server: @@ -408,7 +441,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1176' status: code: 202 message: Accepted @@ -416,7 +449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -426,10 +459,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eeff59f3-e428-46ae-b286-ba639c28ecad?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9b27470e-05ca-47e1-aa30-84363f0be7f8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -441,7 +473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:52:39 GMT pragma: - no-cache server: @@ -463,7 +495,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -473,13 +505,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"EnxRAA==","_self":"dbs/EnxRAA==/","_etag":"\"00007610-0000-0700-0000-606d83de0000\"","_colls":"colls/","_users":"users/","_ts":1617789918}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"vsstAA==","_self":"dbs/vsstAA==/","_etag":"\"0000a803-0000-0700-0000-606fcf6d0000\"","_colls":"colls/","_users":"users/","_ts":1617940333}}}' headers: cache-control: - no-store, no-cache @@ -488,7 +519,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:52:39 GMT pragma: - no-cache server: @@ -523,14 +554,11 @@ interactions: Content-Length: - '284' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -538,7 +566,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/42461a5d-4968-4fb7-ab23-6b6861d8af6c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e6dc5f21-665a-412d-9ce0-d4916de2b0f6?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -546,9 +574,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:52:41 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/42461a5d-4968-4fb7-ab23-6b6861d8af6c?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/e6dc5f21-665a-412d-9ce0-d4916de2b0f6?api-version=2021-03-15 pragma: - no-cache server: @@ -560,7 +588,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1185' status: code: 202 message: Accepted @@ -568,7 +596,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -578,10 +606,9 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/42461a5d-4968-4fb7-ab23-6b6861d8af6c?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e6dc5f21-665a-412d-9ce0-d4916de2b0f6?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -593,7 +620,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:15 GMT + - Fri, 09 Apr 2021 03:53:11 GMT pragma: - no-cache server: @@ -615,7 +642,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,13 +652,12 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"EnxRALqJtg8=","_ts":1617789950,"_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/","_etag":"\"00007810-0000-0700-0000-606d83fe0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"vsstAJCMwiQ=","_ts":1617940366,"_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/","_etag":"\"0000aa03-0000-0700-0000-606fcf8e0000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -640,7 +666,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:53:11 GMT pragma: - no-cache server: @@ -673,14 +699,11 @@ interactions: Content-Length: - '141' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: @@ -688,7 +711,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7cbed22b-e70f-4c80-9cea-485ed6e3cadd?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cb3a40e4-bf76-4fbf-b640-5f13d8b84e49?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -696,9 +719,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:53:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/7cbed22b-e70f-4c80-9cea-485ed6e3cadd?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/cb3a40e4-bf76-4fbf-b640-5f13d8b84e49?api-version=2021-03-15 pragma: - no-cache server: @@ -710,7 +733,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1179' status: code: 202 message: Accepted @@ -718,7 +741,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -728,10 +751,9 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/7cbed22b-e70f-4c80-9cea-485ed6e3cadd?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cb3a40e4-bf76-4fbf-b640-5f13d8b84e49?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -743,7 +765,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:46 GMT + - Fri, 09 Apr 2021 03:53:43 GMT pragma: - no-cache server: @@ -765,7 +787,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -775,13 +797,12 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","triggerType":"Pre","triggerOperation":"All","_rid":"EnxRALqJtg8BAAAAAAAAcA==","_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/triggers/EnxRALqJtg8BAAAAAAAAcA==/","_etag":"\"2201fb19-0000-0700-0000-606d841d0000\"","_ts":1617789981}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","triggerType":"Pre","triggerOperation":"All","_rid":"vsstAJCMwiQBAAAAAAAAcA==","_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/triggers/vsstAJCMwiQBAAAAAAAAcA==/","_etag":"\"9f02b475-0000-0700-0000-606fcfad0000\"","_ts":1617940397}}}' headers: cache-control: - no-store, no-cache @@ -790,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:46 GMT + - Fri, 09 Apr 2021 03:53:44 GMT pragma: - no-cache server: @@ -822,15 +843,12 @@ interactions: ParameterSetName: - -g -a -d -c -n -b --operation -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","triggerType":"Pre","triggerOperation":"All","_rid":"EnxRALqJtg8BAAAAAAAAcA==","_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/triggers/EnxRALqJtg8BAAAAAAAAcA==/","_etag":"\"2201fb19-0000-0700-0000-606d841d0000\"","_ts":1617789981}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","triggerType":"Pre","triggerOperation":"All","_rid":"vsstAJCMwiQBAAAAAAAAcA==","_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/triggers/vsstAJCMwiQBAAAAAAAAcA==/","_etag":"\"9f02b475-0000-0700-0000-606fcfad0000\"","_ts":1617940397}}}' headers: cache-control: - no-store, no-cache @@ -839,7 +857,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:47 GMT + - Fri, 09 Apr 2021 03:53:45 GMT pragma: - no-cache server: @@ -872,14 +890,11 @@ interactions: Content-Length: - '145' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -c -n -b --operation -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: @@ -887,7 +902,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d45709e-abad-4b0c-8535-fda21cffde42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cabd856-5b08-4e4e-8a55-b0ba6c1aa7fc?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -895,9 +910,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:48 GMT + - Fri, 09 Apr 2021 03:53:46 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/2d45709e-abad-4b0c-8535-fda21cffde42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/6cabd856-5b08-4e4e-8a55-b0ba6c1aa7fc?api-version=2021-03-15 pragma: - no-cache server: @@ -909,7 +924,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1178' status: code: 202 message: Accepted @@ -917,7 +932,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -927,10 +942,9 @@ interactions: ParameterSetName: - -g -a -d -c -n -b --operation -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d45709e-abad-4b0c-8535-fda21cffde42?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6cabd856-5b08-4e4e-8a55-b0ba6c1aa7fc?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -942,7 +956,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:18 GMT + - Fri, 09 Apr 2021 03:54:16 GMT pragma: - no-cache server: @@ -964,7 +978,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -974,13 +988,12 @@ interactions: ParameterSetName: - -g -a -d -c -n -b --operation -t User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"EnxRALqJtg8BAAAAAAAAcA==","_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/triggers/EnxRALqJtg8BAAAAAAAAcA==/","_etag":"\"22015e1a-0000-0700-0000-606d843d0000\"","_ts":1617790013}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"vsstAJCMwiQBAAAAAAAAcA==","_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/triggers/vsstAJCMwiQBAAAAAAAAcA==/","_etag":"\"9f02c475-0000-0700-0000-606fcfcf0000\"","_ts":1617940431}}}' headers: cache-control: - no-store, no-cache @@ -989,7 +1002,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:19 GMT + - Fri, 09 Apr 2021 03:54:17 GMT pragma: - no-cache server: @@ -1021,15 +1034,12 @@ interactions: ParameterSetName: - -g -a -d -c -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"EnxRALqJtg8BAAAAAAAAcA==","_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/triggers/EnxRALqJtg8BAAAAAAAAcA==/","_etag":"\"22015e1a-0000-0700-0000-606d843d0000\"","_ts":1617790013}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"vsstAJCMwiQBAAAAAAAAcA==","_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/triggers/vsstAJCMwiQBAAAAAAAAcA==/","_etag":"\"9f02c475-0000-0700-0000-606fcfcf0000\"","_ts":1617940431}}}' headers: cache-control: - no-store, no-cache @@ -1038,7 +1048,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:20 GMT + - Fri, 09 Apr 2021 03:54:18 GMT pragma: - no-cache server: @@ -1070,15 +1080,12 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"EnxRALqJtg8BAAAAAAAAcA==","_self":"dbs/EnxRAA==/colls/EnxRALqJtg8=/triggers/EnxRALqJtg8BAAAAAAAAcA==/","_etag":"\"22015e1a-0000-0700-0000-606d843d0000\"","_ts":1617790013}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","triggerType":"Pre","triggerOperation":"Delete","_rid":"vsstAJCMwiQBAAAAAAAAcA==","_self":"dbs/vsstAA==/colls/vsstAJCMwiQ=/triggers/vsstAJCMwiQBAAAAAAAAcA==/","_etag":"\"9f02c475-0000-0700-0000-606fcfcf0000\"","_ts":1617940431}}}]}' headers: cache-control: - no-store, no-cache @@ -1087,7 +1094,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:20 GMT + - Fri, 09 Apr 2021 03:54:20 GMT pragma: - no-cache server: @@ -1109,7 +1116,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1121,10 +1128,7 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004?api-version=2021-03-15 response: @@ -1132,7 +1136,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/139549f3-02ba-4e78-b966-3df1b4bf0932?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/65003951-917a-407e-b2e4-015ff5769aee?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1140,9 +1144,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:54:22 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/139549f3-02ba-4e78-b966-3df1b4bf0932?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers/cli000004/operationResults/65003951-917a-407e-b2e4-015ff5769aee?api-version=2021-03-15 pragma: - no-cache server: @@ -1154,7 +1158,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -1162,7 +1166,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1172,10 +1176,9 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/139549f3-02ba-4e78-b966-3df1b4bf0932?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/65003951-917a-407e-b2e4-015ff5769aee?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1187,7 +1190,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:51 GMT + - Fri, 09 Apr 2021 03:54:52 GMT pragma: - no-cache server: @@ -1219,10 +1222,7 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_trigger000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/triggers?api-version=2021-03-15 response: @@ -1236,7 +1236,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:51 GMT + - Fri, 09 Apr 2021 03:54:53 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_user_defined_function.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_user_defined_function.yaml index de86bf09655..a97c516b809 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_user_defined_function.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_sql_user_defined_function.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_sql_user_defined_function000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001","name":"cli_test_cosmosdb_sql_user_defined_function000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:02:04Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001","name":"cli_test_cosmosdb_sql_user_defined_function000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:50:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:03 GMT + - Fri, 09 Apr 2021 03:50:21 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:06.9153608Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7a0c5602-c1d9-480a-b341-2048ca0039ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:50:28.9613679Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"24d9812f-8aca-47da-889f-f04b7774b460","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eebb9fc7-f628-4210-bec9-73c72810de46?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3ea72b32-8bc6-4ea8-9f0d-1fa03fa8b7fa?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:08 GMT + - Fri, 09 Apr 2021 03:50:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/eebb9fc7-f628-4210-bec9-73c72810de46?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/operationResults/3ea72b32-8bc6-4ea8-9f0d-1fa03fa8b7fa?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1189' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eebb9fc7-f628-4210-bec9-73c72810de46?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3ea72b32-8bc6-4ea8-9f0d-1fa03fa8b7fa?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:38 GMT + - Fri, 09 Apr 2021 03:51:01 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eebb9fc7-f628-4210-bec9-73c72810de46?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3ea72b32-8bc6-4ea8-9f0d-1fa03fa8b7fa?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:08 GMT + - Fri, 09 Apr 2021 03:51:31 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/eebb9fc7-f628-4210-bec9-73c72810de46?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/3ea72b32-8bc6-4ea8-9f0d-1fa03fa8b7fa?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:38 GMT + - Fri, 09 Apr 2021 03:52:01 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:59.3930483Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7a0c5602-c1d9-480a-b341-2048ca0039ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:23.9528615Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"24d9812f-8aca-47da-889f-f04b7774b460","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:38 GMT + - Fri, 09 Apr 2021 03:52:01 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005","name":"cli000005","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:59.3930483Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"7a0c5602-c1d9-480a-b341-2048ca0039ae","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:23.9528615Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000005.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"24d9812f-8aca-47da-889f-f04b7774b460","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000005-westus","locationName":"West US","documentEndpoint":"https://cli000005-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000005-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:38 GMT + - Fri, 09 Apr 2021 03:52:01 GMT pragma: - no-cache server: @@ -371,14 +361,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: @@ -386,7 +373,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/96bc28a3-1f8a-4012-af9a-237a0c6f9dcb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/11759c5a-b75a-4dee-a3c8-7b0f60c21418?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -394,9 +381,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:39 GMT + - Fri, 09 Apr 2021 03:52:03 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/96bc28a3-1f8a-4012-af9a-237a0c6f9dcb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/operationResults/11759c5a-b75a-4dee-a3c8-7b0f60c21418?api-version=2021-03-15 pragma: - no-cache server: @@ -408,7 +395,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1184' + - '1179' status: code: 202 message: Accepted @@ -416,7 +403,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -426,10 +413,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/96bc28a3-1f8a-4012-af9a-237a0c6f9dcb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/11759c5a-b75a-4dee-a3c8-7b0f60c21418?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -441,7 +427,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:09 GMT + - Fri, 09 Apr 2021 03:52:33 GMT pragma: - no-cache server: @@ -463,7 +449,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -473,13 +459,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"sdooAA==","_self":"dbs/sdooAA==/","_etag":"\"00006210-0000-0700-0000-606d837f0000\"","_colls":"colls/","_users":"users/","_ts":1617789823}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"DHgGAA==","_self":"dbs/DHgGAA==/","_etag":"\"00000b4e-0000-0700-0000-606fcf680000\"","_colls":"colls/","_users":"users/","_ts":1617940328}}}' headers: cache-control: - no-store, no-cache @@ -488,7 +473,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:09 GMT + - Fri, 09 Apr 2021 03:52:34 GMT pragma: - no-cache server: @@ -523,14 +508,11 @@ interactions: Content-Length: - '284' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: @@ -538,7 +520,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0af38cbf-3f4f-43f8-af1d-ba866658c1d0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed5121c8-b649-472f-b0bf-e68b59eaa923?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -546,9 +528,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:11 GMT + - Fri, 09 Apr 2021 03:52:35 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/0af38cbf-3f4f-43f8-af1d-ba866658c1d0?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/operationResults/ed5121c8-b649-472f-b0bf-e68b59eaa923?api-version=2021-03-15 pragma: - no-cache server: @@ -560,7 +542,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1175' status: code: 202 message: Accepted @@ -568,7 +550,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -578,10 +560,9 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0af38cbf-3f4f-43f8-af1d-ba866658c1d0?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed5121c8-b649-472f-b0bf-e68b59eaa923?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -593,7 +574,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:40 GMT + - Fri, 09 Apr 2021 03:53:05 GMT pragma: - no-cache server: @@ -615,7 +596,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,13 +606,12 @@ interactions: ParameterSetName: - -g -a -d -n -p User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"sdooAOh605g=","_ts":1617789857,"_self":"dbs/sdooAA==/colls/sdooAOh605g=/","_etag":"\"00006e10-0000-0700-0000-606d83a10000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers","name":"cli000003","properties":{"resource":{"id":"cli000003","indexingPolicy":{"indexingMode":"consistent","automatic":true,"includedPaths":[{"path":"/*"}],"excludedPaths":[{"path":"/\"_etag\"/?"}]},"partitionKey":{"paths":["/thePartitionKey"],"kind":"Hash"},"uniqueKeyPolicy":{"uniqueKeys":[]},"conflictResolutionPolicy":{"mode":"LastWriterWins","conflictResolutionPath":"/_ts","conflictResolutionProcedure":""},"allowMaterializedViews":false,"geospatialConfig":{"type":"Geography"},"_rid":"DHgGAOA2E-Q=","_ts":1617940360,"_self":"dbs/DHgGAA==/colls/DHgGAOA2E-Q=/","_etag":"\"00000d4e-0000-0700-0000-606fcf880000\"","_docs":"docs/","_sprocs":"sprocs/","_triggers":"triggers/","_udfs":"udfs/","_conflicts":"conflicts/","statistics":[{"id":"0","sizeInKB":0,"documentCount":0,"partitionKeys":[]}]}}}' headers: cache-control: - no-store, no-cache @@ -640,7 +620,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:41 GMT + - Fri, 09 Apr 2021 03:53:05 GMT pragma: - no-cache server: @@ -673,14 +653,11 @@ interactions: Content-Length: - '92' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: @@ -688,7 +665,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5f4b1412-fd5a-4296-842f-5a5d2fb33a25?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1d06035b-411d-4633-88fe-525017bcc000?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -696,9 +673,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:42 GMT + - Fri, 09 Apr 2021 03:53:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/5f4b1412-fd5a-4296-842f-5a5d2fb33a25?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/1d06035b-411d-4633-88fe-525017bcc000?api-version=2021-03-15 pragma: - no-cache server: @@ -710,7 +687,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1182' status: code: 202 message: Accepted @@ -718,7 +695,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -728,10 +705,9 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5f4b1412-fd5a-4296-842f-5a5d2fb33a25?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1d06035b-411d-4633-88fe-525017bcc000?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -743,7 +719,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:53:36 GMT pragma: - no-cache server: @@ -765,7 +741,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -775,13 +751,12 @@ interactions: ParameterSetName: - --resource-group -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","_rid":"sdooAOh605gBAAAAAAAAYA==","_self":"dbs/sdooAA==/colls/sdooAOh605g=/udfs/sdooAOh605gBAAAAAAAAYA==/","_etag":"\"7c00cb6d-0000-0700-0000-606d83bf0000\"","_ts":1617789887}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody","_rid":"DHgGAOA2E-QBAAAAAAAAYA==","_self":"dbs/DHgGAA==/colls/DHgGAOA2E-Q=/udfs/DHgGAOA2E-QBAAAAAAAAYA==/","_etag":"\"2704c4cc-0000-0700-0000-606fcfa70000\"","_ts":1617940391}}}' headers: cache-control: - no-store, no-cache @@ -790,7 +765,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:12 GMT + - Fri, 09 Apr 2021 03:53:38 GMT pragma: - no-cache server: @@ -823,14 +798,11 @@ interactions: Content-Length: - '93' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: @@ -838,7 +810,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c1c62a7-0a32-483f-bb07-ffce0656cd21?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec3ff994-4972-4804-b45f-8fdeafed43e5?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -846,9 +818,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:14 GMT + - Fri, 09 Apr 2021 03:53:39 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/0c1c62a7-0a32-483f-bb07-ffce0656cd21?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/ec3ff994-4972-4804-b45f-8fdeafed43e5?api-version=2021-03-15 pragma: - no-cache server: @@ -860,7 +832,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1179' status: code: 202 message: Accepted @@ -868,7 +840,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -878,10 +850,9 @@ interactions: ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c1c62a7-0a32-483f-bb07-ffce0656cd21?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ec3ff994-4972-4804-b45f-8fdeafed43e5?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -893,7 +864,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:54:10 GMT pragma: - no-cache server: @@ -915,7 +886,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -925,13 +896,12 @@ interactions: ParameterSetName: - -g -a -d -c -n -b User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"sdooAOh605gBAAAAAAAAYA==","_self":"dbs/sdooAA==/colls/sdooAOh605g=/udfs/sdooAOh605gBAAAAAAAAYA==/","_etag":"\"7c004d6e-0000-0700-0000-606d83de0000\"","_ts":1617789918}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DHgGAOA2E-QBAAAAAAAAYA==","_self":"dbs/DHgGAA==/colls/DHgGAOA2E-Q=/udfs/DHgGAOA2E-QBAAAAAAAAYA==/","_etag":"\"270440cd-0000-0700-0000-606fcfc80000\"","_ts":1617940424}}}' headers: cache-control: - no-store, no-cache @@ -940,7 +910,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:54:10 GMT pragma: - no-cache server: @@ -972,15 +942,12 @@ interactions: ParameterSetName: - -g -a -d -c -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"sdooAOh605gBAAAAAAAAYA==","_self":"dbs/sdooAA==/colls/sdooAOh605g=/udfs/sdooAOh605gBAAAAAAAAYA==/","_etag":"\"7c004d6e-0000-0700-0000-606d83de0000\"","_ts":1617789918}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DHgGAOA2E-QBAAAAAAAAYA==","_self":"dbs/DHgGAA==/colls/DHgGAOA2E-Q=/udfs/DHgGAOA2E-QBAAAAAAAAYA==/","_etag":"\"270440cd-0000-0700-0000-606fcfc80000\"","_ts":1617940424}}}' headers: cache-control: - no-store, no-cache @@ -989,7 +956,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:54:11 GMT pragma: - no-cache server: @@ -1021,15 +988,12 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"sdooAOh605gBAAAAAAAAYA==","_self":"dbs/sdooAA==/colls/sdooAOh605g=/udfs/sdooAOh605gBAAAAAAAAYA==/","_etag":"\"7c004d6e-0000-0700-0000-606d83de0000\"","_ts":1617789918}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004","type":"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions","name":"cli000004","properties":{"resource":{"id":"cli000004","body":"sampleBody2","_rid":"DHgGAOA2E-QBAAAAAAAAYA==","_self":"dbs/DHgGAA==/colls/DHgGAOA2E-Q=/udfs/DHgGAOA2E-QBAAAAAAAAYA==/","_etag":"\"270440cd-0000-0700-0000-606fcfc80000\"","_ts":1617940424}}}]}' headers: cache-control: - no-store, no-cache @@ -1038,7 +1002,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:54:13 GMT pragma: - no-cache server: @@ -1060,7 +1024,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1072,10 +1036,7 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004?api-version=2021-03-15 response: @@ -1083,7 +1044,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/796f9051-465a-429a-94b7-d2a151a5c732?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fd70c4b7-7e70-4874-af09-4141dfa9dba1?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -1091,9 +1052,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:47 GMT + - Fri, 09 Apr 2021 03:54:14 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/796f9051-465a-429a-94b7-d2a151a5c732?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions/cli000004/operationResults/fd70c4b7-7e70-4874-af09-4141dfa9dba1?api-version=2021-03-15 pragma: - no-cache server: @@ -1105,7 +1066,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 202 message: Accepted @@ -1113,7 +1074,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1123,10 +1084,9 @@ interactions: ParameterSetName: - -g -a -d -c -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/796f9051-465a-429a-94b7-d2a151a5c732?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/fd70c4b7-7e70-4874-af09-4141dfa9dba1?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1138,7 +1098,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:54:44 GMT pragma: - no-cache server: @@ -1170,10 +1130,7 @@ interactions: ParameterSetName: - -g -a -d -c User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_sql_user_defined_function000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000005/sqlDatabases/cli000002/containers/cli000003/userDefinedFunctions?api-version=2021-03-15 response: @@ -1187,7 +1144,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:17 GMT + - Fri, 09 Apr 2021 03:54:46 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table.yaml index b330c09afbb..33f368cd1a8 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_table000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001","name":"cli_test_cosmosdb_table000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:03:38Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001","name":"cli_test_cosmosdb_table000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:49:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:03:38 GMT + - Fri, 09 Apr 2021 03:49:43 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '262' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:41.8667817Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15d00309-9139-486f-80bf-bf17848edd07","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:48.8926686Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"aa089aac-3744-45de-afef-7cffdc030e1c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableTable"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:43 GMT + - Fri, 09 Apr 2021 03:49:50 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1178' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:14 GMT + - Fri, 09 Apr 2021 03:50:21 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:44 GMT + - Fri, 09 Apr 2021 03:50:51 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:14 GMT + - Fri, 09 Apr 2021 03:51:21 GMT pragma: - no-cache server: @@ -257,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +261,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/98c0a596-8a96-4aeb-9fb6-678868d0286d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/18736305-cbf6-4bb2-a37f-254002acd8d7?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +275,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:51:51 GMT pragma: - no-cache server: @@ -304,7 +297,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +307,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:03.7480784Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","tableEndpoint":"https://cli000003.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15d00309-9139-486f-80bf-bf17848edd07","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:19.1119578Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","tableEndpoint":"https://cli000003.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"aa089aac-3744-45de-afef-7cffdc030e1c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -335,7 +327,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:51:52 GMT pragma: - no-cache server: @@ -367,17 +359,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:03.7480784Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","tableEndpoint":"https://cli000003.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15d00309-9139-486f-80bf-bf17848edd07","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:19.1119578Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","tableEndpoint":"https://cli000003.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"aa089aac-3744-45de-afef-7cffdc030e1c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -390,7 +379,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:51:52 GMT pragma: - no-cache server: @@ -422,25 +411,22 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: body: string: '{"code":"NotFound","message":"Message: {\"code\":\"NotFound\",\"message\":\"Message: {\\\"Errors\\\":[\\\"Owner resource does not exist\\\"]}\\r\\nActivityId: - d1799118-9788-11eb-87a0-705a0f2f2f32, Request URI: /apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b1be00ed-4796-404e-921d-98c285dea430/partitions/78654781-bcdb-4a5c-9c4a-c33f61e46a33/replicas/132622403946859538s, - RequestStats: \\r\\nRequestStartTime: 2021-04-07T10:05:45.4660934Z, RequestEndTime: - 2021-04-07T10:05:45.4660934Z, Number of regions attempted:1\\r\\nResponseTime: - 2021-04-07T10:05:45.4660934Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.27:11300/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b1be00ed-4796-404e-921d-98c285dea430/partitions/78654781-bcdb-4a5c-9c4a-c33f61e46a33/replicas/132622403946859538s, + ebe9fe12-98e6-11eb-a828-2cf05d45d149, Request URI: /apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/4371ebda-05a7-476c-94b0-ad469cac6050/partitions/956fe9b9-2442-4c47-9a96-0f2bfa3008ae/replicas/132624105698104599s, + RequestStats: \\r\\nRequestStartTime: 2021-04-09T03:51:54.0689845Z, RequestEndTime: + 2021-04-09T03:51:54.0790087Z, Number of regions attempted:1\\r\\nResponseTime: + 2021-04-09T03:51:54.0790087Z, StoreResult: StorePhysicalAddress: rntbd://10.0.0.27:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/4371ebda-05a7-476c-94b0-ad469cac6050/partitions/956fe9b9-2442-4c47-9a96-0f2bfa3008ae/replicas/132624105698104599s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 1003, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, - OperationType: Read\\r\\nResponseTime: 2021-04-07T10:05:45.4660934Z, StoreResult: - StorePhysicalAddress: rntbd://10.0.0.28:11000/apps/4e361f12-a2d0-43ad-b9d4-d63106b2239c/services/b1be00ed-4796-404e-921d-98c285dea430/partitions/78654781-bcdb-4a5c-9c4a-c33f61e46a33/replicas/132622403946859539s, + OperationType: Read\\r\\nResponseTime: 2021-04-09T03:51:54.0790087Z, StoreResult: + StorePhysicalAddress: rntbd://10.0.0.21:11300/apps/9b05de22-fdea-408a-87bb-796c609b24a8/services/4371ebda-05a7-476c-94b0-ad469cac6050/partitions/956fe9b9-2442-4c47-9a96-0f2bfa3008ae/replicas/132624105698104600s, LSN: 7, GlobalCommittedLsn: 7, PartitionKeyRangeId: , IsValid: True, StatusCode: 404, SubStatusCode: 1003, RequestCharge: 1, ItemLSN: -1, SessionToken: -1#7, UsingLocalLSN: False, TransportException: null, ResourceType: Collection, @@ -454,7 +440,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:44 GMT + - Fri, 09 Apr 2021 03:51:53 GMT pragma: - no-cache server: @@ -482,14 +468,11 @@ interactions: Content-Length: - '70' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: @@ -497,7 +480,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4035c197-2352-4105-9959-8600aac56d67?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0a74c2a1-741f-4c1f-bf2a-d1f839fe4607?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -505,9 +488,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:51:54 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002/operationResults/4035c197-2352-4105-9959-8600aac56d67?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002/operationResults/0a74c2a1-741f-4c1f-bf2a-d1f839fe4607?api-version=2021-03-15 pragma: - no-cache server: @@ -519,7 +502,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1186' status: code: 202 message: Accepted @@ -527,7 +510,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -537,10 +520,9 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4035c197-2352-4105-9959-8600aac56d67?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0a74c2a1-741f-4c1f-bf2a-d1f839fe4607?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -552,7 +534,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:52:24 GMT pragma: - no-cache server: @@ -574,7 +556,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -584,13 +566,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"ROs9ANm1pyo=","_etag":"\"00000000-0000-0000-2b95-97b5280701d7\"","_ts":1617789952}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"15VcALXmZtU=","_etag":"\"00000000-0000-0000-2cf3-b2bff40701d7\"","_ts":1617940321}}}' headers: cache-control: - no-store, no-cache @@ -599,7 +580,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:52:24 GMT pragma: - no-cache server: @@ -631,15 +612,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"ROs9ANm1pyo=","_etag":"\"00000000-0000-0000-2b95-97b5280701d7\"","_ts":1617789952}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"15VcALXmZtU=","_etag":"\"00000000-0000-0000-2cf3-b2bff40701d7\"","_ts":1617940321}}}' headers: cache-control: - no-store, no-cache @@ -648,7 +626,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:52:27 GMT pragma: - no-cache server: @@ -680,15 +658,12 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables?api-version=2021-03-15 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"ROs9ANm1pyo=","_etag":"\"00000000-0000-0000-2b95-97b5280701d7\"","_ts":1617789952}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"15VcALXmZtU=","_etag":"\"00000000-0000-0000-2cf3-b2bff40701d7\"","_ts":1617940321}}}]}' headers: cache-control: - no-store, no-cache @@ -697,7 +672,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:17 GMT + - Fri, 09 Apr 2021 03:52:28 GMT pragma: - no-cache server: @@ -729,15 +704,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"ROs9ANm1pyo=","_etag":"\"00000000-0000-0000-2b95-97b5280701d7\"","_ts":1617789952}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000002","properties":{"resource":{"id":"cli000002","_rid":"15VcALXmZtU=","_etag":"\"00000000-0000-0000-2cf3-b2bff40701d7\"","_ts":1617940321}}}' headers: cache-control: - no-store, no-cache @@ -746,7 +718,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:17 GMT + - Fri, 09 Apr 2021 03:52:29 GMT pragma: - no-cache server: @@ -768,7 +740,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -780,10 +752,7 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002?api-version=2021-03-15 response: @@ -791,7 +760,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/67ed3f15-ab9c-4d30-b68b-b041f163a366?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2e1242f4-307f-4ea1-add1-c9506d7bd36c?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -799,9 +768,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:18 GMT + - Fri, 09 Apr 2021 03:52:31 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002/operationResults/67ed3f15-ab9c-4d30-b68b-b041f163a366?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables/cli000002/operationResults/2e1242f4-307f-4ea1-add1-c9506d7bd36c?api-version=2021-03-15 pragma: - no-cache server: @@ -813,7 +782,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted @@ -821,7 +790,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -831,10 +800,9 @@ interactions: ParameterSetName: - -g -a -n --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/67ed3f15-ab9c-4d30-b68b-b041f163a366?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2e1242f4-307f-4ea1-add1-c9506d7bd36c?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -846,7 +814,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:48 GMT + - Fri, 09 Apr 2021 03:53:01 GMT pragma: - no-cache server: @@ -878,10 +846,7 @@ interactions: ParameterSetName: - -g -a User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/tables?api-version=2021-03-15 response: @@ -895,7 +860,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:48 GMT + - Fri, 09 Apr 2021 03:53:02 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput.yaml index e91c2cda67a..53e228ff117 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_table_resource_throughput000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001","name":"cli_test_cosmosdb_table_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:06:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001","name":"cli_test_cosmosdb_table_resource_throughput000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:49:35Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:06:48 GMT + - Fri, 09 Apr 2021 03:49:36 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '262' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:52.0463672Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"86416a1c-83ce-4f80-89e9-dd6d7b7630e7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:49:43.1112902Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8c8d621e-1f9c-4f5a-a7f5-c92553288c53","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableTable"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f88db8e-7cf3-4282-b250-90c9b8fecdf3?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:53 GMT + - Fri, 09 Apr 2021 03:49:45 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/9f88db8e-7cf3-4282-b250-90c9b8fecdf3?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1178' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f88db8e-7cf3-4282-b250-90c9b8fecdf3?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:23 GMT + - Fri, 09 Apr 2021 03:50:16 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f88db8e-7cf3-4282-b250-90c9b8fecdf3?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:54 GMT + - Fri, 09 Apr 2021 03:50:46 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,57 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:08:24 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --capabilities - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0cebb45a-3368-4296-a0be-04fd255ccd42?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9f88db8e-7cf3-4282-b250-90c9b8fecdf3?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:53 GMT + - Fri, 09 Apr 2021 03:51:17 GMT pragma: - no-cache server: @@ -304,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +261,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:13.6147298Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"86416a1c-83ce-4f80-89e9-dd6d7b7630e7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:08.9844688Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8c8d621e-1f9c-4f5a-a7f5-c92553288c53","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,7 +281,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:53 GMT + - Fri, 09 Apr 2021 03:51:17 GMT pragma: - no-cache server: @@ -367,17 +313,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:13.6147298Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"86416a1c-83ce-4f80-89e9-dd6d7b7630e7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:51:08.9844688Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"8c8d621e-1f9c-4f5a-a7f5-c92553288c53","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -390,7 +333,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:55 GMT + - Fri, 09 Apr 2021 03:51:18 GMT pragma: - no-cache server: @@ -423,14 +366,11 @@ interactions: Content-Length: - '88' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003?api-version=2021-03-15 response: @@ -438,7 +378,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1fc5bc7f-cc77-4637-8470-e51462a38562?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4ddf7c29-69ff-4ca4-ba5a-be2a28f91f7c?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -446,9 +386,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:55 GMT + - Fri, 09 Apr 2021 03:51:19 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/operationResults/1fc5bc7f-cc77-4637-8470-e51462a38562?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/operationResults/4ddf7c29-69ff-4ca4-ba5a-be2a28f91f7c?api-version=2021-03-15 pragma: - no-cache server: @@ -460,7 +400,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1188' status: code: 202 message: Accepted @@ -468,7 +408,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -478,10 +418,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/1fc5bc7f-cc77-4637-8470-e51462a38562?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4ddf7c29-69ff-4ca4-ba5a-be2a28f91f7c?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -493,7 +432,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:25 GMT + - Fri, 09 Apr 2021 03:51:49 GMT pragma: - no-cache server: @@ -515,7 +454,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -525,13 +464,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"v4sSAJe07e4=","_etag":"\"00000000-0000-0000-2b96-09c6100701d7\"","_ts":1617790143}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"dO0EAOtCHCk=","_etag":"\"00000000-0000-0000-2cf3-9eb3dc0701d7\"","_ts":1617940288}}}' headers: cache-control: - no-store, no-cache @@ -540,7 +478,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:26 GMT + - Fri, 09 Apr 2021 03:51:49 GMT pragma: - no-cache server: @@ -572,15 +510,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"iuBj","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"oaW3","properties":{"resource":{"throughput":1000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -589,7 +524,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:27 GMT + - Fri, 09 Apr 2021 03:51:51 GMT pragma: - no-cache server: @@ -621,14 +556,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -636,7 +568,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ee8b1c0a-051c-4cc0-96ac-97c2391f408a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/23b24942-e2a7-43ca-b689-7e5fe1a56cc8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -644,9 +576,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:28 GMT + - Fri, 09 Apr 2021 03:51:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/operationResults/ee8b1c0a-051c-4cc0-96ac-97c2391f408a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/operationResults/23b24942-e2a7-43ca-b689-7e5fe1a56cc8?api-version=2021-03-15 pragma: - no-cache server: @@ -658,7 +590,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1177' status: code: 202 message: Accepted @@ -666,7 +598,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -676,10 +608,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ee8b1c0a-051c-4cc0-96ac-97c2391f408a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/23b24942-e2a7-43ca-b689-7e5fe1a56cc8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -691,7 +622,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:58 GMT + - Fri, 09 Apr 2021 03:52:22 GMT pragma: - no-cache server: @@ -713,7 +644,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -723,13 +654,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"iuBj","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"oaW3","properties":{"resource":{"throughput":2000,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -738,7 +668,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:58 GMT + - Fri, 09 Apr 2021 03:52:22 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput_autoscale.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput_autoscale.yaml index f4a49aa415b..86872663384 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput_autoscale.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_table_resource_throughput_autoscale.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_table_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001","name":"cli_test_cosmosdb_table_resource_throughput_autoscale000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:52:14Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:45 GMT + - Fri, 09 Apr 2021 03:52:16 GMT expires: - '-1' pragma: @@ -61,28 +61,25 @@ interactions: Content-Length: - '262' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:49.3730501Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ff2bb75e-6878-408d-925b-4ce7c0195544","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:52:20.4748931Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"00385114-6109-4334-9a2a-b3228c1f23f3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableTable"}],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:51 GMT + - Fri, 09 Apr 2021 03:52:22 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1176' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:21 GMT + - Fri, 09 Apr 2021 03:52:53 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:51 GMT + - Fri, 09 Apr 2021 03:53:23 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +215,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -235,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:21 GMT + - Fri, 09 Apr 2021 03:53:54 GMT pragma: - no-cache server: @@ -257,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,10 +261,9 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/969e2756-3265-424c-be94-7e90e8c32b8a?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ce0a51e7-ace6-4ff9-8d1b-0e5046b25a91?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -282,7 +275,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:52 GMT + - Fri, 09 Apr 2021 03:54:24 GMT pragma: - no-cache server: @@ -304,7 +297,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,15 +307,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:09.0578496Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ff2bb75e-6878-408d-925b-4ce7c0195544","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:43.1901251Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"00385114-6109-4334-9a2a-b3228c1f23f3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,7 +327,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:52 GMT + - Fri, 09 Apr 2021 03:54:24 GMT pragma: - no-cache server: @@ -367,17 +359,14 @@ interactions: ParameterSetName: - -n -g --capabilities User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:09.0578496Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, - Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ff2bb75e-6878-408d-925b-4ce7c0195544","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:43.1901251Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","tableEndpoint":"https://cli000002.table.cosmos.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Table, + Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"00385114-6109-4334-9a2a-b3228c1f23f3","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"BoundedStaleness","maxIntervalInSeconds":86400,"maxStalenessPrefix":1000000},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -390,7 +379,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:52 GMT + - Fri, 09 Apr 2021 03:54:25 GMT pragma: - no-cache server: @@ -423,14 +412,11 @@ interactions: Content-Length: - '87' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003?api-version=2021-03-15 response: @@ -438,7 +424,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d768890e-a0a2-49d8-b939-66c983ffbeb1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e3a3a0c4-992a-4a33-9d50-6a2d7ceb833f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -446,9 +432,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:52 GMT + - Fri, 09 Apr 2021 03:54:26 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/operationResults/d768890e-a0a2-49d8-b939-66c983ffbeb1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/operationResults/e3a3a0c4-992a-4a33-9d50-6a2d7ceb833f?api-version=2021-03-15 pragma: - no-cache server: @@ -460,7 +446,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1183' status: code: 202 message: Accepted @@ -468,7 +454,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -478,10 +464,9 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d768890e-a0a2-49d8-b939-66c983ffbeb1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e3a3a0c4-992a-4a33-9d50-6a2d7ceb833f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -493,7 +478,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:23 GMT + - Fri, 09 Apr 2021 03:54:56 GMT pragma: - no-cache server: @@ -515,7 +500,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -525,13 +510,12 @@ interactions: ParameterSetName: - -g -a -n --throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"FgwlAIg4oYU=","_etag":"\"00000000-0000-0000-2b95-e465ec0701d7\"","_ts":1617790081}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003","type":"Microsoft.DocumentDB/databaseAccounts/tables","name":"cli000003","properties":{"resource":{"id":"cli000003","_rid":"SbJ5APYWHAs=","_etag":"\"00000000-0000-0000-2cf4-0df0440701d7\"","_ts":1617940474}}}' headers: cache-control: - no-store, no-cache @@ -540,7 +524,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:23 GMT + - Fri, 09 Apr 2021 03:54:56 GMT pragma: - no-cache server: @@ -572,15 +556,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"CehB","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"8RjX","properties":{"resource":{"throughput":800,"minimumThroughput":"400"}}}' headers: cache-control: - no-store, no-cache @@ -589,7 +570,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:24 GMT + - Fri, 09 Apr 2021 03:54:59 GMT pragma: - no-cache server: @@ -623,10 +604,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToAutoscale?api-version=2021-03-15 response: @@ -634,7 +612,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/56784b1d-a3ba-4b49-8ec0-70ecfa8a1cbb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c1a7267-7777-442c-a7cd-13546ef6e618?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -642,9 +620,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:25 GMT + - Fri, 09 Apr 2021 03:55:00 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/56784b1d-a3ba-4b49-8ec0-70ecfa8a1cbb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/4c1a7267-7777-442c-a7cd-13546ef6e618?api-version=2021-03-15 pragma: - no-cache server: @@ -656,7 +634,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 202 message: Accepted @@ -664,7 +642,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -674,10 +652,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/56784b1d-a3ba-4b49-8ec0-70ecfa8a1cbb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c1a7267-7777-442c-a7cd-13546ef6e618?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -689,7 +666,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:55 GMT + - Fri, 09 Apr 2021 03:55:30 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb table throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToAutoscale/operationResults/4c1a7267-7777-442c-a7cd-13546ef6e618?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToAutoscale","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToAutoscale","name":"8RjX","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '505' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:55:31 GMT pragma: - no-cache server: @@ -721,15 +744,12 @@ interactions: ParameterSetName: - -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"CehB","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"8RjX","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":4000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -738,7 +758,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:56 GMT + - Fri, 09 Apr 2021 03:55:32 GMT pragma: - no-cache server: @@ -770,14 +790,11 @@ interactions: Content-Length: - '76' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: @@ -785,7 +802,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9b3c2e1-9ae4-4bba-888c-6e6152a78b26?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e4f118e6-7ad4-42e2-8038-2404890d48f6?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -793,9 +810,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:57 GMT + - Fri, 09 Apr 2021 03:55:34 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/operationResults/e9b3c2e1-9ae4-4bba-888c-6e6152a78b26?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/operationResults/e4f118e6-7ad4-42e2-8038-2404890d48f6?api-version=2021-03-15 pragma: - no-cache server: @@ -807,7 +824,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1180' status: code: 202 message: Accepted @@ -815,7 +832,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -825,10 +842,9 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e9b3c2e1-9ae4-4bba-888c-6e6152a78b26?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e4f118e6-7ad4-42e2-8038-2404890d48f6?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -840,7 +856,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:28 GMT + - Fri, 09 Apr 2021 03:56:04 GMT pragma: - no-cache server: @@ -862,7 +878,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -872,13 +888,12 @@ interactions: ParameterSetName: - -g -a -n --max-throughput User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default?api-version=2021-03-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"CehB","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings","name":"8RjX","properties":{"resource":{"throughput":400,"autoscaleSettings":{"maxThroughput":8000},"minimumThroughput":"4000"}}}' headers: cache-control: - no-store, no-cache @@ -887,7 +902,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:28 GMT + - Fri, 09 Apr 2021 03:56:04 GMT pragma: - no-cache server: @@ -921,10 +936,7 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToManualThroughput?api-version=2021-03-15 response: @@ -932,7 +944,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0211c7b6-1fbf-469a-8db2-52ecd760d445?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c709c2c-f4f6-4cbe-83b9-1ad2f38df5f8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -940,9 +952,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:29 GMT + - Fri, 09 Apr 2021 03:56:06 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/0211c7b6-1fbf-469a-8db2-52ecd760d445?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/0c709c2c-f4f6-4cbe-83b9-1ad2f38df5f8?api-version=2021-03-15 pragma: - no-cache server: @@ -954,7 +966,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -962,7 +974,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -972,10 +984,9 @@ interactions: ParameterSetName: - --throughput-type -g -a -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0211c7b6-1fbf-469a-8db2-52ecd760d445?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c709c2c-f4f6-4cbe-83b9-1ad2f38df5f8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -987,7 +998,53 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:59 GMT + - Fri, 09 Apr 2021 03:56:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb table throughput migrate + Connection: + - keep-alive + ParameterSetName: + - --throughput-type -g -a -n + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToManualThroughput/operationResults/0c709c2c-f4f6-4cbe-83b9-1ad2f38df5f8?api-version=2021-03-15 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_table_resource_throughput_autoscale000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/tables/cli000003/throughputSettings/default/migrateToManualThroughput","type":"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToManualThroughput","name":"8RjX","properties":{"resource":{"throughput":8000,"minimumThroughput":"400"}}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '476' + content-type: + - application/json + date: + - Fri, 09 Apr 2021 03:56:37 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_create_database_account.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_create_database_account.yaml index 664e532d5c5..65364590fd0 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_create_database_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_create_database_account.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:02:15Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:52:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:02:15 GMT + - Fri, 09 Apr 2021 03:52:26 GMT expires: - '-1' pragma: @@ -65,28 +65,25 @@ interactions: Content-Length: - '680' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:02:18.5298584Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:52:32.7411096Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":480,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2c29782-bfbe-46f2-befc-97253a41dd66?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49eada8c-d5a3-44d6-87e0-1c53aa5aa722?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -94,9 +91,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:19 GMT + - Fri, 09 Apr 2021 03:52:35 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/a2c29782-bfbe-46f2-befc-97253a41dd66?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/49eada8c-d5a3-44d6-87e0-1c53aa5aa722?api-version=2021-03-15 pragma: - no-cache server: @@ -112,7 +109,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1183' status: code: 200 message: Ok @@ -120,7 +117,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -131,10 +128,9 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2c29782-bfbe-46f2-befc-97253a41dd66?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49eada8c-d5a3-44d6-87e0-1c53aa5aa722?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -146,7 +142,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:02:50 GMT + - Fri, 09 Apr 2021 03:53:05 GMT pragma: - no-cache server: @@ -168,7 +164,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -179,10 +175,9 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2c29782-bfbe-46f2-befc-97253a41dd66?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49eada8c-d5a3-44d6-87e0-1c53aa5aa722?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -194,7 +189,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:20 GMT + - Fri, 09 Apr 2021 03:53:35 GMT pragma: - no-cache server: @@ -216,7 +211,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -227,10 +222,9 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2c29782-bfbe-46f2-befc-97253a41dd66?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/49eada8c-d5a3-44d6-87e0-1c53aa5aa722?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -242,7 +236,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:50 GMT + - Fri, 09 Apr 2021 03:54:06 GMT pragma: - no-cache server: @@ -264,7 +258,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -275,14 +269,13 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -291,11 +284,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2560' + - '2559' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:50 GMT + - Fri, 09 Apr 2021 03:54:07 GMT pragma: - no-cache server: @@ -328,16 +321,13 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --network-acl-bypass --network-acl-bypass-resource-ids --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -346,11 +336,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2560' + - '2559' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:50 GMT + - Fri, 09 Apr 2021 03:54:07 GMT pragma: - no-cache server: @@ -382,16 +372,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -400,11 +387,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2560' + - '2559' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:51 GMT + - Fri, 09 Apr 2021 03:54:07 GMT pragma: - no-cache server: @@ -437,16 +424,13 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --disable-key-based-metadata-write-access --enable-public-network --network-acl-bypass User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -455,11 +439,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2560' + - '2559' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:51 GMT + - Fri, 09 Apr 2021 03:54:08 GMT pragma: - no-cache server: @@ -494,38 +478,35 @@ interactions: Content-Length: - '293' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-automatic-failover --default-consistency-level --disable-key-based-metadata-write-access --enable-public-network --network-acl-bypass User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":true,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"AzureServices","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":480,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b4a4787d-7f3a-40ec-9563-31251d8038c3?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/708c2b1e-e281-4e65-bff9-2ca14e6b0031?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '2556' + - '2555' content-type: - application/json date: - - Wed, 07 Apr 2021 10:03:54 GMT + - Fri, 09 Apr 2021 03:54:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/b4a4787d-7f3a-40ec-9563-31251d8038c3?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/708c2b1e-e281-4e65-bff9-2ca14e6b0031?api-version=2021-03-15 pragma: - no-cache server: @@ -541,7 +522,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1188' status: code: 200 message: Ok @@ -549,7 +530,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -560,10 +541,9 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --disable-key-based-metadata-write-access --enable-public-network --network-acl-bypass User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b4a4787d-7f3a-40ec-9563-31251d8038c3?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/708c2b1e-e281-4e65-bff9-2ca14e6b0031?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -575,7 +555,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:24 GMT + - Fri, 09 Apr 2021 03:54:42 GMT pragma: - no-cache server: @@ -597,7 +577,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -608,14 +588,13 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --disable-key-based-metadata-write-access --enable-public-network --network-acl-bypass User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -624,11 +603,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:24 GMT + - Fri, 09 Apr 2021 03:54:43 GMT pragma: - no-cache server: @@ -661,16 +640,13 @@ interactions: - -n -g --enable-automatic-failover --default-consistency-level --disable-key-based-metadata-write-access --enable-public-network --network-acl-bypass User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -679,11 +655,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:24 GMT + - Fri, 09 Apr 2021 03:54:43 GMT pragma: - no-cache server: @@ -715,16 +691,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -733,11 +706,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:24 GMT + - Fri, 09 Apr 2021 03:54:44 GMT pragma: - no-cache server: @@ -769,16 +742,13 @@ interactions: ParameterSetName: - -n -g --tags --enable-public-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -787,11 +757,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:24 GMT + - Fri, 09 Apr 2021 03:54:44 GMT pragma: - no-cache server: @@ -824,37 +794,34 @@ interactions: Content-Length: - '105' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --tags --enable-public-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Disabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":480,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/85f726de-9b56-4c77-a7b0-655e1e588906?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6097c1ae-377d-40f5-a93d-62ce0ccd660e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: - - '2442' + - '2441' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:28 GMT + - Fri, 09 Apr 2021 03:54:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/85f726de-9b56-4c77-a7b0-655e1e588906?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/6097c1ae-377d-40f5-a93d-62ce0ccd660e?api-version=2021-03-15 pragma: - no-cache server: @@ -870,7 +837,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1174' status: code: 200 message: Ok @@ -878,7 +845,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -888,10 +855,9 @@ interactions: ParameterSetName: - -n -g --tags --enable-public-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/85f726de-9b56-4c77-a7b0-655e1e588906?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6097c1ae-377d-40f5-a93d-62ce0ccd660e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -903,7 +869,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:58 GMT + - Fri, 09 Apr 2021 03:55:20 GMT pragma: - no-cache server: @@ -925,7 +891,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -935,14 +901,13 @@ interactions: ParameterSetName: - -n -g --tags --enable-public-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -951,11 +916,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2466' + - '2465' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:58 GMT + - Fri, 09 Apr 2021 03:55:20 GMT pragma: - no-cache server: @@ -987,16 +952,13 @@ interactions: ParameterSetName: - -n -g --tags --enable-public-network User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1005,11 +967,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2466' + - '2465' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:58 GMT + - Fri, 09 Apr 2021 03:55:20 GMT pragma: - no-cache server: @@ -1041,16 +1003,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-07T10:03:10.7058345Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9da4f5d5-ab97-4cd2-9c0b-ef93ac6848c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{"testKey":"testValue"},"systemData":{"createdAt":"2021-04-09T03:53:27.608778Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":true,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"9058efd6-2dff-4b04-9541-979b89236dba","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1059,11 +1018,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2466' + - '2465' content-type: - application/json date: - - Wed, 07 Apr 2021 10:04:59 GMT + - Fri, 09 Apr 2021 03:55:21 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_delete_database_account.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_delete_database_account.yaml index d4432394f3c..b222eba86de 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_delete_database_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_delete_database_account.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:07:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:55:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:55:29 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:25.9731995Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"467d8d74-01a4-44e9-af2f-19ae96fa6ef7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0035414Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f450a216-444d-4a73-8a0f-54dbc883e1a2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a64557c-10d5-4f8d-bc91-e06422041243?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/557e597d-8ff9-4bbb-934c-f2e58aa9e00c?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:28 GMT + - Fri, 09 Apr 2021 03:55:37 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/8a64557c-10d5-4f8d-bc91-e06422041243?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/557e597d-8ff9-4bbb-934c-f2e58aa9e00c?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1179' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a64557c-10d5-4f8d-bc91-e06422041243?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/557e597d-8ff9-4bbb-934c-f2e58aa9e00c?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:58 GMT + - Fri, 09 Apr 2021 03:56:08 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a64557c-10d5-4f8d-bc91-e06422041243?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/557e597d-8ff9-4bbb-934c-f2e58aa9e00c?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:28 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a64557c-10d5-4f8d-bc91-e06422041243?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/557e597d-8ff9-4bbb-934c-f2e58aa9e00c?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:57:09 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:22.0198571Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"467d8d74-01a4-44e9-af2f-19ae96fa6ef7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:30.8731985Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f450a216-444d-4a73-8a0f-54dbc883e1a2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:57:09 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:22.0198571Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"467d8d74-01a4-44e9-af2f-19ae96fa6ef7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:30.8731985Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"f450a216-444d-4a73-8a0f-54dbc883e1a2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:57:10 GMT pragma: - no-cache server: @@ -361,7 +351,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -373,10 +363,7 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: @@ -384,7 +371,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -392,9 +379,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:59 GMT + - Fri, 09 Apr 2021 03:57:11 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 pragma: - no-cache server: @@ -406,7 +393,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14993' status: code: 202 message: Accepted @@ -414,7 +401,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -424,10 +411,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -439,7 +425,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:31 GMT + - Fri, 09 Apr 2021 03:57:42 GMT pragma: - no-cache server: @@ -461,7 +447,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -471,10 +457,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -486,7 +471,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:00 GMT + - Fri, 09 Apr 2021 03:58:13 GMT pragma: - no-cache server: @@ -508,7 +493,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -518,10 +503,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -533,7 +517,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:31 GMT + - Fri, 09 Apr 2021 03:58:43 GMT pragma: - no-cache server: @@ -555,7 +539,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -565,10 +549,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -580,7 +563,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:11:00 GMT + - Fri, 09 Apr 2021 03:59:14 GMT pragma: - no-cache server: @@ -602,7 +585,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -612,10 +595,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -627,7 +609,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:11:31 GMT + - Fri, 09 Apr 2021 03:59:44 GMT pragma: - no-cache server: @@ -649,7 +631,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -659,10 +641,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -674,7 +655,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:12:01 GMT + - Fri, 09 Apr 2021 04:00:14 GMT pragma: - no-cache server: @@ -696,7 +677,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -706,10 +687,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -721,7 +701,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:12:32 GMT + - Fri, 09 Apr 2021 04:00:45 GMT pragma: - no-cache server: @@ -743,7 +723,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -753,10 +733,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -768,7 +747,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:13:01 GMT + - Fri, 09 Apr 2021 04:01:15 GMT pragma: - no-cache server: @@ -790,7 +769,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -800,10 +779,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -815,7 +793,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:13:31 GMT + - Fri, 09 Apr 2021 04:01:45 GMT pragma: - no-cache server: @@ -837,7 +815,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -847,10 +825,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -862,7 +839,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:14:02 GMT + - Fri, 09 Apr 2021 04:02:16 GMT pragma: - no-cache server: @@ -884,7 +861,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -894,10 +871,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -909,7 +885,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:14:32 GMT + - Fri, 09 Apr 2021 04:02:47 GMT pragma: - no-cache server: @@ -931,7 +907,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -941,10 +917,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -956,7 +931,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:02 GMT + - Fri, 09 Apr 2021 04:03:17 GMT pragma: - no-cache server: @@ -978,7 +953,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -988,10 +963,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1003,7 +977,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:15:33 GMT + - Fri, 09 Apr 2021 04:03:48 GMT pragma: - no-cache server: @@ -1025,7 +999,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1035,10 +1009,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1050,7 +1023,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:02 GMT + - Fri, 09 Apr 2021 04:04:19 GMT pragma: - no-cache server: @@ -1072,7 +1045,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1082,10 +1055,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1097,7 +1069,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:16:32 GMT + - Fri, 09 Apr 2021 04:04:49 GMT pragma: - no-cache server: @@ -1119,7 +1091,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1129,10 +1101,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -1144,7 +1115,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:02 GMT + - Fri, 09 Apr 2021 04:05:19 GMT pragma: - no-cache server: @@ -1166,7 +1137,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1176,10 +1147,9 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/35e1f275-730c-465e-9a5d-9edb92d704fb?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ed1edf1e-dca0-4596-ac7d-4992e09b0c84?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1191,7 +1161,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:17:33 GMT + - Fri, 09 Apr 2021 04:05:50 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_enable_multiple_write_locations.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_enable_multiple_write_locations.yaml index fcde9aaebe1..d759109d3ff 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_enable_multiple_write_locations.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_enable_multiple_write_locations.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:52:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:48 GMT + - Fri, 09 Apr 2021 03:52:30 GMT expires: - '-1' pragma: @@ -62,27 +62,24 @@ interactions: Content-Length: - '381' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:51.8658872Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"923e3885-fa4a-41b5-9abf-0aee61a9a2a8","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:52:36.2010568Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1245a704-2948-4a34-9e4e-d92c734bb0cb","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c901d038-6a97-49f1-a140-4378858a3b9e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/645e6f18-12ec-4c86-ac1f-a5abe1cc6ee8?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -90,9 +87,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:53 GMT + - Fri, 09 Apr 2021 03:52:38 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/c901d038-6a97-49f1-a140-4378858a3b9e?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/645e6f18-12ec-4c86-ac1f-a5abe1cc6ee8?api-version=2021-03-15 pragma: - no-cache server: @@ -108,7 +105,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1184' + - '1180' status: code: 200 message: Ok @@ -116,7 +113,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -126,10 +123,9 @@ interactions: ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c901d038-6a97-49f1-a140-4378858a3b9e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/645e6f18-12ec-4c86-ac1f-a5abe1cc6ee8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -141,7 +137,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:23 GMT + - Fri, 09 Apr 2021 03:53:08 GMT pragma: - no-cache server: @@ -163,7 +159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -173,10 +169,9 @@ interactions: ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c901d038-6a97-49f1-a140-4378858a3b9e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/645e6f18-12ec-4c86-ac1f-a5abe1cc6ee8?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -188,7 +183,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:53 GMT + - Fri, 09 Apr 2021 03:53:39 GMT pragma: - no-cache server: @@ -210,7 +205,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -220,10 +215,9 @@ interactions: ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c901d038-6a97-49f1-a140-4378858a3b9e?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/645e6f18-12ec-4c86-ac1f-a5abe1cc6ee8?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -235,7 +229,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:23 GMT + - Fri, 09 Apr 2021 03:54:10 GMT pragma: - no-cache server: @@ -257,7 +251,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -267,14 +261,13 @@ interactions: ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:43.5572013Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"923e3885-fa4a-41b5-9abf-0aee61a9a2a8","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:29.2967537Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1245a704-2948-4a34-9e4e-d92c734bb0cb","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -287,7 +280,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:23 GMT + - Fri, 09 Apr 2021 03:54:10 GMT pragma: - no-cache server: @@ -319,16 +312,13 @@ interactions: ParameterSetName: - -n -g --enable-multiple-write-locations --default-consistency-level User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:43.5572013Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"923e3885-fa4a-41b5-9abf-0aee61a9a2a8","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:29.2967537Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1245a704-2948-4a34-9e4e-d92c734bb0cb","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -341,7 +331,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:23 GMT + - Fri, 09 Apr 2021 03:54:10 GMT pragma: - no-cache server: @@ -373,16 +363,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:43.5572013Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"923e3885-fa4a-41b5-9abf-0aee61a9a2a8","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:29.2967537Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":true,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"1245a704-2948-4a34-9e4e-d92c734bb0cb","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"ConsistentPrefix","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -395,7 +382,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:24 GMT + - Fri, 09 Apr 2021 03:54:11 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_keys_database_account.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_keys_database_account.yaml index 18e5109cda9..725d4602fe4 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_keys_database_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_keys_database_account.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:06:18Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:53:06Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:06:18 GMT + - Fri, 09 Apr 2021 03:53:08 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:21.1619159Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ddfbaff4-2252-4d10-bc6d-04f0d9cbead6","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:53:14.3537752Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"986ba447-df92-4723-ab94-bcc0d96306c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2df3c2e-82b7-4ead-9e3d-e109a918b178?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/13f8f21b-51c6-4ea0-9b12-098b882de579?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:23 GMT + - Fri, 09 Apr 2021 03:53:16 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/a2df3c2e-82b7-4ead-9e3d-e109a918b178?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/13f8f21b-51c6-4ea0-9b12-098b882de579?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1183' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2df3c2e-82b7-4ead-9e3d-e109a918b178?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/13f8f21b-51c6-4ea0-9b12-098b882de579?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:53 GMT + - Fri, 09 Apr 2021 03:53:48 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2df3c2e-82b7-4ead-9e3d-e109a918b178?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/13f8f21b-51c6-4ea0-9b12-098b882de579?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:24 GMT + - Fri, 09 Apr 2021 03:54:18 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a2df3c2e-82b7-4ead-9e3d-e109a918b178?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/13f8f21b-51c6-4ea0-9b12-098b882de579?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:53 GMT + - Fri, 09 Apr 2021 03:54:48 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:12.9721872Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ddfbaff4-2252-4d10-bc6d-04f0d9cbead6","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:54:09.359123Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"986ba447-df92-4723-ab94-bcc0d96306c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -281,11 +274,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:53 GMT + - Fri, 09 Apr 2021 03:54:48 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:12.9721872Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"ddfbaff4-2252-4d10-bc6d-04f0d9cbead6","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:54:09.359123Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"986ba447-df92-4723-ab94-bcc0d96306c5","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,11 +325,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:54 GMT + - Fri, 09 Apr 2021 03:54:49 GMT pragma: - no-cache server: @@ -373,15 +363,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"LfVp9mbeltg2h2z3xgPurItTjd5srwVrTV5ifuHmZ7ASBpxPNHoHHtkJaZQ60cKxwFQxDgssyDKa6TeIu6E8dA==","secondaryMasterKey":"VHtHMKnbAPmoqXpmNrmltxDYSj3ubg6qiSWZ3HChApAyjLiZ8TdzLJXXCGHM7fe6cc7AN0Iu3yO5qZIptDcLOQ==","primaryReadonlyMasterKey":"3IfsZFNlzDnYg7pB0UsXbXoclTOrr93sSPAgp414ciDp7hCjBEIb3b6KT4loxIIGIEweoFxIxG4D7vSwRe5Opg==","secondaryReadonlyMasterKey":"LQP2YKz2qby0zGYAsacIvB9rvJil6GrO8xXNaVcJFaXTItTmTL53NJ3tEndZTXU7K82X40aRafEXIyke9SGVdQ=="}' + string: '{"primaryMasterKey":"Z4JstMdtm46wUDusyvtzA8aSVvofSMcoiKcxWanELGk4VMw59IBEDh58FG2fzxdEemlWKPDBifLVGKetvscU4w==","secondaryMasterKey":"VP919u1EP6RprVftDD1yZAFE8D9AyNvzhPeJaBYyASjIZkG61JoXd7UBCHOjcBJ02jaBGTJrAqRU6UO7g272RQ==","primaryReadonlyMasterKey":"5h8E2z3RtY9GFbpymnQ1amC19IMuGPVLTpWXIctQ8EcxyLe6rqfMrlJKJi85rygmwkoMhQavZLpExiQm935Ozg==","secondaryReadonlyMasterKey":"GqQM83faVofvYGhIzLiOBbBIlMmeoB17NCUfyXjeYsqukwWiL6j1FPHNzqUy4YhGeCs6GlMlxde9NlvjC3a4GQ=="}' headers: cache-control: - no-store, no-cache @@ -390,7 +377,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:54 GMT + - Fri, 09 Apr 2021 03:54:50 GMT pragma: - no-cache server: @@ -406,7 +393,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -414,7 +401,7 @@ interactions: body: '{"keyKind": "primary"}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -424,14 +411,11 @@ interactions: Content-Length: - '22' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey?api-version=2021-03-15 response: @@ -439,7 +423,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e1a7d9e1-4335-48b8-a493-5bf8ebf052fd?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f751280a-f6d8-4a38-855b-8c155ec179c5?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -447,9 +431,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:55 GMT + - Fri, 09 Apr 2021 03:54:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/e1a7d9e1-4335-48b8-a493-5bf8ebf052fd?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/f751280a-f6d8-4a38-855b-8c155ec179c5?api-version=2021-03-15 pragma: - no-cache server: @@ -469,7 +453,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb keys regenerate + Connection: + - keep-alive + ParameterSetName: + - -n -g --key-kind + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f751280a-f6d8-4a38-855b-8c155ec179c5?api-version=2021-03-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:55:23 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -479,10 +509,9 @@ interactions: ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e1a7d9e1-4335-48b8-a493-5bf8ebf052fd?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/f751280a-f6d8-4a38-855b-8c155ec179c5?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -494,7 +523,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:26 GMT + - Fri, 09 Apr 2021 03:55:23 GMT pragma: - no-cache server: @@ -516,7 +545,7 @@ interactions: body: '{"keyKind": "primaryReadonly"}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -526,14 +555,11 @@ interactions: Content-Length: - '30' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey?api-version=2021-03-15 response: @@ -541,7 +567,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a48961ce-aaeb-408d-a3fb-2d84f2b23247?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2ce1a87-86df-45a9-9166-cccc23554309?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -549,9 +575,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:27 GMT + - Fri, 09 Apr 2021 03:55:25 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/a48961ce-aaeb-408d-a3fb-2d84f2b23247?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/c2ce1a87-86df-45a9-9166-cccc23554309?api-version=2021-03-15 pragma: - no-cache server: @@ -563,7 +589,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -571,7 +597,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb keys regenerate + Connection: + - keep-alive + ParameterSetName: + - -n -g --key-kind + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c2ce1a87-86df-45a9-9166-cccc23554309?api-version=2021-03-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:55:55 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -581,10 +653,9 @@ interactions: ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a48961ce-aaeb-408d-a3fb-2d84f2b23247?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/c2ce1a87-86df-45a9-9166-cccc23554309?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -596,7 +667,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:55:55 GMT pragma: - no-cache server: @@ -618,7 +689,7 @@ interactions: body: '{"keyKind": "secondary"}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -628,14 +699,11 @@ interactions: Content-Length: - '24' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey?api-version=2021-03-15 response: @@ -643,7 +711,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da368240-c216-456f-b243-2655946e1577?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b132ec33-cfc8-4e89-b3fa-b79f7aa6cd98?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -651,9 +719,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:59 GMT + - Fri, 09 Apr 2021 03:55:57 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/da368240-c216-456f-b243-2655946e1577?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/b132ec33-cfc8-4e89-b3fa-b79f7aa6cd98?api-version=2021-03-15 pragma: - no-cache server: @@ -665,7 +733,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1192' status: code: 202 message: Accepted @@ -673,7 +741,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb keys regenerate + Connection: + - keep-alive + ParameterSetName: + - -n -g --key-kind + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b132ec33-cfc8-4e89-b3fa-b79f7aa6cd98?api-version=2021-03-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:56:28 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -683,10 +797,9 @@ interactions: ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da368240-c216-456f-b243-2655946e1577?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/b132ec33-cfc8-4e89-b3fa-b79f7aa6cd98?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -698,7 +811,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:30 GMT + - Fri, 09 Apr 2021 03:56:29 GMT pragma: - no-cache server: @@ -720,7 +833,7 @@ interactions: body: '{"keyKind": "secondaryReadonly"}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -730,14 +843,11 @@ interactions: Content-Length: - '32' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey?api-version=2021-03-15 response: @@ -745,7 +855,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c3340d0-19ce-43cf-ab0a-8bc8c93581f8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d3c107d9-dc9f-47cf-ba4d-cc44e56212e4?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -753,9 +863,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:32 GMT + - Fri, 09 Apr 2021 03:56:31 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/0c3340d0-19ce-43cf-ab0a-8bc8c93581f8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/d3c107d9-dc9f-47cf-ba4d-cc44e56212e4?api-version=2021-03-15 pragma: - no-cache server: @@ -767,7 +877,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 202 message: Accepted @@ -775,7 +885,53 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb keys regenerate + Connection: + - keep-alive + ParameterSetName: + - -n -g --key-kind + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d3c107d9-dc9f-47cf-ba4d-cc44e56212e4?api-version=2021-03-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: - application/json + date: + - Fri, 09 Apr 2021 03:57:01 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-gatewayversion: + - version=2.11.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -785,10 +941,9 @@ interactions: ParameterSetName: - -n -g --key-kind User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0c3340d0-19ce-43cf-ab0a-8bc8c93581f8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/regenerateKey/operationResults/d3c107d9-dc9f-47cf-ba4d-cc44e56212e4?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -800,7 +955,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:02 GMT + - Fri, 09 Apr 2021 03:57:01 GMT pragma: - no-cache server: @@ -834,15 +989,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"FYgsk68KWF5elLkhLaNRtm2tkku7Wx8wr9U9Y30yMrwU18zgdBAm6jpcf6CTJGuASMAyDdepfoCzkIvzGkWspQ==","secondaryMasterKey":"AUiGaZdvLvsMwHlUnQJSep3VaFm4opL8l30Ys84k80IbkdNHNXLPUcedL8DKfxqo6eoxvl0aMZR0FoPrfhhOqQ==","primaryReadonlyMasterKey":"3R2HKNDjjFfeyT1ZELJgmemvYPiVTZ6rx4jZYFZKnGEStbExIuosPzX2S8300qV5i4lMJwod3u93DYXBdsiobQ==","secondaryReadonlyMasterKey":"BTS626h7SLa6RFjpOh8B9Xtp9ARJdpAKNvcQs3V8rMScKwn3uB5NVdiYEEt19S187nZvbsHyocNiCEwP57vV2g=="}' + string: '{"primaryMasterKey":"Pnqx8bNzyyKBO5wP7A3ebVdFwEL2Ycv3uuavd20CxTJaEOIh7UpcfsaCkxZG7xTHuXnFQabdmiX8QOKev2C6dw==","secondaryMasterKey":"6ofXBBRfkqNGts4KbrZZPlnC2X6pwprKW0dCHRkvUGnqWlwCTueh6dPPtRZk6G029FR8e3pBnzr0zP8aUmpdJg==","primaryReadonlyMasterKey":"VvA035OxleBhonKP0DNOPZ20gPfPx0BRInud8OkPk07mX0Sm8VQfW3RRpObEjGiuGvTptmwamVEEIQvzaVrzYw==","secondaryReadonlyMasterKey":"20MRfnVcPWzJIQNszoRBAlrGAXZPYUnl6UXxUasU3WcUuHPcXbZu8ixiO4zobnmlBXFSKly7gekzteSw2YJOkw=="}' headers: cache-control: - no-store, no-cache @@ -851,7 +1003,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:02 GMT + - Fri, 09 Apr 2021 03:57:02 GMT pragma: - no-cache server: @@ -867,7 +1019,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1191' status: code: 200 message: Ok @@ -887,15 +1039,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/readonlykeys?api-version=2021-03-15 response: body: - string: '{"primaryReadonlyMasterKey":"3R2HKNDjjFfeyT1ZELJgmemvYPiVTZ6rx4jZYFZKnGEStbExIuosPzX2S8300qV5i4lMJwod3u93DYXBdsiobQ==","secondaryReadonlyMasterKey":"BTS626h7SLa6RFjpOh8B9Xtp9ARJdpAKNvcQs3V8rMScKwn3uB5NVdiYEEt19S187nZvbsHyocNiCEwP57vV2g=="}' + string: '{"primaryReadonlyMasterKey":"VvA035OxleBhonKP0DNOPZ20gPfPx0BRInud8OkPk07mX0Sm8VQfW3RRpObEjGiuGvTptmwamVEEIQvzaVrzYw==","secondaryReadonlyMasterKey":"20MRfnVcPWzJIQNszoRBAlrGAXZPYUnl6UXxUasU3WcUuHPcXbZu8ixiO4zobnmlBXFSKly7gekzteSw2YJOkw=="}' headers: cache-control: - no-store, no-cache @@ -904,7 +1053,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:03 GMT + - Fri, 09 Apr 2021 03:57:02 GMT pragma: - no-cache server: @@ -920,7 +1069,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: Ok @@ -940,15 +1089,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"FYgsk68KWF5elLkhLaNRtm2tkku7Wx8wr9U9Y30yMrwU18zgdBAm6jpcf6CTJGuASMAyDdepfoCzkIvzGkWspQ==","secondaryMasterKey":"AUiGaZdvLvsMwHlUnQJSep3VaFm4opL8l30Ys84k80IbkdNHNXLPUcedL8DKfxqo6eoxvl0aMZR0FoPrfhhOqQ==","primaryReadonlyMasterKey":"3R2HKNDjjFfeyT1ZELJgmemvYPiVTZ6rx4jZYFZKnGEStbExIuosPzX2S8300qV5i4lMJwod3u93DYXBdsiobQ==","secondaryReadonlyMasterKey":"BTS626h7SLa6RFjpOh8B9Xtp9ARJdpAKNvcQs3V8rMScKwn3uB5NVdiYEEt19S187nZvbsHyocNiCEwP57vV2g=="}' + string: '{"primaryMasterKey":"Pnqx8bNzyyKBO5wP7A3ebVdFwEL2Ycv3uuavd20CxTJaEOIh7UpcfsaCkxZG7xTHuXnFQabdmiX8QOKev2C6dw==","secondaryMasterKey":"6ofXBBRfkqNGts4KbrZZPlnC2X6pwprKW0dCHRkvUGnqWlwCTueh6dPPtRZk6G029FR8e3pBnzr0zP8aUmpdJg==","primaryReadonlyMasterKey":"VvA035OxleBhonKP0DNOPZ20gPfPx0BRInud8OkPk07mX0Sm8VQfW3RRpObEjGiuGvTptmwamVEEIQvzaVrzYw==","secondaryReadonlyMasterKey":"20MRfnVcPWzJIQNszoRBAlrGAXZPYUnl6UXxUasU3WcUuHPcXbZu8ixiO4zobnmlBXFSKly7gekzteSw2YJOkw=="}' headers: cache-control: - no-store, no-cache @@ -957,7 +1103,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:10:04 GMT + - Fri, 09 Apr 2021 03:57:04 GMT pragma: - no-cache server: @@ -973,7 +1119,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1194' status: code: 200 message: Ok diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_database_accounts.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_database_accounts.yaml index b5fded8baf0..dd647bcb304 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_database_accounts.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_database_accounts.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:54:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:54:58 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:50.4995245Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"77b4831b-a8e3-41ba-8483-196584b57f98","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:04.8120775Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"d661e010-caa0-4d5e-9670-98a07674c120","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4448ae6b-5e3b-4e3b-a9d2-c750b81db6c9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/337467d2-8ace-4174-a9ea-0cf33626a651?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:52 GMT + - Fri, 09 Apr 2021 03:55:07 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/4448ae6b-5e3b-4e3b-a9d2-c750b81db6c9?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/337467d2-8ace-4174-a9ea-0cf33626a651?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1176' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4448ae6b-5e3b-4e3b-a9d2-c750b81db6c9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/337467d2-8ace-4174-a9ea-0cf33626a651?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:22 GMT + - Fri, 09 Apr 2021 03:55:37 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4448ae6b-5e3b-4e3b-a9d2-c750b81db6c9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/337467d2-8ace-4174-a9ea-0cf33626a651?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:52 GMT + - Fri, 09 Apr 2021 03:56:08 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4448ae6b-5e3b-4e3b-a9d2-c750b81db6c9?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/337467d2-8ace-4174-a9ea-0cf33626a651?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:44.1517189Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"77b4831b-a8e3-41ba-8483-196584b57f98","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:00.9910534Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"d661e010-caa0-4d5e-9670-98a07674c120","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -285,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:44.1517189Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"77b4831b-a8e3-41ba-8483-196584b57f98","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:00.9910534Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"d661e010-caa0-4d5e-9670-98a07674c120","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -339,7 +329,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -379,7 +369,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:54:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -388,7 +378,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:07:22 GMT + - Fri, 09 Apr 2021 03:56:39 GMT expires: - '-1' pragma: @@ -418,27 +408,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:26.7166177Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b303f613-0c38-4d49-b612-cd9a5933ba75","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:46.3594566Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15137837-6700-45ec-b926-db1d71535aa7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48b9646a-fe2a-4050-83f4-82ace0cf8f61?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6af3cda5-c2a3-44c2-81a6-0531e3451fb2?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -446,9 +433,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:28 GMT + - Fri, 09 Apr 2021 03:56:49 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/48b9646a-fe2a-4050-83f4-82ace0cf8f61?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003/operationResults/6af3cda5-c2a3-44c2-81a6-0531e3451fb2?api-version=2021-03-15 pragma: - no-cache server: @@ -464,7 +451,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1185' status: code: 200 message: Ok @@ -472,7 +459,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -482,10 +469,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48b9646a-fe2a-4050-83f4-82ace0cf8f61?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6af3cda5-c2a3-44c2-81a6-0531e3451fb2?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -497,7 +483,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:58 GMT + - Fri, 09 Apr 2021 03:57:19 GMT pragma: - no-cache server: @@ -519,7 +505,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -529,10 +515,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48b9646a-fe2a-4050-83f4-82ace0cf8f61?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6af3cda5-c2a3-44c2-81a6-0531e3451fb2?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -544,7 +529,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:28 GMT + - Fri, 09 Apr 2021 03:57:51 GMT pragma: - no-cache server: @@ -566,7 +551,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -576,10 +561,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/48b9646a-fe2a-4050-83f4-82ace0cf8f61?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6af3cda5-c2a3-44c2-81a6-0531e3451fb2?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -591,7 +575,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:59 GMT + - Fri, 09 Apr 2021 03:58:21 GMT pragma: - no-cache server: @@ -613,7 +597,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -623,14 +607,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:17.9344685Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b303f613-0c38-4d49-b612-cd9a5933ba75","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:38.2956963Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15137837-6700-45ec-b926-db1d71535aa7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -643,7 +626,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:59 GMT + - Fri, 09 Apr 2021 03:58:21 GMT pragma: - no-cache server: @@ -675,16 +658,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:17.9344685Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b303f613-0c38-4d49-b612-cd9a5933ba75","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:38.2956963Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15137837-6700-45ec-b926-db1d71535aa7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -697,7 +677,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:58 GMT + - Fri, 09 Apr 2021 03:58:21 GMT pragma: - no-cache server: @@ -729,21 +709,18 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-03-15 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:44.1517189Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"77b4831b-a8e3-41ba-8483-196584b57f98","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:00.9910534Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"d661e010-caa0-4d5e-9670-98a07674c120","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000003","name":"cli000003","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:08:17.9344685Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"b303f613-0c38-4d49-b612-cd9a5933ba75","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:38.2956963Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000003.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"15137837-6700-45ec-b926-db1d71535aa7","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000003-westus","locationName":"West US","documentEndpoint":"https://cli000003-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000003-westus","locationName":"West @@ -756,7 +733,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:00 GMT + - Fri, 09 Apr 2021 03:58:22 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_databases.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_databases.yaml index defb570301c..b3be93390d2 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_databases.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_list_databases.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:06:12Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:54:50Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:06:12 GMT + - Fri, 09 Apr 2021 03:54:51 GMT expires: - '-1' pragma: @@ -60,27 +60,24 @@ interactions: Content-Length: - '219' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:14.7436443Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"43ef6b12-0901-4d1f-93a9-5c2b5b127201","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:54:59.0963486Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"fbd3366c-555f-4c85-86fc-03948f64f3fa","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/07d54df6-52d2-41eb-a5d8-9b3cabf61736?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4de726b-dd05-48b0-989d-66c015f28e0e?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -88,9 +85,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:16 GMT + - Fri, 09 Apr 2021 03:55:01 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/07d54df6-52d2-41eb-a5d8-9b3cabf61736?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/c4de726b-dd05-48b0-989d-66c015f28e0e?api-version=2021-03-15 pragma: - no-cache server: @@ -106,7 +103,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1185' status: code: 200 message: Ok @@ -114,7 +111,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -124,10 +121,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/07d54df6-52d2-41eb-a5d8-9b3cabf61736?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4de726b-dd05-48b0-989d-66c015f28e0e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -139,7 +135,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:46 GMT + - Fri, 09 Apr 2021 03:55:31 GMT pragma: - no-cache server: @@ -161,7 +157,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -171,10 +167,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/07d54df6-52d2-41eb-a5d8-9b3cabf61736?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4de726b-dd05-48b0-989d-66c015f28e0e?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -186,7 +181,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:16 GMT + - Fri, 09 Apr 2021 03:56:02 GMT pragma: - no-cache server: @@ -208,7 +203,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -218,10 +213,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/07d54df6-52d2-41eb-a5d8-9b3cabf61736?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c4de726b-dd05-48b0-989d-66c015f28e0e?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -233,7 +227,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:47 GMT + - Fri, 09 Apr 2021 03:56:31 GMT pragma: - no-cache server: @@ -255,7 +249,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -265,14 +259,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:06.1785664Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"43ef6b12-0901-4d1f-93a9-5c2b5b127201","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:53.700766Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"fbd3366c-555f-4c85-86fc-03948f64f3fa","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -281,11 +274,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:47 GMT + - Fri, 09 Apr 2021 03:56:32 GMT pragma: - no-cache server: @@ -317,16 +310,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:06.1785664Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"43ef6b12-0901-4d1f-93a9-5c2b5b127201","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:53.700766Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"fbd3366c-555f-4c85-86fc-03948f64f3fa","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -335,11 +325,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:46 GMT + - Fri, 09 Apr 2021 03:56:32 GMT pragma: - no-cache server: @@ -373,15 +363,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"OVvZtPuxJ6AOjPVVdtFtOcVdN34nxJ8DUWu6Gs43A3CFuucJ975sXhO0RVyxPOQwjIKadr2PoeHCmaA0cI3CWA==","secondaryMasterKey":"ZDkQv4ur8e0GkrUl85pNRfAo8963dUjGLUBszblN1M7lql2VxZMrhKUT2f14Mt0x4gTGQOoGgrZvrVskmDsjKw==","primaryReadonlyMasterKey":"g55K0chvHMlfB2D9zMi4ozd2J3Miu9yQSfwQUvDz9aI0YyT44cfWH0NNNr8OMd9W5xXabSmSoa0HuAR8kfJ06w==","secondaryReadonlyMasterKey":"5kL3RuZYZT1IhLwsYsBHBm8Mj8MG2C8cbWkBJuAAgfvNYq84JS0vYdVYZ8IbgtaLNthuwqtW3EJnaBpxvSfXVA=="}' + string: '{"primaryMasterKey":"xpGKEpLOBQL6WTDeI60oacku61zr1TXyE16JDsThjcLm3mg0PyONG1EtcJ5RZRcbgYDJPDAVq2PcOyaZs6e0cg==","secondaryMasterKey":"jMfR4qRQttjMIzKGEarZ9lI4mtoEa0OV40mFYKiM6K84nsL1aRzJYDHkkxLryIBOzUqJHCKbJyP8oChloHZ3Nw==","primaryReadonlyMasterKey":"TZPbQd85UzNqQu8GUwyPB6woyISY2Xx6chr06YgQKY5WFnGxvfcEUIraI7KRaqtYzaMdZwvIYW6EmmXHvRpGJA==","secondaryReadonlyMasterKey":"L7Tka1pxPAzU0zjxZZNmFZm0j5bQncHn3NGIqb42F40sNsxLthAf8Hk6tTDsnKnWNIORuRNVmU38h8lGKTZkdg=="}' headers: cache-control: - no-store, no-cache @@ -390,7 +377,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:47 GMT + - Fri, 09 Apr 2021 03:56:33 GMT pragma: - no-cache server: @@ -406,7 +393,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: Ok @@ -424,16 +411,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:06.1785664Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"43ef6b12-0901-4d1f-93a9-5c2b5b127201","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:53.700766Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"fbd3366c-555f-4c85-86fc-03948f64f3fa","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -442,11 +426,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:47 GMT + - Fri, 09 Apr 2021 03:56:34 GMT pragma: - no-cache server: @@ -480,15 +464,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listKeys?api-version=2021-03-15 response: body: - string: '{"primaryMasterKey":"OVvZtPuxJ6AOjPVVdtFtOcVdN34nxJ8DUWu6Gs43A3CFuucJ975sXhO0RVyxPOQwjIKadr2PoeHCmaA0cI3CWA==","secondaryMasterKey":"ZDkQv4ur8e0GkrUl85pNRfAo8963dUjGLUBszblN1M7lql2VxZMrhKUT2f14Mt0x4gTGQOoGgrZvrVskmDsjKw==","primaryReadonlyMasterKey":"g55K0chvHMlfB2D9zMi4ozd2J3Miu9yQSfwQUvDz9aI0YyT44cfWH0NNNr8OMd9W5xXabSmSoa0HuAR8kfJ06w==","secondaryReadonlyMasterKey":"5kL3RuZYZT1IhLwsYsBHBm8Mj8MG2C8cbWkBJuAAgfvNYq84JS0vYdVYZ8IbgtaLNthuwqtW3EJnaBpxvSfXVA=="}' + string: '{"primaryMasterKey":"xpGKEpLOBQL6WTDeI60oacku61zr1TXyE16JDsThjcLm3mg0PyONG1EtcJ5RZRcbgYDJPDAVq2PcOyaZs6e0cg==","secondaryMasterKey":"jMfR4qRQttjMIzKGEarZ9lI4mtoEa0OV40mFYKiM6K84nsL1aRzJYDHkkxLryIBOzUqJHCKbJyP8oChloHZ3Nw==","primaryReadonlyMasterKey":"TZPbQd85UzNqQu8GUwyPB6woyISY2Xx6chr06YgQKY5WFnGxvfcEUIraI7KRaqtYzaMdZwvIYW6EmmXHvRpGJA==","secondaryReadonlyMasterKey":"L7Tka1pxPAzU0zjxZZNmFZm0j5bQncHn3NGIqb42F40sNsxLthAf8Hk6tTDsnKnWNIORuRNVmU38h8lGKTZkdg=="}' headers: cache-control: - no-store, no-cache @@ -497,7 +478,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:48 GMT + - Fri, 09 Apr 2021 03:56:35 GMT pragma: - no-cache server: @@ -513,7 +494,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: Ok @@ -531,16 +512,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:06.1785664Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"43ef6b12-0901-4d1f-93a9-5c2b5b127201","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:53.700766Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"fbd3366c-555f-4c85-86fc-03948f64f3fa","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -549,11 +527,11 @@ interactions: cache-control: - no-store, no-cache content-length: - - '2446' + - '2445' content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:48 GMT + - Fri, 09 Apr 2021 03:56:35 GMT pragma: - no-cache server: @@ -589,7 +567,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:36 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -607,11 +585,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn.documents.azure.com/ + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:37 GMT pragma: - no-cache server: @@ -653,7 +631,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:37 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -667,11 +645,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn-westus.documents.azure.com/dbs + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r-westus.documents.azure.com/dbs content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:38 GMT lsn: - '7' pragma: @@ -683,7 +661,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 931b4fc6-a089-4cc2-afc2-16adaf2a3e31 + - 090fe55b-3f06-411d-a898-adadab5db617 x-ms-cosmos-llsn: - '7' x-ms-gatewayversion: @@ -693,13 +671,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 08:18:33.964 GMT + - Thu, 08 Apr 2021 05:30:14.318 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.466' + - '0.587' x-ms-resource-quota: - databases=1000;collections=5000;users=500000;permissions=2000000; x-ms-resource-usage: @@ -711,7 +689,7 @@ interactions: x-ms-session-token: - 0:-1#7 x-ms-transport-request-id: - - '90073' + - '73604' x-ms-xp-role: - '1' status: @@ -735,7 +713,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:38 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -753,11 +731,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn.documents.azure.com/ + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:49 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -799,7 +777,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:39 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -813,11 +791,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn-westus.documents.azure.com/dbs + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r-westus.documents.azure.com/dbs content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:40 GMT lsn: - '7' pragma: @@ -829,7 +807,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 79dcde96-d7cf-4831-a40b-343b536f520d + - 7dc80dd3-81d0-449d-939f-14f78f0b7e5a x-ms-cosmos-llsn: - '7' x-ms-gatewayversion: @@ -839,13 +817,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 07:40:11.637 GMT + - Thu, 08 Apr 2021 08:51:36.350 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.499' + - '0.517' x-ms-resource-quota: - databases=1000;collections=5000;users=500000;permissions=2000000; x-ms-resource-usage: @@ -857,9 +835,9 @@ interactions: x-ms-session-token: - 0:-1#7 x-ms-transport-request-id: - - '1411' + - '45496' x-ms-xp-role: - - '2' + - '1' status: code: 200 message: Ok @@ -881,7 +859,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:40 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-session-token: @@ -899,11 +877,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn.documents.azure.com/ + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r.documents.azure.com/ content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:41 GMT pragma: - no-cache server: @@ -945,7 +923,7 @@ interactions: x-ms-consistency-level: - Session x-ms-date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:41 GMT x-ms-documentdb-query-iscontinuationexpected: - 'False' x-ms-version: @@ -959,11 +937,11 @@ interactions: cache-control: - no-store, no-cache content-location: - - https://cli3ahymmcr4gc32njy6cinuzhmwt66udiaxllnn-westus.documents.azure.com/dbs + - https://clildqbqze6vu4luuswmdencwzpj2mm66iha2e6r-westus.documents.azure.com/dbs content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:50 GMT + - Fri, 09 Apr 2021 03:56:42 GMT lsn: - '7' pragma: @@ -975,7 +953,7 @@ interactions: transfer-encoding: - chunked x-ms-activity-id: - - 1a1a4334-56b0-474a-a628-6cd23f481aef + - eca62c76-d543-4ffe-966c-108d94c62400 x-ms-cosmos-llsn: - '7' x-ms-gatewayversion: @@ -985,13 +963,13 @@ interactions: x-ms-item-count: - '0' x-ms-last-state-change-utc: - - Wed, 07 Apr 2021 07:40:13.157 GMT + - Thu, 08 Apr 2021 05:30:14.318 GMT x-ms-number-of-read-regions: - '0' x-ms-request-charge: - '2' x-ms-request-duration-ms: - - '0.513' + - '0.831' x-ms-resource-quota: - databases=1000;collections=5000;users=500000;permissions=2000000; x-ms-resource-usage: @@ -1003,7 +981,7 @@ interactions: x-ms-session-token: - 0:-1#7 x-ms-transport-request-id: - - '132822' + - '55442' x-ms-xp-role: - '1' status: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_both_formats_database_accounts.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_both_formats_database_accounts.yaml index 7abb90064c2..e85beea7392 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_both_formats_database_accounts.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_both_formats_database_accounts.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:06:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:56:41Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:06:47 GMT + - Fri, 09 Apr 2021 03:56:43 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '296' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:51.7721596Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"99f14bad-27bf-4097-a184-7d87cd2e1e28","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:49.2718075Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60d75a5f-38bc-4d9d-a196-a8217f5de5e2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-eastus","locationName":"East US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:55 GMT + - Fri, 09 Apr 2021 03:56:53 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:26 GMT + - Fri, 09 Apr 2021 03:57:23 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:56 GMT + - Fri, 09 Apr 2021 03:57:54 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:27 GMT + - Fri, 09 Apr 2021 03:58:24 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,10 +260,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -281,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:56 GMT + - Fri, 09 Apr 2021 03:58:54 GMT pragma: - no-cache server: @@ -303,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,10 +306,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -328,7 +320,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:26 GMT + - Fri, 09 Apr 2021 03:59:25 GMT pragma: - no-cache server: @@ -350,7 +342,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -360,10 +352,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2138efaa-aaec-440a-b5ed-ac74f15f72f1?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2d3b4a88-2068-4edf-99a6-327103e3a119?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -375,7 +366,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:56 GMT + - Fri, 09 Apr 2021 03:59:55 GMT pragma: - no-cache server: @@ -397,7 +388,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -407,14 +398,13 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:54.9256082Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"99f14bad-27bf-4097-a184-7d87cd2e1e28","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:54.4101372Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60d75a5f-38bc-4d9d-a196-a8217f5de5e2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false},{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":1,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East @@ -429,7 +419,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:57 GMT + - Fri, 09 Apr 2021 03:59:55 GMT pragma: - no-cache server: @@ -461,16 +451,13 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:54.9256082Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"99f14bad-27bf-4097-a184-7d87cd2e1e28","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:57:54.4101372Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60d75a5f-38bc-4d9d-a196-a8217f5de5e2","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false},{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":1,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East @@ -485,7 +472,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:57 GMT + - Fri, 09 Apr 2021 03:59:56 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_database_accounts.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_database_accounts.yaml index ccf1170229d..2e6375cdc7d 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_database_accounts.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_locations_database_accounts.yaml @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:05:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:55:25Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:05:46 GMT + - Fri, 09 Apr 2021 03:55:27 GMT expires: - '-1' pragma: @@ -61,27 +61,24 @@ interactions: Content-Length: - '296' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:05:49.9995642Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60399a74-6583-4107-a9e5-23af41c5423c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:34.2033486Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"44bc785b-c9d5-4a18-9014-0b6a7cc70362","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-eastus","locationName":"East US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -89,9 +86,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:05:53 GMT + - Fri, 09 Apr 2021 03:55:38 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 pragma: - no-cache server: @@ -107,7 +104,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1183' status: code: 200 message: Ok @@ -115,7 +112,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -125,10 +122,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -140,7 +136,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:24 GMT + - Fri, 09 Apr 2021 03:56:08 GMT pragma: - no-cache server: @@ -162,7 +158,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -172,10 +168,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -187,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:54 GMT + - Fri, 09 Apr 2021 03:56:39 GMT pragma: - no-cache server: @@ -209,7 +204,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,10 +214,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -234,7 +228,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:24 GMT + - Fri, 09 Apr 2021 03:57:09 GMT pragma: - no-cache server: @@ -256,7 +250,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -266,10 +260,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -281,7 +274,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:54 GMT + - Fri, 09 Apr 2021 03:57:39 GMT pragma: - no-cache server: @@ -303,7 +296,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -313,10 +306,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -328,7 +320,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:25 GMT + - Fri, 09 Apr 2021 03:58:10 GMT pragma: - no-cache server: @@ -350,7 +342,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -360,10 +352,9 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/64697442-979e-42b3-abb8-6254009b0c9b?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e33657bb-937c-484f-9da9-cce5151f2916?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -375,7 +366,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:54 GMT + - Fri, 09 Apr 2021 03:58:40 GMT pragma: - no-cache server: @@ -397,7 +388,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -407,14 +398,13 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:55.3840222Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60399a74-6583-4107-a9e5-23af41c5423c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:49.1316824Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"44bc785b-c9d5-4a18-9014-0b6a7cc70362","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false},{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":1,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East @@ -429,7 +419,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:55 GMT + - Fri, 09 Apr 2021 03:58:41 GMT pragma: - no-cache server: @@ -461,16 +451,13 @@ interactions: ParameterSetName: - -n -g --locations --locations User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:55.3840222Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60399a74-6583-4107-a9e5-23af41c5423c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:49.1316824Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"44bc785b-c9d5-4a18-9014-0b6a7cc70362","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false},{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":1,"isZoneRedundant":false}],"locations":[{"id":"cli000002-eastus","locationName":"East @@ -485,7 +472,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:54 GMT + - Fri, 09 Apr 2021 03:58:41 GMT pragma: - no-cache server: @@ -508,7 +495,7 @@ interactions: {"locationName": "eastus", "failoverPriority": 1}]}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -518,14 +505,11 @@ interactions: Content-Length: - '124' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --failover-policies User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/failoverPriorityChange?api-version=2021-03-15 response: @@ -533,7 +517,7 @@ interactions: string: '{"status":"Enqueued"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/741174c9-d645-4999-94f1-859ccc1d9bda?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/97349d06-6d71-43c4-92de-3b3c4463a712?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -541,9 +525,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:56 GMT + - Fri, 09 Apr 2021 03:58:44 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/failoverPriorityChange/operationResults/741174c9-d645-4999-94f1-859ccc1d9bda?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/failoverPriorityChange/operationResults/97349d06-6d71-43c4-92de-3b3c4463a712?api-version=2021-03-15 pragma: - no-cache server: @@ -555,7 +539,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 202 message: Accepted @@ -563,7 +547,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -573,22 +557,21 @@ interactions: ParameterSetName: - -n -g --failover-policies User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/741174c9-d645-4999-94f1-859ccc1d9bda?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/97349d06-6d71-43c4-92de-3b3c4463a712?api-version=2021-03-15 response: body: - string: '{"status":"Dequeued"}' + string: '{"status":"Succeeded"}' headers: cache-control: - no-store, no-cache content-length: - - '21' + - '22' content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:27 GMT + - Fri, 09 Apr 2021 03:59:14 GMT pragma: - no-cache server: @@ -610,7 +593,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -620,10 +603,9 @@ interactions: ParameterSetName: - -n -g --failover-policies User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/741174c9-d645-4999-94f1-859ccc1d9bda?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/failoverPriorityChange/operationResults/97349d06-6d71-43c4-92de-3b3c4463a712?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -635,7 +617,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:57 GMT + - Fri, 09 Apr 2021 03:59:14 GMT pragma: - no-cache server: @@ -667,16 +649,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:55.3840222Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"60399a74-6583-4107-a9e5-23af41c5423c","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"GlobalDocumentDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:56:49.1316824Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"instanceId":"44bc785b-c9d5-4a18-9014-0b6a7cc70362","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false},{"id":"cli000002-eastus","locationName":"East US","documentEndpoint":"https://cli000002-eastus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":1,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West @@ -691,7 +670,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:57 GMT + - Fri, 09 Apr 2021 03:59:16 GMT pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_update_database_account.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_update_database_account.yaml index 4592b059032..eada5382c39 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_update_database_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_update_database_account.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cosmosdb_account000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-07T10:06:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001","name":"cli_test_cosmosdb_account000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-09T03:54:16Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 10:06:23 GMT + - Fri, 09 Apr 2021 03:54:18 GMT expires: - '-1' pragma: @@ -63,28 +63,25 @@ interactions: Content-Length: - '416' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:06:25.8061787Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:54:24.5333354Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","provisioningState":"Creating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[{"ipAddressOrRange":"20.10.10.10"},{"ipAddressOrRange":"12.12.122.122"},{"ipAddressOrRange":"12.22.11.11"}],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f168519f-7605-4c7d-946f-0300a7480be1?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -92,9 +89,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:06:26 GMT + - Fri, 09 Apr 2021 03:54:27 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/f168519f-7605-4c7d-946f-0300a7480be1?api-version=2021-03-15 pragma: - no-cache server: @@ -110,55 +107,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: Ok -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cosmosdb create - Connection: - - keep-alive - ParameterSetName: - - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage - --enable-free-tier - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 - response: - body: - string: '{"status":"Dequeued"}' - headers: - cache-control: - - no-store, no-cache - content-length: - - '21' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 10:06:57 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-gatewayversion: - - version=2.11.0 + - '1182' status: code: 200 message: Ok @@ -166,7 +115,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -177,10 +126,9 @@ interactions: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f168519f-7605-4c7d-946f-0300a7480be1?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -192,7 +140,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:27 GMT + - Fri, 09 Apr 2021 03:54:57 GMT pragma: - no-cache server: @@ -214,7 +162,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -225,10 +173,9 @@ interactions: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f168519f-7605-4c7d-946f-0300a7480be1?api-version=2021-03-15 response: body: string: '{"status":"Dequeued"}' @@ -240,7 +187,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:07:58 GMT + - Fri, 09 Apr 2021 03:55:29 GMT pragma: - no-cache server: @@ -262,7 +209,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -273,10 +220,9 @@ interactions: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/da8732c4-c1cc-4f32-a69e-5a7b8af937dc?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f168519f-7605-4c7d-946f-0300a7480be1?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -288,7 +234,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:27 GMT + - Fri, 09 Apr 2021 03:55:59 GMT pragma: - no-cache server: @@ -310,7 +256,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -321,14 +267,13 @@ interactions: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -341,7 +286,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:27 GMT + - Fri, 09 Apr 2021 03:55:59 GMT pragma: - no-cache server: @@ -374,16 +319,13 @@ interactions: - -n -g --kind --ip-range-filter --server-version --enable-analytical-storage --enable-free-tier User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -396,7 +338,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:28 GMT + - Fri, 09 Apr 2021 03:56:00 GMT pragma: - no-cache server: @@ -428,16 +370,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -450,7 +389,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:28 GMT + - Fri, 09 Apr 2021 03:56:00 GMT pragma: - no-cache server: @@ -482,16 +421,13 @@ interactions: ParameterSetName: - -n -g --capabilities --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -504,7 +440,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:28 GMT + - Fri, 09 Apr 2021 03:56:02 GMT pragma: - no-cache server: @@ -537,27 +473,24 @@ interactions: Content-Length: - '116' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --capabilities --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[],"ipRules":[{"ipAddressOrRange":"20.10.10.10"},{"ipAddressOrRange":"12.12.122.122"},{"ipAddressOrRange":"12.22.11.11"}],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cc989f3c-37e2-4103-9dea-08e327f1e87d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0553d6a8-10b6-4a82-86ff-ae59766e4ef2?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -565,9 +498,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:08:30 GMT + - Fri, 09 Apr 2021 03:56:05 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/cc989f3c-37e2-4103-9dea-08e327f1e87d?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/0553d6a8-10b6-4a82-86ff-ae59766e4ef2?api-version=2021-03-15 pragma: - no-cache server: @@ -583,7 +516,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1187' status: code: 200 message: Ok @@ -591,7 +524,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -601,10 +534,9 @@ interactions: ParameterSetName: - -n -g --capabilities --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/cc989f3c-37e2-4103-9dea-08e327f1e87d?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/0553d6a8-10b6-4a82-86ff-ae59766e4ef2?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -616,7 +548,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:00 GMT + - Fri, 09 Apr 2021 03:56:35 GMT pragma: - no-cache server: @@ -638,7 +570,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -648,14 +580,13 @@ interactions: ParameterSetName: - -n -g --capabilities --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -668,7 +599,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:00 GMT + - Fri, 09 Apr 2021 03:56:35 GMT pragma: - no-cache server: @@ -700,16 +631,13 @@ interactions: ParameterSetName: - -n -g --capabilities --server-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -722,7 +650,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:01 GMT + - Fri, 09 Apr 2021 03:56:36 GMT pragma: - no-cache server: @@ -754,16 +682,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -776,7 +701,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:01 GMT + - Fri, 09 Apr 2021 03:56:36 GMT pragma: - no-cache server: @@ -810,18 +735,15 @@ interactions: ParameterSetName: - --type -n -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/listConnectionStrings?api-version=2021-03-15 response: body: - string: '{"connectionStrings":[{"connectionString":"mongodb://cli000002:bwYIXQF3QYdBgn4z731GKLaYG1NkTF136qGdemIBzNMMdqrCKOHC0v0usnWpfUZDp7E9WDMXwBZDoi9m7eOXDQ==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Primary - MongoDB Connection String"},{"connectionString":"mongodb://cli000002:7FQ5hI394spXVd9nv6L52aoD8KZapUy1P9WBvhRqlHJOe19bC6IPRz4RIxlhGzXtsHj0RhoKA7ZPlq4euYxLXQ==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Secondary - MongoDB Connection String"},{"connectionString":"mongodb://cli000002:at1Ciss0J2bYytmYrnH2PL2LnvmYJNVJJHi1oci4gGvHAvQr7qsxS4DladB92Ec7aVs6Vf9gjOzMgDjV7GfhKA==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Primary - Read-Only MongoDB Connection String"},{"connectionString":"mongodb://cli000002:jwMeGS6YgLXPrEmjZovxQBfMjCNOGR5OnKcpuTbcETkx5I8LiBJjJwQIW65ohgKoNnz7srncCNXiaPwfWKDCfQ==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Secondary + string: '{"connectionStrings":[{"connectionString":"mongodb://cli000002:ldwbSYyu288yB2CvTxY9MpulqBJtC2R1mZDWBCGRGOGOnVXwBW4QfJjcJZPQIBpH1xNMq0p2DIzy9TTl0McBRw==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Primary + MongoDB Connection String"},{"connectionString":"mongodb://cli000002:keIq31WPylXiWpWJh1r3cCEVk4NnCm3AZXKtjoNP3kVGxJvBs0WN9zqgkucqBKmrCU46Uw9vuS9diEfDMjQSPg==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Secondary + MongoDB Connection String"},{"connectionString":"mongodb://cli000002:ivCkMKSL7xHWUXnvtDhDx3S071wPHlwgwp9YSdNqAex2tJAYfUZlWI3iW84AnF48mncVi5EJJFRI34TlP7EEWg==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Primary + Read-Only MongoDB Connection String"},{"connectionString":"mongodb://cli000002:l5yH7jjLCu7BIBApec0soIB5lSzPo2vMktB531GsfDxCEgw5FLZvBQB9EpLwlt1GUeNFeeK3f6WASCIw6oKcBA==@cli000002.documents.azure.com:10255/?ssl=true&replicaSet=globaldb","description":"Secondary Read-Only MongoDB Connection String"}]}' headers: cache-control: @@ -831,7 +753,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:01 GMT + - Fri, 09 Apr 2021 03:56:37 GMT pragma: - no-cache server: @@ -847,7 +769,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1189' status: code: 200 message: Ok @@ -865,16 +787,13 @@ interactions: ParameterSetName: - -n -g --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -887,7 +806,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:01 GMT + - Fri, 09 Apr 2021 03:56:38 GMT pragma: - no-cache server: @@ -921,27 +840,24 @@ interactions: Content-Length: - '172' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Updating","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Updating","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West US","failoverPriority":0}],"cors":[],"capabilities":[{"name":"EnableAggregationPipeline"}],"ipRules":[{"ipAddressOrRange":"20.10.10.10"},{"ipAddressOrRange":"12.12.122.122"},{"ipAddressOrRange":"12.22.11.11"}],"backupPolicy":{"type":"Periodic","periodicModeProperties":{"backupIntervalInMinutes":240,"backupRetentionIntervalInHours":8,"backupStorageRedundancy":"Geo"}},"networkAclBypassResourceIds":[]},"identity":{"type":"None"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9611be58-545d-4fcc-b4c7-3cf752c270d8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b79f093a-9c74-49dd-a807-ac0b28048e3f?api-version=2021-03-15 cache-control: - no-store, no-cache content-length: @@ -949,9 +865,9 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:04 GMT + - Fri, 09 Apr 2021 03:56:43 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/9611be58-545d-4fcc-b4c7-3cf752c270d8?api-version=2021-03-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/b79f093a-9c74-49dd-a807-ac0b28048e3f?api-version=2021-03-15 pragma: - no-cache server: @@ -967,7 +883,7 @@ interactions: x-ms-gatewayversion: - version=2.11.0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1180' status: code: 200 message: Ok @@ -975,7 +891,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -985,10 +901,9 @@ interactions: ParameterSetName: - -n -g --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/9611be58-545d-4fcc-b4c7-3cf752c270d8?api-version=2021-03-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/b79f093a-9c74-49dd-a807-ac0b28048e3f?api-version=2021-03-15 response: body: string: '{"status":"Succeeded"}' @@ -1000,7 +915,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:34 GMT + - Fri, 09 Apr 2021 03:57:13 GMT pragma: - no-cache server: @@ -1022,7 +937,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1032,14 +947,13 @@ interactions: ParameterSetName: - -n -g --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1052,7 +966,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:34 GMT + - Fri, 09 Apr 2021 03:57:13 GMT pragma: - no-cache server: @@ -1084,16 +998,13 @@ interactions: ParameterSetName: - -n -g --backup-interval --backup-retention User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-cosmosdb/3.1.0 Azure-SDK-For-Python AZURECLI/2.21.0 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cosmosdb/6.2.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002?api-version=2021-03-15 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002","name":"cli000002","location":"West - US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-07T10:07:37.5837087Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"f9431643-5dc5-4ca3-a452-219fb6a49f52","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West + US","type":"Microsoft.DocumentDB/databaseAccounts","kind":"MongoDB","tags":{},"systemData":{"createdAt":"2021-04-09T03:55:36.0443742Z"},"properties":{"provisioningState":"Succeeded","documentEndpoint":"https://cli000002.documents.azure.com:443/","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"MongoDB","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":true,"instanceId":"9c91baa4-ded3-4a80-bcf1-c8d6742c4e1a","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","consistencyPolicy":{"defaultConsistencyLevel":"Session","maxIntervalInSeconds":5,"maxStalenessPrefix":100},"apiProperties":{"serverVersion":"3.2"},"configurationOverrides":{"EnableBsonSchema":"True"},"writeLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"readLocations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"locations":[{"id":"cli000002-westus","locationName":"West US","documentEndpoint":"https://cli000002-westus.documents.azure.com:443/","provisioningState":"Succeeded","failoverPriority":0,"isZoneRedundant":false}],"failoverPolicies":[{"id":"cli000002-westus","locationName":"West @@ -1106,7 +1017,7 @@ interactions: content-type: - application/json date: - - Wed, 07 Apr 2021 10:09:35 GMT + - Fri, 09 Apr 2021 03:57:13 GMT pragma: - no-cache server: diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 46c7ea19d0d..11b1d8c96b4 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -35,7 +35,7 @@ azure-mgmt-containerinstance==1.5.0 azure-mgmt-containerregistry==3.0.0rc17 azure-mgmt-containerservice==11.1.0 azure-mgmt-core==1.2.1 -azure-mgmt-cosmosdb==3.1.0 +azure-mgmt-cosmosdb==6.2.0 azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 46c7ea19d0d..11b1d8c96b4 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -35,7 +35,7 @@ azure-mgmt-containerinstance==1.5.0 azure-mgmt-containerregistry==3.0.0rc17 azure-mgmt-containerservice==11.1.0 azure-mgmt-core==1.2.1 -azure-mgmt-cosmosdb==3.1.0 +azure-mgmt-cosmosdb==6.2.0 azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 9aaf4ba09f5..e444fd2d215 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -35,7 +35,7 @@ azure-mgmt-containerinstance==1.5.0 azure-mgmt-containerregistry==3.0.0rc17 azure-mgmt-containerservice==11.1.0 azure-mgmt-core==1.2.1 -azure-mgmt-cosmosdb==3.1.0 +azure-mgmt-cosmosdb==6.2.0 azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index ee9320365da..3ebb5322af2 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -76,7 +76,7 @@ 'azure-mgmt-consumption~=2.0', 'azure-mgmt-containerinstance~=1.4', 'azure-mgmt-containerregistry==3.0.0rc17', - 'azure-mgmt-cosmosdb~=3.1.0', + 'azure-mgmt-cosmosdb~=6.2.0', 'azure-mgmt-containerservice~=11.1.0', 'azure-mgmt-databoxedge~=0.2.0', 'azure-mgmt-datalake-analytics~=0.2.1',