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 bd3391dde18..6902a528779 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/_params.py @@ -53,7 +53,7 @@ class ThroughputTypes(str, Enum): def load_arguments(self, _): from knack.arguments import CLIArgumentType - from azure.mgmt.cosmosdb.models import KeyKind, DefaultConsistencyLevel, DatabaseAccountKind, TriggerType, TriggerOperation, ServerVersion, NetworkAclBypass, BackupPolicyType + from azure.mgmt.cosmosdb.models import KeyKind, DefaultConsistencyLevel, DatabaseAccountKind, TriggerType, TriggerOperation, ServerVersion, NetworkAclBypass, BackupPolicyType, AnalyticalStorageSchemaType with self.argument_context('cosmosdb') as c: c.argument('account_name', arg_type=name_type, help='Name of the Cosmos DB database account', completer=get_resource_name_completion_list('Microsoft.DocumentDb/databaseAccounts'), id_part='name') @@ -93,6 +93,7 @@ def load_arguments(self, _): c.argument('backup_retention', type=int, help="the time(in hours) for which each backup is retained (only for accounts with periodic mode backups)", arg_group='Backup Policy') c.argument('server_version', arg_type=get_enum_type(ServerVersion), help="Valid only for MongoDB accounts.", is_preview=True) c.argument('default_identity', help="The primary identity to access key vault in CMK related features. e.g. 'FirstPartyIdentity', 'SystemAssignedIdentity' and more.", is_preview=True) + c.argument('analytical_storage_schema_type', options_list=['--analytical-storage-schema-type', '--as-schema'], arg_type=get_enum_type(AnalyticalStorageSchemaType), help="Schema type for analytical storage.", arg_group='Analytical Storage Configuration') c.argument('backup_policy_type', arg_type=get_enum_type(BackupPolicyType), help="The type of backup policy of the account to create", arg_group='Backup Policy') for scope in ['cosmosdb regenerate-key', 'cosmosdb keys regenerate']: 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 09b66e0f3f3..ca079a92308 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py @@ -54,6 +54,7 @@ PeriodicModeProperties, SqlRoleAssignmentCreateUpdateParameters, SqlRoleDefinitionCreateUpdateParameters, + AnalyticalStorageConfiguration, RestoreParameters, ContinuousModeBackupPolicy, ContinuousBackupRestoreLocation, @@ -113,6 +114,7 @@ def cli_cosmosdb_create(cmd, client, backup_retention=None, assign_identity=None, default_identity=None, + analytical_storage_schema_type=None, backup_policy_type=None, databases_to_restore=None, is_restore_request=None, @@ -158,6 +160,7 @@ def cli_cosmosdb_create(cmd, client, is_restore_request=is_restore_request, restore_source=restore_source, restore_timestamp=restore_timestamp_utc, + analytical_storage_schema_type=analytical_storage_schema_type, backup_policy_type=backup_policy_type, backup_interval=backup_interval, assign_identity=assign_identity, @@ -196,6 +199,7 @@ def _create_database_account(client, assign_identity=None, default_identity=None, backup_policy_type=None, + analytical_storage_schema_type=None, databases_to_restore=None, is_restore_request=None, restore_source=None, @@ -251,6 +255,11 @@ def _create_database_account(client, ) backup_policy.periodic_mode_properties = periodic_mode_properties + analytical_storage_configuration = None + if analytical_storage_schema_type is not None: + analytical_storage_configuration = AnalyticalStorageConfiguration() + analytical_storage_configuration.schema_type = analytical_storage_schema_type + create_mode = CreateMode.restore.value if is_restore_request else CreateMode.default.value params = None restore_parameters = None @@ -290,6 +299,7 @@ def _create_database_account(client, backup_policy=backup_policy, identity=system_assigned_identity, default_identity=default_identity, + analytical_storage_configuration=analytical_storage_configuration, create_mode=create_mode, restore_parameters=restore_parameters ) @@ -324,6 +334,7 @@ def cli_cosmosdb_update(client, backup_interval=None, backup_retention=None, default_identity=None, + analytical_storage_schema_type=None, backup_policy_type=None): """Update an existing Azure Cosmos DB database account. """ existing = client.get(resource_group_name, account_name) @@ -373,6 +384,11 @@ def cli_cosmosdb_update(client, if isinstance(existing.backup_policy, PeriodicModeBackupPolicy): backup_policy = ContinuousModeBackupPolicy() + analytical_storage_configuration = None + if analytical_storage_schema_type is not None: + analytical_storage_configuration = AnalyticalStorageConfiguration() + analytical_storage_configuration.schema_type = analytical_storage_schema_type + params = DatabaseAccountUpdateParameters( locations=locations, tags=tags, @@ -390,7 +406,8 @@ def cli_cosmosdb_update(client, network_acl_bypass_resource_ids=network_acl_bypass_resource_ids, api_properties=api_properties, backup_policy=backup_policy, - default_identity=default_identity) + default_identity=default_identity, + analytical_storage_configuration=analytical_storage_configuration) async_docdb_update = client.begin_update(resource_group_name, account_name, params) docdb_account = async_docdb_update.result() diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_create.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_create.yaml new file mode 100644 index 00000000000..bfbfdfd0693 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_create.yaml @@ -0,0 +1,399 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + 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-06-24T21:38:34Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Jun 2021 21:38:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "kind": "GlobalDocumentDB", "properties": {"locations": + [{"locationName": "westus", "failoverPriority": 0, "isZoneRedundant": false}], + "databaseAccountOfferType": "Standard", "apiProperties": {}, "analyticalStorageConfiguration": + {"schemaType": "FullFidelity"}, "createMode": "Default"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + Content-Length: + - '310' + Content-Type: + - application/json + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T21:38:40.6581384Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"analyticalStorageConfiguration":{"schemaType":"FullFidelity"},"instanceId":"9c58844a-fb4f-43bb-b3a4-43ff8b1d47e1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","disableLocalAuth":false,"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/2241bb37-e1a2-4a53-946a-bac68ae3898c?api-version=2021-06-15 + cache-control: + - no-store, no-cache + content-length: + - '2127' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:38:42 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/2241bb37-e1a2-4a53-946a-bac68ae3898c?api-version=2021-06-15 + 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.14.0 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2241bb37-e1a2-4a53-946a-bac68ae3898c?api-version=2021-06-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:39: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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2241bb37-e1a2-4a53-946a-bac68ae3898c?api-version=2021-06-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:39:43 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2241bb37-e1a2-4a53-946a-bac68ae3898c?api-version=2021-06-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:40: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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T21:39:33.7546408Z"},"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,"analyticalStorageConfiguration":{"schemaType":"FullFidelity"},"instanceId":"9c58844a-fb4f-43bb-b3a4-43ff8b1d47e1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:40:13 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.14.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 --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T21:39:33.7546408Z"},"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,"analyticalStorageConfiguration":{"schemaType":"FullFidelity"},"instanceId":"9c58844a-fb4f-43bb-b3a4-43ff8b1d47e1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:40:13 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T21:39:33.7546408Z"},"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,"analyticalStorageConfiguration":{"schemaType":"FullFidelity"},"instanceId":"9c58844a-fb4f-43bb-b3a4-43ff8b1d47e1","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 21:40:13 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.14.0 + status: + code: 200 + message: Ok +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_update.yaml b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_update.yaml new file mode 100644 index 00000000000..27878072824 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_analytical_storage_schema_type_on_update.yaml @@ -0,0 +1,660 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + 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-06-24T22:03:42Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 24 Jun 2021 22:03:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "kind": "GlobalDocumentDB", "properties": {"locations": + [{"locationName": "westus", "failoverPriority": 0, "isZoneRedundant": false}], + "databaseAccountOfferType": "Standard", "apiProperties": {}, "analyticalStorageConfiguration": + {"schemaType": "FullFidelity"}, "createMode": "Default"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + Content-Length: + - '310' + Content-Type: + - application/json + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:03:49.0997839Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"analyticalStorageConfiguration":{"schemaType":"FullFidelity"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"","networkAclBypass":"None","disableLocalAuth":false,"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/80b0e7b5-0663-4728-b4b8-8b94b68d665f?api-version=2021-06-15 + cache-control: + - no-store, no-cache + content-length: + - '2127' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:03:51 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/80b0e7b5-0663-4728-b4b8-8b94b68d665f?api-version=2021-06-15 + 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.14.0 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80b0e7b5-0663-4728-b4b8-8b94b68d665f?api-version=2021-06-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:04:20 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80b0e7b5-0663-4728-b4b8-8b94b68d665f?api-version=2021-06-15 + response: + body: + string: '{"status":"Dequeued"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '21' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:04:51 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80b0e7b5-0663-4728-b4b8-8b94b68d665f?api-version=2021-06-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:21 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb create + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:21 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.14.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 --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:21 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb update + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05: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.14.0 + status: + code: 200 + message: Ok +- request: + body: '{"properties": {"apiProperties": {}, "analyticalStorageConfiguration": + {"schemaType": "WellDefined"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb update + Connection: + - keep-alive + Content-Length: + - '102' + Content-Type: + - application/json + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"properties":{"provisioningState":"Updating","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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/79816e8c-ce28-4250-bc31-16ae4b5c275f?api-version=2021-06-15 + cache-control: + - no-store, no-cache + content-length: + - '2549' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:24 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_account000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000002/operationResults/79816e8c-ce28-4250-bc31-16ae4b5c275f?api-version=2021-06-15 + 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.14.0 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb update + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/79816e8c-ce28-4250-bc31-16ae4b5c275f?api-version=2021-06-15 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '22' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:54 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb update + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:54 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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb update + Connection: + - keep-alive + ParameterSetName: + - -n -g --analytical-storage-schema-type + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05: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.14.0 + status: + code: 200 + message: Ok +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - cosmosdb show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-24T22:04:42.8885552Z"},"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,"analyticalStorageConfiguration":{"schemaType":"WellDefined"},"instanceId":"6739d9de-d70e-4053-a084-698db46d21f9","createMode":"Default","databaseAccountOfferType":"Standard","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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"}}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '2550' + content-type: + - application/json + date: + - Thu, 24 Jun 2021 22:05:56 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.14.0 + status: + code: 200 + message: Ok +version: 1 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 84f7e608907..306edb6c7ab 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 @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group -n --enable-soft-delete --enable-purge-protection User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (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?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-06-22T05:33:22Z"},"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-06-30T03:48:16Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:33:23 GMT + - Wed, 30 Jun 2021 03:48:19 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US @@ -59,43 +59,43 @@ 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":"27f82b5d-ce19-4257-a337-dabea1926ae2","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":["cd31b152-6326-4d1b-ae1b-997b625182e6","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":"dcb1a3ae-b33f-4487-846a-a640262fadf4"},{"disabledPlans":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"},{"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"}],"assignedPlans":[{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2021-04-15T20:54:51Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2021-02-09T19:53:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2021-02-09T19:53:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2021-02-09T19:53:51Z","capabilityStatus":"Deleted","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2020-12-22T11:29:41Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-12-12T14:07:52Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2020-12-12T14:07:52Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2020-12-12T14:07:52Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2020-11-03T20:43:13Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-10-29T23:12:05Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2020-10-17T05:12:09Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2020-08-14T16:25:09Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2020-08-04T04:30:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2020-08-04T04:30:59Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2020-06-18T08:49:39Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2019-11-04T22:32:30Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-10-15T04:36:46Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-10-15T04:36:46Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-08-08T19:41:57Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"},{"assignedTimestamp":"2019-05-24T05:17:20Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2019-04-04T11:38:25Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2019-04-04T11:38:25Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2019-04-04T11:38:25Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2019-02-19T10:31:18Z","capabilityStatus":"Deleted","service":"exchange","servicePlanId":"33c4f319-9bdd-48d6-9c4d-410b750a4a5a"},{"assignedTimestamp":"2019-02-17T22:55:55Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"50e68c76-46c6-4674-81f9-75456511b170"},{"assignedTimestamp":"2019-02-17T22:55:55Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"d20bfa21-e9ae-43fc-93c2-20783f0840c3"},{"assignedTimestamp":"2019-02-17T22:55:55Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"d5368ca3-357e-4acb-9c21-8495fb025d1f"},{"assignedTimestamp":"2019-02-17T22:55:55Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"17ab22cd-a0b3-4536-910a-cb6eb12696c0"},{"assignedTimestamp":"2018-09-24T17:21:38Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2018-09-24T17:21:36Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2018-09-24T17:21:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2018-09-24T17:21:35Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2018-09-24T17:21:35Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2018-09-24T17:21:35Z","capabilityStatus":"Deleted","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2018-09-07T08:30:32Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2018-08-30T19:16:01Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2018-08-30T19:16:01Z","capabilityStatus":"Deleted","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2018-08-17T11:33:47Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2018-08-17T11:33:47Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2018-04-24T12:07:28Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T12:07:28Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-03-23T19:16:18Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-03-17T18:57:54Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2018-03-17T18:57:54Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2018-03-17T18:57:54Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2018-02-24T03:07:47Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-02-24T03:07:47Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2018-02-24T03:07:47Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-01-09T11:58:01Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2018-01-01T06:04:11Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2018-01-01T06:04:11Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2017-12-31T18:14:42Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-14T18:08:13Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2017-12-14T18:08:13Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2017-12-14T18:08:13Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-11-21T07:49:42Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2017-11-07T06:22:33Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-10-07T05:26:08Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2017-10-07T05:26:08Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2017-07-08T17:19:54Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2017-07-08T07:17:23Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2017-07-08T07:17:23Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"}],"city":"REDMOND","companyName":"MICROSOFT","consentProvidedForMinor":null,"country":null,"createdDateTime":null,"creationType":null,"department":"Data - MAP","dirSyncEnabled":true,"displayName":"Amit Singh","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Amit","immutableId":"1235992","isCompromised":null,"jobTitle":"SENIOR - SOFTWARE ENGINEER","lastDirSyncTime":"2021-06-16T11:07:10Z","legalAgeGroupClassification":null,"mail":"amisi@microsoft.com","mailNickname":"amisi","mobile":null,"onPremisesDistinguishedName":"CN=Amit - Singh-2,OU=MSE,OU=Users,OU=CoreIdentity,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-27600725","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"44/1H","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":"Deleted","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":"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":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"}],"provisioningErrors":[],"proxyAddresses":["x500:/o=ExchangeLabs/ou=Exchange - Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=72c8768297d04900ac8ffb60c6171289-Amit - Singh","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=4d9caed67728480fb16a730d33c5429f-Amit - Singh-4","X500:/o=MMS/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=14496123daae41b6b6ea9aff2322d061-Amit - Singha3de0999-6","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=0d6f72666ce6447ca12443a05d49b118-Amit - Singh (Du","smtp:amisi@microsoft.onmicrosoft.com","smtp:amisi@service.microsoft.com","SMTP:amisi@microsoft.com"],"refreshTokensValidFromDateTime":"2020-02-08T16:10:51Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"amisi@microsoft.com","state":null,"streetAddress":null,"surname":"Singh","telephoneNumber":"+1 - (425) 7070738","thumbnailPhoto@odata.mediaEditLink":"directoryObjects/27f82b5d-ce19-4257-a337-dabea1926ae2/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"US","userIdentities":[],"userPrincipalName":"amisi@microsoft.com","userState":null,"userStateChangedOn":null,"userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"261524","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Ramadugu, - Venkata Sivaramakrishna","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToEmailName":"SIVARV","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_ProfitCenterCode":"P10222954","extension_18e31482d3fb4a8ea958aa96b662f508_PositionNumber":"72520329","extension_18e31482d3fb4a8ea958aa96b662f508_CostCenterCode":"10222954","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingName":"44","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingID":"227","extension_18e31482d3fb4a8ea958aa96b662f508_ZipCode":"98052","extension_18e31482d3fb4a8ea958aa96b662f508_StateProvinceCode":"WA","extension_18e31482d3fb4a8ea958aa96b662f508_LocationAreaCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CountryShortCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CompanyCode":"1010","extension_18e31482d3fb4a8ea958aa96b662f508_CityName":"REDMOND","extension_18e31482d3fb4a8ea958aa96b662f508_AddressLine1":"1 - Microsoft Way","extension_18e31482d3fb4a8ea958aa96b662f508_PersonnelNumber":"1235992"}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":["cd31b152-6326-4d1b-ae1b-997b625182e6","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","8e0c0a52-6a6c-4d40-8370-dd62790dcd70","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":[],"skuId":"26a18e8f-4d14-46f8-835a-ed3ba424a961"},{"disabledPlans":[],"skuId":"412ce1a7-a499-41b3-8eb6-b38f2bbc5c3f"},{"disabledPlans":["39b5c996-467e-4e60-bd62-46066f572726"],"skuId":"90d8b3f8-712e-4f7b-aa1e-62e7ae6cbe96"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"09015f9f-377f-4538-bbb5-f75ceb09358a"},{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"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"}],"assignedPlans":[{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"WindowsUpdateforBusinessCloudExtensions","servicePlanId":"7bf960f6-2cd9-443a-8046-5dbff9558365"},{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"199a5c09-e0ca-4e37-8f7c-b05d533e1ea2"},{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2021-06-22T12:53:06Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2021-04-15T23:12:42Z","capabilityStatus":"Deleted","service":"MIPExchangeSolutions","servicePlanId":"cd31b152-6326-4d1b-ae1b-997b625182e6"},{"assignedTimestamp":"2020-12-22T02:57:47Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"2f442157-a11c-46b9-ae5b-6e39ff4e5849"},{"assignedTimestamp":"2020-12-12T19:37:59Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"18fa3aba-b085-4105-87d7-55617b8585e6"},{"assignedTimestamp":"2020-12-12T19:37:59Z","capabilityStatus":"Enabled","service":"ERP","servicePlanId":"69f07c66-bee4-4222-b051-195095efee5b"},{"assignedTimestamp":"2020-12-12T19:37:59Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"0a05d977-a21a-45b2-91ce-61c240dbafa2"},{"assignedTimestamp":"2020-11-03T22:28:52Z","capabilityStatus":"Deleted","service":"M365CommunicationCompliance","servicePlanId":"a413a9ff-720c-4822-98ef-2f37c2a21f4c"},{"assignedTimestamp":"2020-11-01T23:20:45Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"7e6d7d78-73de-46ba-83b1-6d25117334ba"},{"assignedTimestamp":"2020-10-17T07:52:40Z","capabilityStatus":"Enabled","service":"WorkplaceAnalytics","servicePlanId":"f477b0f0-3bb1-4890-940c-40fcee6ce05f"},{"assignedTimestamp":"2020-08-14T23:42:10Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2020-08-04T06:50:13Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b622badb-1b45-48d5-920f-4b27a2c0996c"},{"assignedTimestamp":"2020-08-04T06:50:13Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"f3d5636e-ddc2-41bf-bba6-ca6fadece269"},{"assignedTimestamp":"2020-06-18T14:35:25Z","capabilityStatus":"Enabled","service":"MicrosoftPrint","servicePlanId":"795f6fe0-cc4d-4773-b050-5dde4dc704c9"},{"assignedTimestamp":"2019-11-06T17:04:14Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"018fb91e-cee3-418c-9063-d7562978bdaf"},{"assignedTimestamp":"2019-11-06T17:04:13Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"ca4be917-fbce-4b52-839e-6647467a1668"},{"assignedTimestamp":"2019-11-05T02:20:38Z","capabilityStatus":"Enabled","service":"WhiteboardServices","servicePlanId":"4a51bca5-1eff-43f5-878c-177680f191af"},{"assignedTimestamp":"2019-11-02T22:23:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2019-11-02T22:23:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2019-11-02T22:23:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"b1188c4c-1b36-4018-b48b-ee07604f6feb"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"5136a095-5cf0-4aff-bec3-e84448b38ea5"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"ProjectProgramsAndPortfolios","servicePlanId":"818523f5-016b-4355-9be8-ed6944946ea7"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb0351d-3b08-4503-993d-383af8de41e3"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"fa200448-008c-4acb-abd4-ea106ed2199d"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"50554c47-71d9-49fd-bc54-42a2765c555c"},{"assignedTimestamp":"2019-11-02T07:19:45Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2019-11-01T16:15:28Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2019-11-01T16:15:28Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2019-11-01T16:15:22Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2019-11-01T16:15:22Z","capabilityStatus":"Enabled","service":"DYN365AISERVICEINSIGHTS","servicePlanId":"1412cdc1-d593-4ad1-9050-40c30ad0b023"},{"assignedTimestamp":"2019-11-01T16:15:22Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2019-11-01T16:15:22Z","capabilityStatus":"Enabled","service":"MicrosoftFormsProTest","servicePlanId":"97f29a83-1a20-44ff-bf48-5e4ad11f3e51"}],"city":"Alpharetta","companyName":"MICROSOFT","consentProvidedForMinor":null,"country":null,"createdDateTime":"2019-11-01T16:02:17Z","creationType":null,"department":"COGS + Data - Cosmos DB","dirSyncEnabled":true,"displayName":"Tom Swedlund","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Tom","immutableId":"1394359","isCompromised":null,"jobTitle":"SENIOR + SOFTWARE ENGINEER","lastDirSyncTime":"2021-05-18T17:14:00Z","legalAgeGroupClassification":null,"mail":"Tom.Swedlund@microsoft.com","mailNickname":"toswedlu","mobile":null,"onPremisesDistinguishedName":"CN=Tom + Swedlund,OU=MSE,OU=Users,OU=CoreIdentity,DC=northamerica,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-124525095-708259637-1543119021-1935644","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"Home + Office","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":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"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":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"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"}],"provisioningErrors":[],"proxyAddresses":["x500:/o=ExchangeLabs/ou=Exchange + Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=2ebd4824ef2c46c5841e482e3c85adb4-Tom + Swedlun","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=009e8ca236604a9382578a8d06057faf-Tom + Swedlund","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=9e50230c03974e18a8ad2d79d74280ac-Tom + Swedlund","smtp:toswedlu@microsoft.onmicrosoft.com","smtp:toswedlu@service.microsoft.com","smtp:toswedlu@microsoft.com","SMTP:Tom.Swedlund@microsoft.com"],"refreshTokensValidFromDateTime":"2020-01-24T19:21:34Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"toswedlu@microsoft.com","state":null,"streetAddress":null,"surname":"Swedlund","telephoneNumber":"+1 + (404) 9050569","thumbnailPhoto@odata.mediaEditLink":"directoryObjects/d186af52-b4be-48d9-9bae-1757adadc29f/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":"US","userIdentities":[],"userPrincipalName":"toswedlu@microsoft.com","userState":null,"userStateChangedOn":null,"userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"1196137","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Krishnamurthy, + Ramnandan","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToEmailName":"RAMKRIS","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_ProfitCenterCode":"P10017802","extension_18e31482d3fb4a8ea958aa96b662f508_PositionNumber":"91853599","extension_18e31482d3fb4a8ea958aa96b662f508_LocationAreaCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CostCenterCode":"10017802","extension_18e31482d3fb4a8ea958aa96b662f508_CompanyCode":"1010","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingName":"HOME + OFFICE","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingID":"99999","extension_18e31482d3fb4a8ea958aa96b662f508_PersonnelNumber":"1394359"}' headers: access-control-allow-origin: - '*' cache-control: - no-cache content-length: - - '20478' + - '16915' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Tue, 22 Jun 2021 05:33:24 GMT + - Wed, 30 Jun 2021 03:48:21 GMT duration: - - '685450' + - '917216' expires: - '-1' ocp-aad-diagnostics-server-name: - - Db5OcHGZuiOwkx1MA+CD+ySfxfyPRCC77G752Q7zlls= + - IfSYIU0zrHiflUUqNOWslbGSxy0Y+zEo0EOOAS9QB9I= ocp-aad-session-key: - - Lc-FWY_cf4RLh_fBjROLGz5VmCx24grIb3OKn54UuGZhYtvhX_chkB4QPGWsXbPg4FheZGAUvZdJ3uTrr6qo3GQZWdZFHFNQB3tnamyaewdjjUKbVDPOS1kjBNiuT4xi.VW3kmE3DWu1nkMDLsprq6istjB01iouMl07plO4LYw4 + - XbWe891D8mgr-dHhOLTDVlpU0bJYyBPPhfQFhuU0UW093yzMDBGeUFqu53nq4kBGcdKarWbjeAs6EsfkCc5YHZlYqnrO_t2IjZhmba65lied0_hnDJrWODSNZb2kOWRS.OJtCEyIfBqpXjaZdSrNdsSmOcrVGpdxoX1rAjZ6WOJo pragma: - no-cache request-id: - - d02fcea1-3005-4416-97dc-1c34b44f18b6 + - 357c4a2e-bd60-478b-8d64-6af2e2fc1ced strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -112,7 +112,7 @@ interactions: - request: body: '{"location": "westus", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "27f82b5d-ce19-4257-a337-dabea1926ae2", + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "d186af52-b4be-48d9-9bae-1757adadc29f", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -137,21 +137,1071 @@ interactions: ParameterSetName: - --resource-group -n --enable-soft-delete --enable-purge-protection User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.006Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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: '{"error":{"code":"MissingSubscriptionRegistration","message":"The subscription + is not registered to use namespace ''Microsoft.KeyVault''. See https://aka.ms/rps-not-found + for how to register subscriptions.","details":[{"code":"MissingSubscriptionRegistration","target":"Microsoft.KeyVault","message":"The + subscription is not registered to use namespace ''Microsoft.KeyVault''. See + https://aka.ms/rps-not-found for how to register subscriptions."}]}}' headers: cache-control: - no-cache content-length: - - '1385' + - '445' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:33:27 GMT + - Wed, 30 Jun 2021 03:48:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 409 + message: Conflict +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/register?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:48:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:48:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:48:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:48:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:49:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:49:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registering"}' + headers: + cache-control: + - no-cache + content-length: + - '9009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:49:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2016-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault","namespace":"Microsoft.KeyVault","authorizations":[{"applicationId":"cfa8b339-82a2-471a-a3c9-0fc0be7a4093","roleDefinitionId":"1cf9858a-28a2-4228-abba-94e606305b95"},{"applicationId":"589d5083-6f11-4d30-a62a-a4b316a14abf"}],"resourceTypes":[{"resourceType":"vaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"vaults/secrets","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"vaults/accessPolicies","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"operations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01","2014-12-19-preview"]},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01","2015-06-01"]},{"resourceType":"deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deletedVaults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/deleteVirtualNetworkOrSubnets","locations":["East + US","North Central US","West Europe","North Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West Central US","West + US 2","West US","Japan East","Japan West","Australia East","Australia Southeast","Australia + Central","Brazil South","Central India","South India","West India","Canada + Central","Canada East","UK South","UK West","Korea Central","Korea South","France + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14","2016-10-01"]},{"resourceType":"vaults/eventGridFilters","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01","2018-02-14-preview","2018-02-14"]},{"resourceType":"managedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview","2020-04-01-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove"},{"resourceType":"deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"locations/deletedManagedHSMs","locations":["East + US 2","South Central US","North Europe","West Europe","Canada Central","Central + US","Switzerland North","South Africa North","UK South","SouthEast Asia","East + Asia","Korea Central","Australia Central","West US","East US"],"apiVersions":["2021-04-01-preview"]},{"resourceType":"vaults/keys","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]},{"resourceType":"vaults/keys/versions","locations":["North + Central US","East US","North Europe","West Europe","East Asia","Southeast + Asia","East US 2","Central US","South Central US","West US","Japan East","Japan + West","Australia East","Australia Southeast","Brazil South","Central India","South + India","West India","Canada Central","Canada East","UK South","UK West","West + Central US","West US 2","Korea Central","Korea South","France Central","Australia + Central","UAE North","South Africa North","Switzerland North","Germany West + Central","Norway East","West US 3","Jio India West"],"apiVersions":["2021-04-01-preview","2020-04-01-preview","2019-09-01"]}],"registrationState":"Registered"}' + headers: + cache-control: + - no-cache + content-length: + - '9008' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:49:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "d186af52-b4be-48d9-9bae-1757adadc29f", + "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"]}}], + "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": + true, "networkAcls": {"bypass": "AzureServices", "defaultAction": "Allow"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + Content-Length: + - '906' + Content-Type: + - application/json + ParameterSetName: + - --resource-group -n --enable-soft-delete --enable-purge-protection + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview + 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":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:44.977Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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 + content-length: + - '1391' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 30 Jun 2021 03:49:37 GMT expires: - '-1' pragma: @@ -169,9 +1219,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -191,21 +1241,21 @@ interactions: ParameterSetName: - --resource-group -n --enable-soft-delete --enable-purge-protection User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.006Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:44.977Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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 content-length: - - '1381' + - '1387' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:33:58 GMT + - Wed, 30 Jun 2021 03:50:07 GMT expires: - '-1' pragma: @@ -223,7 +1273,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-powered-by: - ASP.NET status: @@ -239,7 +1289,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US @@ -267,19 +1317,19 @@ interactions: dataserviceversion: - 3.0; date: - - Tue, 22 Jun 2021 05:33:58 GMT + - Wed, 30 Jun 2021 03:50:08 GMT duration: - - '587690' + - '452519' expires: - '-1' ocp-aad-diagnostics-server-name: - - BMsm3i2zZmymNYYHouvRtVxTe6K7u0bT0q6lJyKnVfs= + - o2W+bEsb3lTocpGslc4ho2LcCIx+P6+WVk/BynigNgk= ocp-aad-session-key: - - IDe896LIK1_1xJEp4Hx5voi7VcD9BbOm-hvAemOD6f4n7dlekmGB-eI5rWloUkRLlsst1xN_lvItsSOoy319eV5yHSeabSFojhLgnL1DuafC8Nbj21w_SSxEdjJgQ4vm.mr5C4KfyyVbveyiQ-XIriZrCHdtIHZiz-SV7tPJjanI + - W_GEV36egB6Z_y6jVxSFoTmjUjqUGviiXzQgQ64RQySr-ZdByE_hs2c_jGw4SEWgKKLGAGyGgjihqvxUVHTP6WV5YHWAci_nJSQ4fKQb02bwrhLjN_ugWUOypNwSEYJw.FVX_I2zrK3ebHvqA3CJM8JZID3LFJSPJq_TtpANR33Y pragma: - no-cache request-id: - - f7e9db36-cebd-4fc4-a25c-df43089ea053 + - f2d2a47b-f470-44ba-a3b7-f4c5af564b89 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -307,21 +1357,21 @@ interactions: ParameterSetName: - -n -g --spn --key-permissions User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.006Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:44.977Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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 content-length: - - '1381' + - '1387' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:33:59 GMT + - Wed, 30 Jun 2021 03:50:08 GMT expires: - '-1' pragma: @@ -339,7 +1389,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-powered-by: - ASP.NET status: @@ -348,7 +1398,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "27f82b5d-ce19-4257-a337-dabea1926ae2", + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "d186af52-b4be-48d9-9bae-1757adadc29f", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -356,7 +1406,7 @@ interactions: "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": ["get", "unwrapKey", "wrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", + "permissions": {"keys": ["wrapKey", "unwrapKey", "get"]}}], "vaultUri": "https://cli000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' headers: @@ -375,21 +1425,21 @@ interactions: ParameterSetName: - -n -g --spn --key-permissions User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.04Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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":["get","unwrapKey","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_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:45.01Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1535' + - '1541' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:34:00 GMT + - Wed, 30 Jun 2021 03:50:09 GMT expires: - '-1' pragma: @@ -407,7 +1457,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-ms-ratelimit-remaining-subscription-writes: - '1199' x-powered-by: @@ -429,7 +1479,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -447,7 +1497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:33:59 GMT + - Wed, 30 Jun 2021 03:50:10 GMT expires: - '-1' pragma: @@ -460,7 +1510,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=67.160.127.89;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=24.125.111.132;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: @@ -484,7 +1534,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -492,7 +1542,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/5c26fdd032f44066aabd08fd450b3bb3","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0RSj6xTQVfHYB32hXxYAPc-yoP-4zaN36D59wlB0Y6RAeapOHzodYafDuA-Kc5gotVQLjU7CUu-1hkpWnQ7VGQOdFEt7isxDJ-7DmkdiY80GMAepjABeNMZbUq-nOylVyvSuHsyvJ98EXIGdD2-jEmVjXTfltGCZ8Es5Ghf4dFWViH8r1QpcM6cG4R6hDvgda82-Zjm1L1o4m0GciY95zyiEiif6uOj5oL6SIU1ORjRpHpcLX9XJxYD4pZuXzTxl4b_b2yf5A1htWG4TxiXAw7YF6P6255QLkM7yL9JM_I5bbR5okIIul_23-VTVl8_hCwzl6yceej1ko-ZXN5UdTYiu2Z6D3aIFdy_esiixdQ_mUmEsVgJvsA-mo_o56npkVO69CpAaowxj24tW1beSuqXXcfraExgSYo49eyeHOxPkoHUginsK1EbiW0yKXtZFOKlOIaNuARU5fHqabDBFay4TcNSD9VOJjJOz8HdwzwDTC4pUIGR8kMf-Z3AfgtAJ","e":"AQAB"},"attributes":{"enabled":true,"created":1624340042,"updated":1624340042,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://cli000002.vault.azure.net/keys/cli000003/5fa1af13f5d14062ae2cfc878d3b84c8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"w2rsZqCD7rPOrr6usNANJ0Lf5szRimBmhrbc5d9AjMMrL6Kb2Cb59DGvAx0-jWQU3YXysIGyq7mpQ53SL_zNa4nRxxR1BocPck4ZTcJMdLnG5HuVt8b7t-8johVCmV6at2yymldHvBXdh3luX0z6Fe_gwSq0KUBdPkVCHyVhQEOaLHfGHegJJWJSMgQUWiBRaWNfojyS4DzTMr7AqIxx6tCqLIYbaVxC4cowsVW5P__4vfgBXBdmK3GbIW3zzvqy1l0yg4kcsBcUUWx-fY6OdxR6Xeg7nvtY8V02op0OgcAuVKBwin-jpoy3VmVOszadDKPHwNy1caRwxWe5mfKMIpQ-SSq8qv0nBjLZS71VEP95FuJ5tsB1TLR5tE62-73ICZBu0AAJCwY9SGTerOGBsjx0ptAfdomw5aJ2Tro_8wIOzhYGiiS0414Pcot9fHKZ_xoXsDZfk75wzhhiYzGO4A6pRAzkw1tWsAKqSFu5ouqtUsaNd_Y9x3sZo9QVasfp","e":"AQAB"},"attributes":{"enabled":true,"created":1625025012,"updated":1625025012,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -501,7 +1551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:34:01 GMT + - Wed, 30 Jun 2021 03:50:12 GMT expires: - '-1' pragma: @@ -511,7 +1561,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=67.160.127.89;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=24.125.111.132;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westus x-ms-keyvault-service-version: @@ -535,12 +1585,12 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (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?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-06-22T05:33:22Z"},"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-06-30T03:48:16Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -549,7 +1599,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:34:02 GMT + - Wed, 30 Jun 2021 03:50:12 GMT expires: - '-1' pragma: @@ -586,20 +1636,20 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:34:07.6701481Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:50:20.4817122Z"},"properties":{"provisioningState":"Creating","publicNetworkAccess":"Enabled","enableAutomaticFailover":false,"enableMultipleWriteLocations":false,"enablePartitionKeyMonitor":false,"isVirtualNetworkFilterEnabled":false,"virtualNetworkRules":[],"EnabledApiTypes":"Sql","disableKeyBasedMetadataWriteAccess":false,"enableFreeTier":false,"enableAnalyticalStorage":false,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"7db283c8-b2d2-452f-a27c-b02c30f31eff","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":"52bcff77-2a43-4cae-bc61-3ee6fe462e1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 cache-control: - no-store, no-cache content-length: @@ -607,9 +1657,9 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:34:10 GMT + - Wed, 30 Jun 2021 03:50:22 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/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 pragma: - no-cache server: @@ -643,9 +1693,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 response: body: string: '{"status":"Dequeued"}' @@ -657,7 +1707,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:34:39 GMT + - Wed, 30 Jun 2021 03:50:52 GMT pragma: - no-cache server: @@ -689,9 +1739,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 response: body: string: '{"status":"Dequeued"}' @@ -703,7 +1753,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:35:10 GMT + - Wed, 30 Jun 2021 03:51:22 GMT pragma: - no-cache server: @@ -735,9 +1785,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 response: body: string: '{"status":"Dequeued"}' @@ -749,7 +1799,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:35:40 GMT + - Wed, 30 Jun 2021 03:51:53 GMT pragma: - no-cache server: @@ -781,9 +1831,9 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/80ec1f40-4df5-4b46-81b7-445fe6c31dd7?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51fd7cd5-e695-4eab-94e1-07051efbcaff?api-version=2021-06-15 response: body: string: '{"status":"Succeeded"}' @@ -795,7 +1845,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:10 GMT + - Wed, 30 Jun 2021 03:52:23 GMT pragma: - no-cache server: @@ -827,17 +1877,17 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"7db283c8-b2d2-452f-a27c-b02c30f31eff","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":"52bcff77-2a43-4cae-bc61-3ee6fe462e1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -846,7 +1896,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:10 GMT + - Wed, 30 Jun 2021 03:52:23 GMT pragma: - no-cache server: @@ -878,17 +1928,17 @@ interactions: ParameterSetName: - -n -g --locations --key-uri --assign-identity --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"7db283c8-b2d2-452f-a27c-b02c30f31eff","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":"52bcff77-2a43-4cae-bc61-3ee6fe462e1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -897,7 +1947,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:10 GMT + - Wed, 30 Jun 2021 03:52:23 GMT pragma: - no-cache server: @@ -929,17 +1979,17 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"7db283c8-b2d2-452f-a27c-b02c30f31eff","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":"52bcff77-2a43-4cae-bc61-3ee6fe462e1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -948,7 +1998,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:11 GMT + - Wed, 30 Jun 2021 03:52:24 GMT pragma: - no-cache server: @@ -984,20 +2034,20 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"7db283c8-b2d2-452f-a27c-b02c30f31eff","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":"52bcff77-2a43-4cae-bc61-3ee6fe462e1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/dda38de0-9831-4ac2-9e70-0e71d6547e6e?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4da3d6a-4d4e-4a50-a945-00edb604680d?api-version=2021-06-15 cache-control: - no-store, no-cache content-length: @@ -1005,9 +2055,9 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:15 GMT + - Wed, 30 Jun 2021 03:52:30 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/dda38de0-9831-4ac2-9e70-0e71d6547e6e?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/a4da3d6a-4d4e-4a50-a945-00edb604680d?api-version=2021-06-15 pragma: - no-cache server: @@ -1023,7 +2073,7 @@ interactions: x-ms-gatewayversion: - version=2.14.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: Ok @@ -1041,9 +2091,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/dda38de0-9831-4ac2-9e70-0e71d6547e6e?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a4da3d6a-4d4e-4a50-a945-00edb604680d?api-version=2021-06-15 response: body: string: '{"status":"Succeeded"}' @@ -1055,7 +2105,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:44 GMT + - Wed, 30 Jun 2021 03:53:00 GMT pragma: - no-cache server: @@ -1087,13 +2137,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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 @@ -1106,7 +2156,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:44 GMT + - Wed, 30 Jun 2021 03:53:00 GMT pragma: - no-cache server: @@ -1138,13 +2188,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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 @@ -1157,7 +2207,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:45 GMT + - Wed, 30 Jun 2021 03:53:00 GMT pragma: - no-cache server: @@ -1193,20 +2243,20 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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/572172a1-6f03-4386-9f5d-6c6ba05d2c01?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d50de6df-7f8f-44e9-92ce-7430a642ecb9?api-version=2021-06-15 cache-control: - no-store, no-cache content-length: @@ -1214,9 +2264,9 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:36:52 GMT + - Wed, 30 Jun 2021 03:53:05 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/572172a1-6f03-4386-9f5d-6c6ba05d2c01?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/d50de6df-7f8f-44e9-92ce-7430a642ecb9?api-version=2021-06-15 pragma: - no-cache server: @@ -1232,7 +2282,7 @@ interactions: x-ms-gatewayversion: - version=2.14.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: Ok @@ -1250,9 +2300,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/572172a1-6f03-4386-9f5d-6c6ba05d2c01?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d50de6df-7f8f-44e9-92ce-7430a642ecb9?api-version=2021-06-15 response: body: string: '{"status":"Succeeded"}' @@ -1264,7 +2314,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:22 GMT + - Wed, 30 Jun 2021 03:53:34 GMT pragma: - no-cache server: @@ -1296,17 +2346,17 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"f15bb2a4-49ff-462d-bde4-59340676de34","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":"83389b12-e831-4558-912c-8b26755a23f1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -1315,7 +2365,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:22 GMT + - Wed, 30 Jun 2021 03:53:35 GMT pragma: - no-cache server: @@ -1347,21 +2397,21 @@ interactions: ParameterSetName: - -n -g --object-id --key-permissions User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.04Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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":["get","unwrapKey","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_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:45.01Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1535' + - '1541' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:37:22 GMT + - Wed, 30 Jun 2021 03:53:36 GMT expires: - '-1' pragma: @@ -1379,7 +2429,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-powered-by: - ASP.NET status: @@ -1388,7 +2438,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "27f82b5d-ce19-4257-a337-dabea1926ae2", + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "d186af52-b4be-48d9-9bae-1757adadc29f", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -1396,9 +2446,9 @@ interactions: "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": ["get", "unwrapKey", "wrapKey"]}}, {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "f15bb2a4-49ff-462d-bde4-59340676de34", "permissions": {"keys": - ["get", "unwrapKey", "wrapKey"]}}], "vaultUri": "https://cli000002.vault.azure.net/", + "permissions": {"keys": ["wrapKey", "unwrapKey", "get"]}}, {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "objectId": "83389b12-e831-4558-912c-8b26755a23f1", "permissions": {"keys": + ["wrapKey", "unwrapKey", "get"]}}], "vaultUri": "https://cli000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' headers: @@ -1417,21 +2467,21 @@ interactions: ParameterSetName: - -n -g --object-id --key-permissions User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.8.2 (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.KeyVault/vaults/cli000002?api-version=2021-04-01-preview 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":{},"systemData":{"createdBy":"amisi@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:12:20.006Z","lastModifiedBy":"amisi@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:12:20.244Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"27f82b5d-ce19-4257-a337-dabea1926ae2","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":["get","unwrapKey","wrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f15bb2a4-49ff-462d-bde4-59340676de34","permissions":{"keys":["get","unwrapKey","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_managed_service_identity000001/providers/Microsoft.KeyVault/vaults/cli000002","name":"cli000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"toswedlu@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:23:44.977Z","lastModifiedBy":"toswedlu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:23:45.217Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"d186af52-b4be-48d9-9bae-1757adadc29f","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","unwrapKey","get"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"83389b12-e831-4558-912c-8b26755a23f1","permissions":{"keys":["wrapKey","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://cli000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1691' + - '1697' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 05:37:23 GMT + - Wed, 30 Jun 2021 03:53:36 GMT expires: - '-1' pragma: @@ -1449,7 +2499,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.23.0 + - 1.5.23.4 x-ms-ratelimit-remaining-subscription-writes: - '1199' x-powered-by: @@ -1471,17 +2521,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"f15bb2a4-49ff-462d-bde4-59340676de34","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":"83389b12-e831-4558-912c-8b26755a23f1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -1490,7 +2540,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:24 GMT + - Wed, 30 Jun 2021 03:53:36 GMT pragma: - no-cache server: @@ -1527,20 +2577,20 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"FirstPartyIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"f15bb2a4-49ff-462d-bde4-59340676de34","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":"83389b12-e831-4558-912c-8b26755a23f1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d16966c6-b20f-44e2-9744-c39ba5745a9c?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/86dfadb8-09f3-4ca5-b022-1f9bb9c4bbf5?api-version=2021-06-15 cache-control: - no-store, no-cache content-length: @@ -1548,9 +2598,9 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:27 GMT + - Wed, 30 Jun 2021 03:53:40 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/d16966c6-b20f-44e2-9744-c39ba5745a9c?api-version=2021-06-15 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cosmosdb_managed_service_identity000001/providers/Microsoft.DocumentDB/databaseAccounts/cli000004/operationResults/86dfadb8-09f3-4ca5-b022-1f9bb9c4bbf5?api-version=2021-06-15 pragma: - no-cache server: @@ -1584,9 +2634,9 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/d16966c6-b20f-44e2-9744-c39ba5745a9c?api-version=2021-06-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/86dfadb8-09f3-4ca5-b022-1f9bb9c4bbf5?api-version=2021-06-15 response: body: string: '{"status":"Succeeded"}' @@ -1598,7 +2648,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:57 GMT + - Wed, 30 Jun 2021 03:54:10 GMT pragma: - no-cache server: @@ -1630,17 +2680,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"f15bb2a4-49ff-462d-bde4-59340676de34","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":"83389b12-e831-4558-912c-8b26755a23f1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -1649,7 +2699,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:57 GMT + - Wed, 30 Jun 2021 03:54:10 GMT pragma: - no-cache server: @@ -1681,17 +2731,17 @@ interactions: ParameterSetName: - -n -g --default-identity User-Agent: - - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.25.0 azsdk-python-mgmt-cosmosdb/6.4.0 Python/3.8.2 (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-06-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-06-22T05:35:13.0309406Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"0551ede9-3188-4c8e-b583-85ab29126562","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","disableLocalAuth":false,"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-06-30T03:51:25.7374071Z"},"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,"analyticalStorageConfiguration":{"analyticalStorageSchemaType":"WellDefined"},"instanceId":"c474d299-6b64-4ee1-9310-46b785667e89","createMode":"Default","databaseAccountOfferType":"Standard","keyVaultKeyUri":"https://cli000002.vault.azure.net/keys/cli000003","defaultIdentity":"SystemAssignedIdentity","networkAclBypass":"None","disableLocalAuth":false,"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":"f15bb2a4-49ff-462d-bde4-59340676de34","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":"83389b12-e831-4558-912c-8b26755a23f1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47"}}' headers: cache-control: - no-store, no-cache @@ -1700,7 +2750,7 @@ interactions: content-type: - application/json date: - - Tue, 22 Jun 2021 05:37:57 GMT + - Wed, 30 Jun 2021 03:54:11 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 b133f1d11d3..a72e579b4e2 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 @@ -47,9 +47,10 @@ interactions: {"defaultConsistencyLevel": "ConsistentPrefix", "maxStalenessPrefix": 100, "maxIntervalInSeconds": 5}, "locations": [{"locationName": "westus", "failoverPriority": 0, "isZoneRedundant": false}], "databaseAccountOfferType": "Standard", "enableAutomaticFailover": - true, "apiProperties": {}, "createMode": "Default", "backupPolicy": {"type": - "Periodic", "periodicModeProperties": {"backupIntervalInMinutes": 480, "backupRetentionIntervalInHours": - 8}}, "networkAclBypass": "AzureServices", "networkAclBypassResourceIds": ["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"]}}' + true, "apiProperties": {}, "createMode": "Default", "backupPolicy": {"type": "Periodic", "periodicModeProperties": + {"backupIntervalInMinutes": 480, "backupRetentionIntervalInHours": 8}}, "networkAclBypass": + "AzureServices", "networkAclBypassResourceIds": ["/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName"], + "analyticalStorageConfiguration":{"schemaType":"WellDefined"}}}' headers: Accept: - application/json diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/test_cosmosdb_commands.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/test_cosmosdb_commands.py index 14f79101cc6..3e99c626017 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/test_cosmosdb_commands.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/test_cosmosdb_commands.py @@ -11,6 +11,31 @@ class CosmosDBTests(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_account') + def test_cosmosdb_analytical_storage_schema_type_on_create(self, resource_group): + self.kwargs.update({ + 'acc': self.create_random_name(prefix='cli', length=40) + }) + + schemaType = "FullFidelity" + self.cmd('az cosmosdb create -n {acc} -g {rg} --analytical-storage-schema-type ' + schemaType) + self.cmd('az cosmosdb show -n {acc} -g {rg}', checks=[ + self.check('analyticalStorageConfiguration.schemaType', schemaType) + ]) + + @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_account') + def test_cosmosdb_analytical_storage_schema_type_on_update(self, resource_group): + self.kwargs.update({ + 'acc': self.create_random_name(prefix='cli', length=40) + }) + + self.cmd('az cosmosdb create -n {acc} -g {rg} --analytical-storage-schema-type FullFidelity') + schemaType = "WellDefined" + self.cmd('az cosmosdb update -n {acc} -g {rg} --analytical-storage-schema-type ' + schemaType) + self.cmd('az cosmosdb show -n {acc} -g {rg}', checks=[ + self.check('analyticalStorageConfiguration.schemaType', schemaType) + ]) + @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_account') def test_create_database_account(self, resource_group): network_acl_bypass_resource_id = '/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName'