diff --git a/src/azure-cli/azure/cli/command_modules/backup/_help.py b/src/azure-cli/azure/cli/command_modules/backup/_help.py index b4a35fee70d..c579d2ab430 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/_help.py +++ b/src/azure-cli/azure/cli/command_modules/backup/_help.py @@ -495,12 +495,32 @@ text: az backup vault show --name MyRecoveryServicesVault --resource-group MyResourceGroup crafted: true """ -helps['backup vault update'] = """ +helps['backup vault identity'] = """ +type: group +short-summary: Identity details of a Recovery Services Vault. +""" +helps['backup vault identity assign'] = """ +type: command +short-summary: Assign Identities to Recovery Services vault. +examples: + - name: Assign Identities to Recovery Services vault. (autogenerated) + text: az backup vault identity assign --system-assigned --user-assigned MyIdentityId1 --resource-group MyResourceGroup --vault-name MyVault + crafted: true +""" +helps['backup vault identity remove'] = """ +type: command +short-summary: Remove Identities of Recovery Services vault. +examples: + - name: Remove Identities of Recovery Services vault. (autogenerated) + text: az backup vault identity remove --system-assigned --user-assigned MyIdentityId1 --resource-group MyResourceGroup --vault-name MyVault + crafted: true +""" +helps['backup vault identity show'] = """ type: command -short-summary: Update an existing Recovery Services vault. +short-summary: Show Identities of Recovery Services vault. examples: - - name: Update an existing Recovery services vault. (autogenerated) - text: az backup vault update --identity-type None --resource-group MyResourceGroup --vault-name MyVault + - name: Show Identities of Recovery Services vault. (autogenerated) + text: az backup vault identity show --resource-group MyResourceGroup --vault-name MyVault crafted: true """ helps['backup vault encryption'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/backup/_params.py b/src/azure-cli/azure/cli/command_modules/backup/_params.py index 8b9dc914c02..5d92dea89eb 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/_params.py +++ b/src/azure-cli/azure/cli/command_modules/backup/_params.py @@ -28,7 +28,6 @@ allowed_target_tier_type_chk_archivable = ['VaultArchive'] allowed_tier_type = ['VaultStandard', 'Snapshot', 'VaultArchive', 'VaultStandardRehydrated', 'SnapshotAndVaultStandard', 'SnapshotAndVaultArchive'] allowed_rehyd_priority_type = ['Standard', 'High'] -allowed_identity_types = ['systemassigned', 'userassigned', 'none'] backup_management_type_help = """Specifiy the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.""" container_name_help = """Name of the backup container. Accepts 'Name' or 'FriendlyName' from the output of az backup container list command. If 'FriendlyName' is passed then BackupManagementType is required.""" @@ -73,11 +72,11 @@ target_tier_type = CLIArgumentType(help=target_tier_help, arg_type=get_enum_type(allowed_target_tier_type_chk_archivable), options_list=['--target-tier']) tier_type = CLIArgumentType(help=tier_help, arg_type=get_enum_type(allowed_tier_type), options_list=['--tier']) rehyd_priority_type = CLIArgumentType(help=rehyd_priority_type_help, arg_type=get_enum_type(allowed_rehyd_priority_type), options_list=['--rehydration-priority']) -identity_type = CLIArgumentType(options_list=['--identity-type'], arg_type=get_enum_type(allowed_identity_types), help="The identity type to be enabled for this vault, whether it is systemassigned, userassigned or none") -identity_id_type = CLIArgumentType(nargs='+', options_list=['--identity-id'], help="Space-separated list of userassigned identities. This will be applicable only for userassigned identity type") user_assigned_identity_id_type = CLIArgumentType(options_list=['--identity-id'], help="UserAssigned Identity Id to be used for CMK encryption, this will be applicable for encryption using userassigned identity") encryption_key_id_type = CLIArgumentType(options_list=['--encryption-key-id'], help="The encryption key id you want to use for encryption") infrastructure_encryption_type = CLIArgumentType(options_list=['--infrastructure-encryption'], arg_type=get_enum_type(['Enabled', 'Disabled']), help=infrastructure_encryption_type_help) +user_assigned_type = CLIArgumentType(nargs='+', options_list=['--user-assigned'], help="Space-separated list of userassigned identities.") +user_assigned_remove_type = CLIArgumentType(nargs='*', options_list=['--user-assigned'], help="Space-separated list of userassigned identities.") # pylint: disable=too-many-statements @@ -100,12 +99,18 @@ def load_arguments(self, _): c.argument('cross_region_restore_flag', arg_type=get_enum_type(['True', 'False']), help='Set cross-region-restore feature state for a Recovery Services Vault. Default: False.') # Identity - with self.argument_context('backup vault update') as c: + with self.argument_context('backup vault identity assign') as c: + c.argument('vault_name', vault_name_type) + c.argument('system_assigned', action='store_true', options_list=['--system-assigned'], help="Provide this flag to enable system assigned identity for Recovery Services Vault.") + c.argument('user_assigned', user_assigned_type) + + with self.argument_context('backup vault identity remove') as c: + c.argument('vault_name', vault_name_type) + c.argument('system_assigned', action='store_true', options_list=['--system-assigned'], help="Provide this flag to enable system assigned identity for Recovery Services Vault.") + c.argument('user_assigned', user_assigned_remove_type) + + with self.argument_context('backup vault identity show') as c: c.argument('vault_name', vault_name_type) - c.argument('identity_type', identity_type) - c.argument('identity_id', identity_id_type) - c.argument('remove_user_assigned', action='store_true', help="Use this flag to remove user assigned identity") - c.argument('remove_system_assigned', action='store_true', help="Use this flag to remove system assigned identity") # Encryption with self.argument_context('backup vault encryption') as c: diff --git a/src/azure-cli/azure/cli/command_modules/backup/commands.py b/src/azure-cli/azure/cli/command_modules/backup/commands.py index a48987826f0..a3b8a603321 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/commands.py +++ b/src/azure-cli/azure/cli/command_modules/backup/commands.py @@ -34,7 +34,9 @@ def load_command_table(self, _): g.custom_command('backup-properties show', 'get_backup_properties', client_factory=backup_storage_configs_cf) g.custom_command('backup-properties set', 'set_backup_properties', client_factory=backup_storage_configs_cf) g.custom_command('delete', 'delete_vault', confirmation=True) - g.custom_command('update', 'update_vault') + g.custom_command('identity assign', 'assign_identity') + g.custom_command('identity remove', 'remove_identity') + g.custom_command('identity show', 'show_identity') g.custom_command('encryption update', 'update_encryption') g.custom_command('encryption show', 'show_encryption', client_factory=backup_resource_encryption_config_cf) diff --git a/src/azure-cli/azure/cli/command_modules/backup/custom.py b/src/azure-cli/azure/cli/command_modules/backup/custom.py index 0fc55ab3192..3a770b0a92f 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/custom.py +++ b/src/azure-cli/azure/cli/command_modules/backup/custom.py @@ -189,46 +189,31 @@ def list_vaults(client, resource_group_name=None): return client.list_by_subscription_id() -def update_vault(client, resource_group_name, vault_name, identity_type=None, identity_id=None, - remove_user_assigned=None, remove_system_assigned=None): - +def assign_identity(client, resource_group_name, vault_name, system_assigned=None, user_assigned=None): vault_details = client.get(resource_group_name, vault_name) curr_identity_details = vault_details.identity curr_identity_type = 'none' + identity_type = 'none' + user_assigned_identity = None if curr_identity_details is not None: curr_identity_type = curr_identity_details.type.lower() - user_assigned_identity = None - if identity_type is not None: - if remove_user_assigned or remove_system_assigned: - raise MutuallyExclusiveArgumentError("Addition and Deletion of identities are not possible at same time.") - - identity_type = identity_type.replace(" ", "").lower() - - if identity_type in ["none", "systemassigned"]: - if identity_id is not None: - raise ArgumentUsageError("--identiy-id paramter is only supported for UserAssigned identities.") - - if curr_identity_type in ["systemassigned, userassigned", "userassigned"]: - if identity_type == "systemassigned": - identity_type = 'systemassigned,userassigned' - elif identity_type == 'userassigned': - if identity_id is None: - raise RequiredArgumentMissingError("Please provide identity id using --identity-id parameter.") - - userid = UserIdentity() - user_assigned_identity = dict() - for element in identity_id: - user_assigned_identity[element] = userid - if curr_identity_type in ["systemassigned", "systemassigned, userassigned"]: - identity_type = 'systemassigned,userassigned' - - elif remove_system_assigned or remove_user_assigned: - return _remove_identities(client, resource_group_name, vault_name, curr_identity_details, - curr_identity_type, identity_id, remove_user_assigned, - remove_system_assigned) + if user_assigned is not None: + userid = UserIdentity() + user_assigned_identity = dict() + for userMSI in user_assigned: + user_assigned_identity[userMSI] = userid + if system_assigned is not None or curr_identity_type in ["systemassigned", "systemassigned, userassigned"]: + identity_type = "systemassigned,userassigned" + else: + identity_type = "userassigned" + elif system_assigned is not None: + if curr_identity_type in ["systemassigned, userassigned", "userassigned"]: + identity_type = "systemassigned,userassigned" + else: + identity_type = "systemassigned" else: raise RequiredArgumentMissingError( """ @@ -240,73 +225,94 @@ def update_vault(client, resource_group_name, vault_name, identity_type=None, id return client.begin_update(resource_group_name, vault_name, vault) -def _remove_identities(client, resource_group_name, vault_name, curr_identity_details, curr_identity_type, - identity_id, remove_user_assigned, remove_system_assigned): - identity_type = None +def remove_identity(client, resource_group_name, vault_name, system_assigned=None, user_assigned=None): + vault_details = client.get(resource_group_name, vault_name) + + curr_identity_details = vault_details.identity + curr_identity_type = 'none' user_assigned_identity = None - if remove_user_assigned and remove_system_assigned: - raise MutuallyExclusiveArgumentError( - """ - Both system and user assigned identities can't be removed at same time. - """) + identity_type = 'none' - if remove_system_assigned: - if identity_id is not None: - raise MutuallyExclusiveArgumentError( - """ - --identiy-id paramter is only supported for UserAssigned identities - """) - if curr_identity_type not in ["systemassigned", "systemassigned, userassigned"]: - raise ArgumentUsageError( - """ - System assigned identity is not enabled for Recovery Services Vault. - """) - if curr_identity_type == 'systemassigned': - identity_type = 'none' - else: - identity_type = 'userassigned' - else: + if curr_identity_details is not None: + curr_identity_type = curr_identity_details.type.lower() + + if user_assigned is not None: if curr_identity_type not in ["userassigned", "systemassigned, userassigned"]: raise ArgumentUsageError( """ There are no user assigned identities to be removed. """) - if identity_id is None: - raise RequiredArgumentMissingError( - """ - Please provide identity ids to be removed using --identity-id parameter. - """) - userid = None remove_count_of_userMSI = 0 totaluserMSI = 0 user_assigned_identity = dict() for element in curr_identity_details.user_assigned_identities.keys(): - if element in identity_id: + if element in user_assigned: remove_count_of_userMSI += 1 totaluserMSI += 1 - - for userMSI in identity_id: + if len(user_assigned) == 0: + remove_count_of_userMSI = totaluserMSI + for userMSI in user_assigned: user_assigned_identity[userMSI] = userid - - if curr_identity_type == 'systemassigned, userassigned': + if system_assigned is not None: + if curr_identity_type != "systemassigned, userassigned": + raise ArgumentUsageError( + """ + System assigned identity is not enabled for Recovery Services Vault. + """) if remove_count_of_userMSI == totaluserMSI: - identity_type = 'systemassigned' + identity_type = 'none' user_assigned_identity = None else: - identity_type = 'systemassigned,userassigned' + identity_type = "userassigned" else: - if remove_count_of_userMSI == totaluserMSI: - identity_type = 'none' - user_assigned_identity = None + if curr_identity_type == 'systemassigned, userassigned': + if remove_count_of_userMSI == totaluserMSI: + identity_type = 'systemassigned' + user_assigned_identity = None + else: + identity_type = 'systemassigned,userassigned' else: - identity_type = 'userassigned' + if remove_count_of_userMSI == totaluserMSI: + identity_type = 'none' + user_assigned_identity = None + else: + identity_type = 'userassigned' + elif system_assigned is not None: + return _remove_system_identity(client, resource_group_name, vault_name, curr_identity_type) + else: + raise RequiredArgumentMissingError( + """ + Invalid parameters, no operation specified. + """) identity_data = IdentityData(type=identity_type, user_assigned_identities=user_assigned_identity) vault = PatchVault(identity=identity_data) return client.begin_update(resource_group_name, vault_name, vault) +def _remove_system_identity(client, resource_group_name, vault_name, curr_identity_type): + user_assigned_identity = None + identity_type = 'none' + if curr_identity_type not in ["systemassigned", "systemassigned, userassigned"]: + raise ArgumentUsageError( + """ + System assigned identity is not enabled for Recovery Services Vault. + """) + if curr_identity_type == 'systemassigned': + identity_type = 'none' + else: + identity_type = 'userassigned' + + identity_data = IdentityData(type=identity_type, user_assigned_identities=user_assigned_identity) + vault = PatchVault(identity=identity_data) + return client.begin_update(resource_group_name, vault_name, vault) + + +def show_identity(client, resource_group_name, vault_name): + return client.get(resource_group_name, vault_name).identity + + def update_encryption(cmd, client, resource_group_name, vault_name, encryption_key_id, infrastructure_encryption=None, identity_id=None, use_systemassigned_identity=None): keyVaultproperties = CmkKeyVaultProperties(key_uri=encryption_key_id) diff --git a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_encryption.yaml b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_encryption.yaml index e8f6439cf90..f9c96c8d292 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_encryption.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A29%3A35.8086023Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A46%3A58.7332087Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:29:36 GMT + - Thu, 15 Jul 2021 13:47:00 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '208' status: code: 201 message: Created @@ -70,7 +70,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A29%3A44.5527092Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A47%3A07.6045897Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:29:45 GMT + - Thu, 15 Jul 2021 13:47:08 GMT expires: - '-1' pragma: @@ -114,7 +114,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-14T10:29:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-15T13:46:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:27 GMT + - Thu, 15 Jul 2021 13:47:50 GMT expires: - '-1' pragma: @@ -163,7 +163,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","name":"clitest-identity1000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"dfc48124-f6fa-48ee-b497-6db119a054d5","clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=dfc48124-f6fa-48ee-b497-6db119a054d5&aid=3e2a3d67-f23c-48c0-9338-ce435b35560e"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","name":"clitest-identity1000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=54c92340-2f4d-453e-b7fd-ff518cd89c2a&aid=755dd0d4-d86a-448f-ae4b-5d5c88cb2913"}}' headers: cache-control: - no-cache @@ -172,7 +172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:38 GMT + - Thu, 15 Jul 2021 13:48:01 GMT expires: - '-1' location: @@ -212,7 +212,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","name":"clitest-identity1000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"dfc48124-f6fa-48ee-b497-6db119a054d5","clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=dfc48124-f6fa-48ee-b497-6db119a054d5&aid=3e2a3d67-f23c-48c0-9338-ce435b35560e"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","name":"clitest-identity1000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=54c92340-2f4d-453e-b7fd-ff518cd89c2a&aid=755dd0d4-d86a-448f-ae4b-5d5c88cb2913"}}' headers: cache-control: - no-cache @@ -221,7 +221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:40 GMT + - Thu, 15 Jul 2021 13:48:04 GMT expires: - '-1' pragma: @@ -256,7 +256,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-14T10:29:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-15T13:46:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:40 GMT + - Thu, 15 Jul 2021 13:48:03 GMT expires: - '-1' pragma: @@ -305,7 +305,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","name":"clitest-identity2000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=cccd01ae-ff73-4adb-9dd9-46144b0a77b8&aid=0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","name":"clitest-identity2000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=17ecbf8f-e8fd-427b-9ac5-fe67592251a0&aid=7c75d1ed-656a-49e5-a5d4-b76c2d121c32"}}' headers: cache-control: - no-cache @@ -314,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:50 GMT + - Thu, 15 Jul 2021 13:48:11 GMT expires: - '-1' location: @@ -354,7 +354,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","name":"clitest-identity2000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=cccd01ae-ff73-4adb-9dd9-46144b0a77b8&aid=0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","name":"clitest-identity2000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=17ecbf8f-e8fd-427b-9ac5-fe67592251a0&aid=7c75d1ed-656a-49e5-a5d4-b76c2d121c32"}}' headers: cache-control: - no-cache @@ -363,7 +363,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:30:52 GMT + - Thu, 15 Jul 2021 13:48:13 GMT expires: - '-1' pragma: @@ -387,18 +387,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A29%3A35.8086023Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A46%3A58.7332087Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -407,7 +407,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:30:52 GMT + - Thu, 15 Jul 2021 13:48:15 GMT expires: - '-1' pragma: @@ -435,7 +435,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -443,7 +443,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -453,17 +453,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:30:56 GMT + - Thu, 15 Jul 2021 13:48:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -471,7 +471,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '208' status: code: 202 message: Accepted @@ -483,23 +483,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=\",\r\n - \ \"name\": \"NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=\",\r\n + \ \"name\": \"NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -507,11 +507,11 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:31:57 GMT + - Thu, 15 Jul 2021 13:49:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 pragma: - no-cache server: @@ -535,19 +535,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=\",\r\n - \ \"name\": \"NDA5NTs5NDlkNTc1ZS0wOGI0LTRjNGQtODhmNC1kOTQxZDUwNDQ5ODg=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=\",\r\n + \ \"name\": \"NDA5NTsyNTQ5NGI4Yi02MzdmLTRlYzYtODE0Ny1hYjVkODM3MGQ4MmU=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -557,7 +557,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:32:57 GMT + - Thu, 15 Jul 2021 13:50:18 GMT expires: - '-1' pragma: @@ -583,27 +583,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A32%3A00.4631579Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A49%3A21.73508Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1358' + - '1356' content-type: - application/json date: - - Wed, 14 Jul 2021 10:32:58 GMT + - Thu, 15 Jul 2021 13:50:19 GMT expires: - '-1' pragma: @@ -629,27 +629,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A32%3A00.4631579Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A49%3A21.73508Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1358' + - '1356' content-type: - application/json date: - - Wed, 14 Jul 2021 10:32:58 GMT + - Thu, 15 Jul 2021 13:50:20 GMT expires: - '-1' pragma: @@ -675,7 +675,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -683,7 +683,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -693,17 +693,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:33:03 GMT + - Thu, 15 Jul 2021 13:50:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -711,7 +711,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '208' status: code: 202 message: Accepted @@ -723,23 +723,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=\",\r\n - \ \"name\": \"NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=\",\r\n + \ \"name\": \"NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -747,11 +747,11 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:34:03 GMT + - Thu, 15 Jul 2021 13:51:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 pragma: - no-cache server: @@ -775,19 +775,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=\",\r\n - \ \"name\": \"NDA5NTsxOGZlNDNkMC1iN2Y0LTQxMWQtOWQ2YS0yNDU1NGMwOTExYjE=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=\",\r\n + \ \"name\": \"NDA5NTtjMDU4NDM2OS00YmQ3LTQ5MTctYTYyYi0zYTE3YTg3MTFjZTM=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -797,7 +797,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:35:04 GMT + - Thu, 15 Jul 2021 13:52:26 GMT expires: - '-1' pragma: @@ -823,19 +823,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A34%3A06.2793845Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A51%3A28.5462349Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -844,7 +844,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:35:04 GMT + - Thu, 15 Jul 2021 13:52:27 GMT expires: - '-1' pragma: @@ -870,18 +870,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A29%3A44.5527092Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A47%3A07.6045897Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -890,7 +890,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:35:05 GMT + - Thu, 15 Jul 2021 13:52:28 GMT expires: - '-1' pragma: @@ -917,7 +917,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -925,7 +925,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -935,17 +935,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtjZmZmMGRmOC0zOTNjLTQwMzMtOTkzYy1jNWM5ZjJhMDVhMGI=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxOWNmMjMwYy04ZTQ2LTRmYmYtYTY5OC1hMzZhZmNhMDQ0YWI=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:35:08 GMT + - Thu, 15 Jul 2021 13:52:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTtjZmZmMGRmOC0zOTNjLTQwMzMtOTkzYy1jNWM5ZjJhMDVhMGI=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTsxOWNmMjMwYy04ZTQ2LTRmYmYtYTY5OC1hMzZhZmNhMDQ0YWI=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -953,7 +953,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '208' + - '209' status: code: 202 message: Accepted @@ -965,19 +965,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtjZmZmMGRmOC0zOTNjLTQwMzMtOTkzYy1jNWM5ZjJhMDVhMGI=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxOWNmMjMwYy04ZTQ2LTRmYmYtYTY5OC1hMzZhZmNhMDQ0YWI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtjZmZmMGRmOC0zOTNjLTQwMzMtOTkzYy1jNWM5ZjJhMDVhMGI=\",\r\n - \ \"name\": \"NDA5NTtjZmZmMGRmOC0zOTNjLTQwMzMtOTkzYy1jNWM5ZjJhMDVhMGI=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxOWNmMjMwYy04ZTQ2LTRmYmYtYTY5OC1hMzZhZmNhMDQ0YWI=\",\r\n + \ \"name\": \"NDA5NTsxOWNmMjMwYy04ZTQ2LTRmYmYtYTY5OC1hMzZhZmNhMDQ0YWI=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -987,7 +987,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:36:09 GMT + - Thu, 15 Jul 2021 13:53:38 GMT expires: - '-1' pragma: @@ -1013,27 +1013,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A36%3A09.9377083Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A53%3A38.651756Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1001' + - '1000' content-type: - application/json date: - - Wed, 14 Jul 2021 10:36:09 GMT + - Thu, 15 Jul 2021 13:53:38 GMT expires: - '-1' pragma: @@ -1059,27 +1059,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A36%3A09.9377083Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A53%3A38.651756Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1001' + - '1000' content-type: - application/json date: - - Wed, 14 Jul 2021 10:36:12 GMT + - Thu, 15 Jul 2021 13:53:40 GMT expires: - '-1' pragma: @@ -1105,7 +1105,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -1113,7 +1113,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -1123,17 +1123,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs4NDY2MGE1ZC1kM2ZlLTQwNzQtYTRjYy0wNTMzZjc2MzliNzU=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:36:18 GMT + - Thu, 15 Jul 2021 13:53:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTs4NDY2MGE1ZC1kM2ZlLTQwNzQtYTRjYy0wNTMzZjc2MzliNzU=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -1141,7 +1141,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '208' + - '209' status: code: 202 message: Accepted @@ -1153,19 +1153,71 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned -g -v + User-Agent: + - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=\",\r\n + \ \"name\": \"NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=\",\r\n + \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 + cache-control: + - no-cache + content-length: + - '425' + content-type: + - application/json + date: + - Thu, 15 Jul 2021 13:54:45 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs4NDY2MGE1ZC1kM2ZlLTQwNzQtYTRjYy0wNTMzZjc2MzliNzU=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs4NDY2MGE1ZC1kM2ZlLTQwNzQtYTRjYy0wNTMzZjc2MzliNzU=\",\r\n - \ \"name\": \"NDA5NTs4NDY2MGE1ZC1kM2ZlLTQwNzQtYTRjYy0wNTMzZjc2MzliNzU=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=\",\r\n + \ \"name\": \"NDA5NTtkZjVjYzY4MS0zNmE4LTRjMTctYmE1OC05ZWM2YmMwMmIyOWU=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -1175,7 +1227,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:37:20 GMT + - Thu, 15 Jul 2021 13:55:45 GMT expires: - '-1' pragma: @@ -1201,28 +1253,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A36%3A20.392005Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A54%3A46.6836559Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"77413764-8f48-40f2-82c2-ff0b97711730","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1069' + - '1070' content-type: - application/json date: - - Wed, 14 Jul 2021 10:37:20 GMT + - Thu, 15 Jul 2021 13:55:45 GMT expires: - '-1' pragma: @@ -1261,7 +1313,7 @@ interactions: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/suanavlt/providers/Microsoft.KeyVault/vaults/suanaKV","name":"suanaKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg/providers/Microsoft.KeyVault/vaults/surraikeyvaultecy1","name":"surraikeyvaultecy1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg1/providers/Microsoft.KeyVault/vaults/surraikeyvault1","name":"surraikeyvault1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/TestKVAdkayeth","name":"TestKVAdkayeth","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/adkayethKV","name":"adkayethKV","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/testsw100","name":"testsw100","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestkv500","name":"swtestkv500","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookalKV","name":"prnookalKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookal","name":"prnookal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-WUS2/providers/Microsoft.KeyVault/vaults/ashtestkeyvault","name":"ashtestkeyvault","type":"Microsoft.KeyVault/vaults","location":"westus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anampelly-srunnert-rg/providers/Microsoft.KeyVault/vaults/SrunnerResourcePFX-tst","name":"SrunnerResourcePFX-tst","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ProtScalePerfAI/providers/Microsoft.KeyVault/vaults/protscaleperfa5760484711","name":"protscaleperfa5760484711","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.KeyVault/vaults/testKV01234","name":"testKV01234","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{"Owner":"adbalaji","MAB Used":"Yes","Purpose":"Testing","DeleteBy":"06-2021"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/modubey/providers/Microsoft.KeyVault/vaults/DSMove-bvt-testKV","name":"DSMove-bvt-testKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test123/providers/Microsoft.KeyVault/vaults/test123vault456","name":"test123vault456","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestpgauth","name":"swtestpgauth","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{" - Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed + Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bhaskerkCCYRG/providers/Microsoft.KeyVault/vaults/bhaskerkOSSSecret","name":"bhaskerkOSSSecret","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed ":"yes","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy","name":"prnookal-ccy","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"MabUsed":"Yes","Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV","name":"jakavetKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV24","name":"jakavetKV24","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal-2","name":"testvkatyal-2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-t","name":"prnookal-ccy-t","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-i","name":"prnookal-ccy-i","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/ccysecretSGrvalec","name":"ccysecretSGrvalec","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"MAB @@ -1270,11 +1322,11 @@ interactions: cache-control: - no-cache content-length: - - '6786' + - '7029' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:21 GMT + - Thu, 15 Jul 2021 13:55:46 GMT expires: - '-1' pragma: @@ -1307,7 +1359,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:18.594Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:56.836Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1316,7 +1368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:23 GMT + - Thu, 15 Jul 2021 13:55:48 GMT expires: - '-1' pragma: @@ -1374,7 +1426,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.044Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.349Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1383,7 +1435,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:23 GMT + - Thu, 15 Jul 2021 13:55:49 GMT expires: - '-1' pragma: @@ -1441,7 +1493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:24 GMT + - Thu, 15 Jul 2021 13:55:50 GMT expires: - '-1' pragma: @@ -1487,7 +1539,7 @@ interactions: uri: https://clitest000004.vault.azure.net/keys/clitest-key1000005/create?api-version=7.0 response: body: - string: '{"key":{"kid":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","kty":"RSA","key_ops":["decrypt","encrypt","sign","unwrapKey","verify","wrapKey"],"n":"rrWLv79WLi1JuR4YLIBne3WfsFjzJKWhnOk_dcXRbPhy1xolU3ayXF1puJP9HLs6W7EaYoFfknfHrxSwsjIbCKpl0svOR4FmbwKeJCBqwitktd530nHAXFaGW8PfXgWa3f3m2iL5-4JBc8DpnO9vcSYSBl8TtETBzlV46UCyEzgr3Q5Yxd8VA4XYWEqx1dt8Oi8VZSGlWgzpEqgkdR_F0lhj9qxfopxeSgbfjuo979C9GvwqmKOPyPmE-ZWHLsHArFKtS5lVD5c0h4kag2aKphRG35CbGIEqp5F3tr1aM-jYIYgGoE9W9mQ_DwkQtQHLX_pC7DfI5zSvW-CQryb6SQ","e":"AQAB"},"attributes":{"enabled":true,"created":1626259046,"updated":1626259046,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","kty":"RSA","key_ops":["decrypt","encrypt","sign","unwrapKey","verify","wrapKey"],"n":"2Gfszn4aFnr69Dvl64rBwG4JrQdBXGsCqzjLpUwbqhJ0n4omBRIf2txL2cS7kvHLJXzMCEzbkjhIlP-TNfQJRr0l-hFzt5JorGPpwLrcjYS1Jd9DjUMD66KMSUMo6TMy3zhQ--oWZVZUE5D1SrIVjcpNSNVuEQjCHRNxyFZLsKlCX_zLOPJxJgbiTo6bxInxOtW0sbYgXD0uskiUOz69CW-KnTS0CMlbPhtMfz6nNyb4AxVExA-GbZgzqdLTmoVPW5QWZ8WS3vf2b8Y92-jYMveEfcmkjnhpipalNTpMvZQ4G12rLr3ZfB7xz74olZJcJ7vk0vz3h_OFsFu4TzYc-Q","e":"AQAB"},"attributes":{"enabled":true,"created":1626357352,"updated":1626357352,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -1496,7 +1548,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:25 GMT + - Thu, 15 Jul 2021 13:55:52 GMT expires: - '-1' pragma: @@ -1539,7 +1591,7 @@ interactions: uri: https://clitest000004.vault.azure.net/keys/clitest-key2000006/create?api-version=7.0 response: body: - string: '{"key":{"kid":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66","kty":"RSA","key_ops":["decrypt","encrypt","sign","unwrapKey","verify","wrapKey"],"n":"1KspgaZkP_cfEwqix6FAPdcZqQZ0xISd9CxqQcNXJZpz-6ZwMG7BBuP0Syi6KP9djUuAfTy7TuVrcDQaxIBr32JkmXU4X0W4HaLvRnnTEDpwWe1yBCZxz7sSebiTY3OjnEMM8EDLhlddEiNc6hHkknHc3Ww7pKOa3FowRjpk8S1Sbvtrz9RbtYVjAWWZOFQJKZyfbDamleqUy7BoDklpIbtAZPHJhxz5OZE5bXCyGfUYX2UAFjQT4L8uksvGBi48lgOgOCjSyVo5Twto481s8OYK3nd-6fnham8vmACtp5hAneaOz5YFIp70UOnuSmr2kmgieduFUXQN3EnSWoVMEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1626259047,"updated":1626259047,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2","kty":"RSA","key_ops":["decrypt","encrypt","sign","unwrapKey","verify","wrapKey"],"n":"4js6AFVjjl_yKZONWIKxYX_4qO8ZslXP4b4aQy7jiSXNvoZ6fYHLsWck_Yd-qKhaAjuajrdufnxNdIsYEtsm6aYrTV8xiYu72dEwYEGdM25uB6xMoUNXAdhYKwA8SFCBLl9Fx_oQHgUl06TTqtSJdCa5h2pscaRrKBWXc2OMdQdZkiMAp20QESBnm0NqtAopjBPMw-5FcdPUhK6W3slKiE7Vaw0bnILnDZh19f8RNN-AxINqaFjM2sSmR7jAfA_1lR1YpXHB2dq6YIpCDrOyrhfw_JTKYMYmm7oVq-HTFQqhC2t6lxvJixurzsezAwJ14CdcW7j_a_w7fqXDI6ldEQ","e":"AQAB"},"attributes":{"enabled":true,"created":1626357353,"updated":1626357353,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -1548,7 +1600,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:27 GMT + - Thu, 15 Jul 2021 13:55:54 GMT expires: - '-1' pragma: @@ -1589,7 +1641,7 @@ interactions: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/suanavlt/providers/Microsoft.KeyVault/vaults/suanaKV","name":"suanaKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg/providers/Microsoft.KeyVault/vaults/surraikeyvaultecy1","name":"surraikeyvaultecy1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg1/providers/Microsoft.KeyVault/vaults/surraikeyvault1","name":"surraikeyvault1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/TestKVAdkayeth","name":"TestKVAdkayeth","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/adkayethKV","name":"adkayethKV","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/testsw100","name":"testsw100","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestkv500","name":"swtestkv500","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookalKV","name":"prnookalKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookal","name":"prnookal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-WUS2/providers/Microsoft.KeyVault/vaults/ashtestkeyvault","name":"ashtestkeyvault","type":"Microsoft.KeyVault/vaults","location":"westus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anampelly-srunnert-rg/providers/Microsoft.KeyVault/vaults/SrunnerResourcePFX-tst","name":"SrunnerResourcePFX-tst","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ProtScalePerfAI/providers/Microsoft.KeyVault/vaults/protscaleperfa5760484711","name":"protscaleperfa5760484711","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.KeyVault/vaults/testKV01234","name":"testKV01234","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{"Owner":"adbalaji","MAB Used":"Yes","Purpose":"Testing","DeleteBy":"06-2021"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/modubey/providers/Microsoft.KeyVault/vaults/DSMove-bvt-testKV","name":"DSMove-bvt-testKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test123/providers/Microsoft.KeyVault/vaults/test123vault456","name":"test123vault456","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestpgauth","name":"swtestpgauth","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{" - Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed + Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bhaskerkCCYRG/providers/Microsoft.KeyVault/vaults/bhaskerkOSSSecret","name":"bhaskerkOSSSecret","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed ":"yes","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy","name":"prnookal-ccy","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"MabUsed":"Yes","Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV","name":"jakavetKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV24","name":"jakavetKV24","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal-2","name":"testvkatyal-2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-t","name":"prnookal-ccy-t","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-i","name":"prnookal-ccy-i","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/ccysecretSGrvalec","name":"ccysecretSGrvalec","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"MAB @@ -1598,11 +1650,11 @@ interactions: cache-control: - no-cache content-length: - - '6786' + - '7029' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:27 GMT + - Thu, 15 Jul 2021 13:55:54 GMT expires: - '-1' pragma: @@ -1635,7 +1687,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.044Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.349Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1644,7 +1696,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:29 GMT + - Thu, 15 Jul 2021 13:55:53 GMT expires: - '-1' pragma: @@ -1678,8 +1730,8 @@ interactions: "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": "dfc48124-f6fa-48ee-b497-6db119a054d5", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}], "vaultUri": + {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "54c92340-2f4d-453e-b7fd-ff518cd89c2a", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}], "vaultUri": "https://clitest000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' @@ -1704,16 +1756,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.05Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.355Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1577' + - '1578' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:29 GMT + - Thu, 15 Jul 2021 13:55:54 GMT expires: - '-1' pragma: @@ -1760,7 +1812,7 @@ interactions: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/suanavlt/providers/Microsoft.KeyVault/vaults/suanaKV","name":"suanaKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg/providers/Microsoft.KeyVault/vaults/surraikeyvaultecy1","name":"surraikeyvaultecy1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg1/providers/Microsoft.KeyVault/vaults/surraikeyvault1","name":"surraikeyvault1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/TestKVAdkayeth","name":"TestKVAdkayeth","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/adkayethKV","name":"adkayethKV","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/testsw100","name":"testsw100","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestkv500","name":"swtestkv500","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookalKV","name":"prnookalKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookal","name":"prnookal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-WUS2/providers/Microsoft.KeyVault/vaults/ashtestkeyvault","name":"ashtestkeyvault","type":"Microsoft.KeyVault/vaults","location":"westus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anampelly-srunnert-rg/providers/Microsoft.KeyVault/vaults/SrunnerResourcePFX-tst","name":"SrunnerResourcePFX-tst","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ProtScalePerfAI/providers/Microsoft.KeyVault/vaults/protscaleperfa5760484711","name":"protscaleperfa5760484711","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.KeyVault/vaults/testKV01234","name":"testKV01234","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{"Owner":"adbalaji","MAB Used":"Yes","Purpose":"Testing","DeleteBy":"06-2021"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/modubey/providers/Microsoft.KeyVault/vaults/DSMove-bvt-testKV","name":"DSMove-bvt-testKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test123/providers/Microsoft.KeyVault/vaults/test123vault456","name":"test123vault456","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestpgauth","name":"swtestpgauth","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{" - Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed + Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bhaskerkCCYRG/providers/Microsoft.KeyVault/vaults/bhaskerkOSSSecret","name":"bhaskerkOSSSecret","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed ":"yes","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy","name":"prnookal-ccy","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"MabUsed":"Yes","Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV","name":"jakavetKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV24","name":"jakavetKV24","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal-2","name":"testvkatyal-2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-t","name":"prnookal-ccy-t","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-i","name":"prnookal-ccy-i","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/ccysecretSGrvalec","name":"ccysecretSGrvalec","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"MAB @@ -1769,11 +1821,11 @@ interactions: cache-control: - no-cache content-length: - - '6786' + - '7029' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:30 GMT + - Thu, 15 Jul 2021 13:55:55 GMT expires: - '-1' pragma: @@ -1806,16 +1858,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.05Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.355Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1577' + - '1578' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:30 GMT + - Thu, 15 Jul 2021 13:55:56 GMT expires: - '-1' pragma: @@ -1849,10 +1901,10 @@ interactions: "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": "dfc48124-f6fa-48ee-b497-6db119a054d5", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "cccd01ae-ff73-4adb-9dd9-46144b0a77b8", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}], "vaultUri": + {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "54c92340-2f4d-453e-b7fd-ff518cd89c2a", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "17ecbf8f-e8fd-427b-9ac5-fe67592251a0", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}], "vaultUri": "https://clitest000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' @@ -1877,7 +1929,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.051Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.358Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1886,7 +1938,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:31 GMT + - Thu, 15 Jul 2021 13:55:57 GMT expires: - '-1' pragma: @@ -1933,7 +1985,7 @@ interactions: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/suanavlt/providers/Microsoft.KeyVault/vaults/suanaKV","name":"suanaKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg/providers/Microsoft.KeyVault/vaults/surraikeyvaultecy1","name":"surraikeyvaultecy1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg1/providers/Microsoft.KeyVault/vaults/surraikeyvault1","name":"surraikeyvault1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/TestKVAdkayeth","name":"TestKVAdkayeth","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/adkayethKV","name":"adkayethKV","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/testsw100","name":"testsw100","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestkv500","name":"swtestkv500","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookalKV","name":"prnookalKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookal","name":"prnookal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-WUS2/providers/Microsoft.KeyVault/vaults/ashtestkeyvault","name":"ashtestkeyvault","type":"Microsoft.KeyVault/vaults","location":"westus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anampelly-srunnert-rg/providers/Microsoft.KeyVault/vaults/SrunnerResourcePFX-tst","name":"SrunnerResourcePFX-tst","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ProtScalePerfAI/providers/Microsoft.KeyVault/vaults/protscaleperfa5760484711","name":"protscaleperfa5760484711","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.KeyVault/vaults/testKV01234","name":"testKV01234","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{"Owner":"adbalaji","MAB Used":"Yes","Purpose":"Testing","DeleteBy":"06-2021"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/modubey/providers/Microsoft.KeyVault/vaults/DSMove-bvt-testKV","name":"DSMove-bvt-testKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test123/providers/Microsoft.KeyVault/vaults/test123vault456","name":"test123vault456","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestpgauth","name":"swtestpgauth","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{" - Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed + Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bhaskerkCCYRG/providers/Microsoft.KeyVault/vaults/bhaskerkOSSSecret","name":"bhaskerkOSSSecret","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed ":"yes","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy","name":"prnookal-ccy","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"MabUsed":"Yes","Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV","name":"jakavetKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV24","name":"jakavetKV24","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal-2","name":"testvkatyal-2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-t","name":"prnookal-ccy-t","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-i","name":"prnookal-ccy-i","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/ccysecretSGrvalec","name":"ccysecretSGrvalec","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"MAB @@ -1942,11 +1994,11 @@ interactions: cache-control: - no-cache content-length: - - '6786' + - '7029' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:31 GMT + - Thu, 15 Jul 2021 13:55:58 GMT expires: - '-1' pragma: @@ -1979,7 +2031,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.051Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.358Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1988,7 +2040,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:32 GMT + - Thu, 15 Jul 2021 13:55:59 GMT expires: - '-1' pragma: @@ -2022,12 +2074,12 @@ interactions: "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": "dfc48124-f6fa-48ee-b497-6db119a054d5", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "cccd01ae-ff73-4adb-9dd9-46144b0a77b8", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}], "vaultUri": + {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "54c92340-2f4d-453e-b7fd-ff518cd89c2a", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "17ecbf8f-e8fd-427b-9ac5-fe67592251a0", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "97aee7f0-d06d-454b-b9c9-18460c59ac53", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}], "vaultUri": "https://clitest000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' @@ -2052,16 +2104,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.054Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.36Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1902' + - '1901' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:33 GMT + - Thu, 15 Jul 2021 13:56:00 GMT expires: - '-1' pragma: @@ -2108,7 +2160,7 @@ interactions: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/suanavlt/providers/Microsoft.KeyVault/vaults/suanaKV","name":"suanaKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg/providers/Microsoft.KeyVault/vaults/surraikeyvaultecy1","name":"surraikeyvaultecy1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/surraiecyrg1/providers/Microsoft.KeyVault/vaults/surraikeyvault1","name":"surraikeyvault1","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/TestKVAdkayeth","name":"TestKVAdkayeth","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.KeyVault/vaults/adkayethKV","name":"adkayethKV","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/testsw100","name":"testsw100","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestkv500","name":"swtestkv500","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookalKV","name":"prnookalKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/prnookal","name":"prnookal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-WUS2/providers/Microsoft.KeyVault/vaults/ashtestkeyvault","name":"ashtestkeyvault","type":"Microsoft.KeyVault/vaults","location":"westus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anampelly-srunnert-rg/providers/Microsoft.KeyVault/vaults/SrunnerResourcePFX-tst","name":"SrunnerResourcePFX-tst","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ProtScalePerfAI/providers/Microsoft.KeyVault/vaults/protscaleperfa5760484711","name":"protscaleperfa5760484711","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ContosoRG/providers/Microsoft.KeyVault/vaults/testKV01234","name":"testKV01234","type":"Microsoft.KeyVault/vaults","location":"southeastasia","tags":{"Owner":"adbalaji","MAB Used":"Yes","Purpose":"Testing","DeleteBy":"06-2021"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/modubey/providers/Microsoft.KeyVault/vaults/DSMove-bvt-testKV","name":"DSMove-bvt-testKV","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test123/providers/Microsoft.KeyVault/vaults/test123vault456","name":"test123vault456","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/swatidpprg/providers/Microsoft.KeyVault/vaults/swtestpgauth","name":"swtestpgauth","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{" - Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed + Owner":"swsachde","Purpose":" Testing","Delete By":"12-2022","MAB Used ":"Yes"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ArchiveResourceGroup/providers/Microsoft.KeyVault/vaults/PratikKV","name":"PratikKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bhaskerkCCYRG/providers/Microsoft.KeyVault/vaults/bhaskerkOSSSecret","name":"bhaskerkOSSSecret","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal","name":"testvkatyal","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"MABUsed":"Yes","Owner":"t-vkatyal","Purpose":"Testing","DeleteBy":"12-2022"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-KV","name":"prnookal-KV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"Owner":"prnookal","isMABUsed ":"yes","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy","name":"prnookal-ccy","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"MabUsed":"Yes","Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV","name":"jakavetKV","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/jakavetKV24","name":"jakavetKV24","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vkatyal/providers/Microsoft.KeyVault/vaults/testvkatyal-2","name":"testvkatyal-2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-t","name":"prnookal-ccy-t","type":"Microsoft.KeyVault/vaults","location":"centralus","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/prnookal/providers/Microsoft.KeyVault/vaults/prnookal-ccy-i","name":"prnookal-ccy-i","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"isMABUsed":" Yes"," Owner":"prnookal","Purpose":"runners"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abhinitRG/providers/Microsoft.KeyVault/vaults/ccysecretSGrvalec","name":"ccysecretSGrvalec","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{"MAB @@ -2117,11 +2169,11 @@ interactions: cache-control: - no-cache content-length: - - '6786' + - '7029' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:33 GMT + - Thu, 15 Jul 2021 13:56:00 GMT expires: - '-1' pragma: @@ -2154,16 +2206,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.054Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.36Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1902' + - '1901' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:35 GMT + - Thu, 15 Jul 2021 13:56:02 GMT expires: - '-1' pragma: @@ -2197,14 +2249,14 @@ interactions: "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": "dfc48124-f6fa-48ee-b497-6db119a054d5", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "cccd01ae-ff73-4adb-9dd9-46144b0a77b8", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}, {"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "c3af7a65-64de-45e3-835a-bbb991ea13e7", - "permissions": {"keys": ["list", "wrapKey", "get", "unwrapKey"]}}], "vaultUri": + {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "54c92340-2f4d-453e-b7fd-ff518cd89c2a", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "17ecbf8f-e8fd-427b-9ac5-fe67592251a0", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "97aee7f0-d06d-454b-b9c9-18460c59ac53", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}, {"tenantId": + "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "77413764-8f48-40f2-82c2-ff0b97711730", + "permissions": {"keys": ["get", "wrapKey", "list", "unwrapKey"]}}], "vaultUri": "https://clitest000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' @@ -2229,7 +2281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:44:18.594Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:44:19.056Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"dfc48124-f6fa-48ee-b497-6db119a054d5","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","permissions":{"keys":["list","wrapKey","get","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000004","name":"clitest000004","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"systemData":{"createdBy":"t-vkatyal@microsoft.com","createdByType":"User","createdAt":"1970-01-19T19:45:56.836Z","lastModifiedBy":"t-vkatyal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T19:45:57.363Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ddea777d-45e7-4b69-b2de-da66c99b6210","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":"54c92340-2f4d-453e-b7fd-ff518cd89c2a","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"77413764-8f48-40f2-82c2-ff0b97711730","permissions":{"keys":["get","wrapKey","list","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://clitest000004.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2238,7 +2290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Jul 2021 10:37:35 GMT + - Thu, 15 Jul 2021 13:56:02 GMT expires: - '-1' pragma: @@ -2258,7 +2310,7 @@ interactions: x-ms-keyvault-service-version: - 1.5.23.5 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -2283,8 +2335,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A34%3A06.2793845Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A51%3A28.5462349Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -2293,7 +2345,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:37:37 GMT + - Thu, 15 Jul 2021 13:56:04 GMT expires: - '-1' pragma: @@ -2342,7 +2394,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:37:39 GMT + - Thu, 15 Jul 2021 13:56:06 GMT expires: - '-1' pragma: @@ -2365,7 +2417,7 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"}, + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"}, "kekIdentity": {"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"}, "infrastructureEncryption": "Disabled"}}}' headers: @@ -2392,17 +2444,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmY2U5OTMxYi0wMGE3LTQyYWItOWFhOC1iZjA2ZWJlNWI3YTM=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:37:39 GMT + - Thu, 15 Jul 2021 13:56:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtmY2U5OTMxYi0wMGE3LTQyYWItOWFhOC1iZjA2ZWJlNWI3YTM=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -2430,63 +2482,11 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=\",\r\n - \ \"name\": \"NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=\",\r\n - \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '425' - content-type: - - application/json - date: - - Wed, 14 Jul 2021 10:38:40 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault encryption update - Connection: - - keep-alive - ParameterSetName: - - --encryption-key-id --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmY2U5OTMxYi0wMGE3LTQyYWItOWFhOC1iZjA2ZWJlNWI3YTM=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=\",\r\n - \ \"name\": \"NDA5NTtlOTBiN2I5Yy1kM2RmLTQ5MjMtODVlMy01MjUxZGIxODYxNTM=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmY2U5OTMxYi0wMGE3LTQyYWItOWFhOC1iZjA2ZWJlNWI3YTM=\",\r\n + \ \"name\": \"NDA5NTtmY2U5OTMxYi0wMGE3LTQyYWItOWFhOC1iZjA2ZWJlNWI3YTM=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -2496,7 +2496,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:39:42 GMT + - Thu, 15 Jul 2021 13:57:07 GMT expires: - '-1' pragma: @@ -2533,17 +2533,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A38%3A43.7740995Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A56%3A09.853443Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1950' + - '1949' content-type: - application/json date: - - Wed, 14 Jul 2021 10:39:43 GMT + - Thu, 15 Jul 2021 13:57:07 GMT expires: - '-1' pragma: @@ -2583,7 +2583,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -2592,7 +2592,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:39:45 GMT + - Thu, 15 Jul 2021 13:57:10 GMT expires: - '-1' pragma: @@ -2633,17 +2633,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A38%3A43.7740995Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A56%3A09.853443Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1950' + - '1949' content-type: - application/json date: - - Wed, 14 Jul 2021 10:39:45 GMT + - Thu, 15 Jul 2021 13:57:11 GMT expires: - '-1' pragma: @@ -2683,7 +2683,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -2692,7 +2692,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:39:47 GMT + - Thu, 15 Jul 2021 13:57:13 GMT expires: - '-1' pragma: @@ -2715,7 +2715,7 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"}, + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"}, "kekIdentity": {"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008"}}}}' headers: Accept: @@ -2741,17 +2741,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:39:47 GMT + - Thu, 15 Jul 2021 13:57:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -2759,7 +2759,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '207' status: code: 202 message: Accepted @@ -2779,15 +2779,15 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=\",\r\n - \ \"name\": \"NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=\",\r\n + \ \"name\": \"NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -2795,11 +2795,11 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:40:48 GMT + - Thu, 15 Jul 2021 13:58:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 pragma: - no-cache server: @@ -2831,11 +2831,11 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=\",\r\n - \ \"name\": \"NDA5NTtjNzAwNWVkZC1jMDFiLTQ3MzAtYTQ2OC1jYzU2MDA1YWUxYmQ=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=\",\r\n + \ \"name\": \"NDA5NTswMWJhYTcxNS0yYmI2LTQ3YWEtYTI1MC1iYWY4MGU5YTk4NGE=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -2845,7 +2845,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:41:48 GMT + - Thu, 15 Jul 2021 13:59:16 GMT expires: - '-1' pragma: @@ -2882,17 +2882,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A40%3A51.429212Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A58%3A15.5627951Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1949' + - '1950' content-type: - application/json date: - - Wed, 14 Jul 2021 10:41:48 GMT + - Thu, 15 Jul 2021 13:59:17 GMT expires: - '-1' pragma: @@ -2932,7 +2932,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -2941,7 +2941,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:41:51 GMT + - Thu, 15 Jul 2021 13:59:18 GMT expires: - '-1' pragma: @@ -2982,17 +2982,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A40%3A51.429212Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A58%3A15.5627951Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008"},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1949' + - '1950' content-type: - application/json date: - - Wed, 14 Jul 2021 10:41:51 GMT + - Thu, 15 Jul 2021 13:59:20 GMT expires: - '-1' pragma: @@ -3032,7 +3032,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -3041,7 +3041,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:41:51 GMT + - Thu, 15 Jul 2021 13:59:21 GMT expires: - '-1' pragma: @@ -3064,7 +3064,7 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"}, + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"}, "kekIdentity": {"useSystemAssignedIdentity": true}}}}' headers: Accept: @@ -3090,17 +3090,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:41:52 GMT + - Thu, 15 Jul 2021 13:59:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -3108,7 +3108,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '208' status: code: 202 message: Accepted @@ -3128,15 +3128,15 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=\",\r\n - \ \"name\": \"NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=\",\r\n + \ \"name\": \"NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -3144,11 +3144,11 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:42:54 GMT + - Thu, 15 Jul 2021 14:00:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 pragma: - no-cache server: @@ -3180,11 +3180,11 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=\",\r\n - \ \"name\": \"NDA5NTswNThmZDM2Ny0xODEzLTQ0ZjAtOGE3Ny0zMGUxMDZhN2Q5Yjc=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=\",\r\n + \ \"name\": \"NDA5NTs2ZTY5NTVlMy04ZTgxLTQ1YmYtYTZiMy1iMjU3ODQ1NjhmYzg=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -3194,7 +3194,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:43:53 GMT + - Thu, 15 Jul 2021 14:01:24 GMT expires: - '-1' pragma: @@ -3231,8 +3231,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A42%3A57.1719926Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T14%3A00%3A25.9505193Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -3241,7 +3241,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:43:54 GMT + - Thu, 15 Jul 2021 14:01:25 GMT expires: - '-1' pragma: @@ -3281,7 +3281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -3290,7 +3290,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:43:57 GMT + - Thu, 15 Jul 2021 14:01:31 GMT expires: - '-1' pragma: @@ -3331,8 +3331,8 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A42%3A57.1719926Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T14%3A00%3A25.9505193Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -3341,7 +3341,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:43:58 GMT + - Thu, 15 Jul 2021 14:01:33 GMT expires: - '-1' pragma: @@ -3381,7 +3381,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -3390,7 +3390,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:44:00 GMT + - Thu, 15 Jul 2021 14:01:35 GMT expires: - '-1' pragma: @@ -3413,7 +3413,7 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"}}}}' + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"}}}}' headers: Accept: - application/json @@ -3438,17 +3438,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2NzA5NjNkMS02ZjhmLTQ4OTQtOGRiMi1kZDgxMWJiMjczNWM=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:44:01 GMT + - Thu, 15 Jul 2021 14:01:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs2NzA5NjNkMS02ZjhmLTQ4OTQtOGRiMi1kZDgxMWJiMjczNWM=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -3476,11 +3476,63 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2NzA5NjNkMS02ZjhmLTQ4OTQtOGRiMi1kZDgxMWJiMjczNWM=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=\",\r\n + \ \"name\": \"NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=\",\r\n + \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 + cache-control: + - no-cache + content-length: + - '425' + content-type: + - application/json + date: + - Thu, 15 Jul 2021 14:02:37 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - backup vault encryption update + Connection: + - keep-alive + ParameterSetName: + - --encryption-key-id -g -v + User-Agent: + - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2NzA5NjNkMS02ZjhmLTQ4OTQtOGRiMi1kZDgxMWJiMjczNWM=\",\r\n - \ \"name\": \"NDA5NTs2NzA5NjNkMS02ZjhmLTQ4OTQtOGRiMi1kZDgxMWJiMjczNWM=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=\",\r\n + \ \"name\": \"NDA5NTthM2Q3ZDRkYS1kNTBlLTQwN2UtYTMzNS1lNzNmYWI5NTZmMzg=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -3490,7 +3542,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:45:02 GMT + - Thu, 15 Jul 2021 14:03:39 GMT expires: - '-1' pragma: @@ -3527,17 +3579,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-14T10%3A44%3A04.390914Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ff56cc42-6f2e-48a1-a4c6-b33db4ab3a41","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"0b9ad298-2ae0-4f75-a110-2ae6c3ac9fa7","objectId":"cccd01ae-ff73-4adb-9dd9-46144b0a77b8"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T14%3A02%3A39.9558418Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"97aee7f0-d06d-454b-b9c9-18460c59ac53","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity2000008":{"clientId":"7c75d1ed-656a-49e5-a5d4-b76c2d121c32","objectId":"17ecbf8f-e8fd-427b-9ac5-fe67592251a0"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Disabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1698' + - '1699' content-type: - application/json date: - - Wed, 14 Jul 2021 10:45:03 GMT + - Thu, 15 Jul 2021 14:03:39 GMT expires: - '-1' pragma: @@ -3577,7 +3629,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Disabled"}}' headers: cache-control: - no-cache @@ -3586,7 +3638,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:45:04 GMT + - Thu, 15 Jul 2021 14:03:41 GMT expires: - '-1' pragma: @@ -3627,17 +3679,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A36%3A20.392005Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T13%3A54%3A46.6836559Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"77413764-8f48-40f2-82c2-ff0b97711730","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1069' + - '1070' content-type: - application/json date: - - Wed, 14 Jul 2021 10:45:06 GMT + - Thu, 15 Jul 2021 14:03:42 GMT expires: - '-1' pragma: @@ -3686,7 +3738,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:45:07 GMT + - Thu, 15 Jul 2021 14:03:44 GMT expires: - '-1' pragma: @@ -3702,14 +3754,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"}, + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"}, "kekIdentity": {"useSystemAssignedIdentity": true}, "infrastructureEncryption": "Enabled"}}}' headers: @@ -3736,17 +3788,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:45:07 GMT + - Thu, 15 Jul 2021 14:03:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -3754,7 +3806,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '208' status: code: 202 message: Accepted @@ -3774,15 +3826,15 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=\",\r\n - \ \"name\": \"NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=\",\r\n + \ \"name\": \"NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -3790,11 +3842,11 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:46:08 GMT + - Thu, 15 Jul 2021 14:04:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 pragma: - no-cache server: @@ -3826,11 +3878,11 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=\",\r\n - \ \"name\": \"NDA5NTsxZjg4M2JhOS1iYjVjLTQ5NWQtODgxMi0xN2VkNTk5NjdiNzA=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=\",\r\n + \ \"name\": \"NDA5NTszNzk0ZGEwYi1lZmE0LTRiMmUtODc3Yy02NDEwZjA1NTU2YzI=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -3840,7 +3892,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:47:10 GMT + - Thu, 15 Jul 2021 14:05:47 GMT expires: - '-1' pragma: @@ -3877,17 +3929,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A46%3A10.4959479Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T14%3A04%3A47.692656Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"77413764-8f48-40f2-82c2-ff0b97711730","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1341' + - '1340' content-type: - application/json date: - - Wed, 14 Jul 2021 10:47:10 GMT + - Thu, 15 Jul 2021 14:05:48 GMT expires: - '-1' pragma: @@ -3927,7 +3979,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' headers: cache-control: - no-cache @@ -3936,7 +3988,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:47:12 GMT + - Thu, 15 Jul 2021 14:05:48 GMT expires: - '-1' pragma: @@ -3952,7 +4004,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' x-powered-by: - ASP.NET status: @@ -3977,17 +4029,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A46%3A10.4959479Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T14%3A04%3A47.692656Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"77413764-8f48-40f2-82c2-ff0b97711730","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2"},"kekIdentity":{"useSystemAssignedIdentity":true,"userAssignedIdentity":null},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1341' + - '1340' content-type: - application/json date: - - Wed, 14 Jul 2021 10:47:14 GMT + - Thu, 15 Jul 2021 14:05:49 GMT expires: - '-1' pragma: @@ -4027,7 +4079,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/baed3ca759654906817416563e759a66","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"useSystemAssignedIdentity":true,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key2000006/edea4b82ec474411821bfbdb768b93d2","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' headers: cache-control: - no-cache @@ -4036,7 +4088,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:47:15 GMT + - Thu, 15 Jul 2021 14:05:51 GMT expires: - '-1' pragma: @@ -4052,14 +4104,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '148' + - '149' x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"}, + body: '{"properties": {"encryption": {"keyVaultProperties": {"keyUri": "https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"}, "kekIdentity": {"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"}}}}' headers: Accept: @@ -4085,17 +4137,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtlNDAzNmUwMC1mYTA2LTQ5OTAtODBmYy03OWFkNDNlYTlmMWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 14 Jul 2021 10:47:16 GMT + - Thu, 15 Jul 2021 14:05:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTtlNDAzNmUwMC1mYTA2LTQ5OTAtODBmYy03OWFkNDNlYTlmMWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -4123,11 +4175,63 @@ interactions: User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtlNDAzNmUwMC1mYTA2LTQ5OTAtODBmYy03OWFkNDNlYTlmMWQ=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=\",\r\n + \ \"name\": \"NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=\",\r\n + \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 + cache-control: + - no-cache + content-length: + - '425' + content-type: + - application/json + date: + - Thu, 15 Jul 2021 14:06:53 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationResults/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - backup vault encryption update + Connection: + - keep-alive + ParameterSetName: + - --encryption-key-id --identity-id -g -v + User-Agent: + - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTtlNDAzNmUwMC1mYTA2LTQ5OTAtODBmYy03OWFkNDNlYTlmMWQ=\",\r\n - \ \"name\": \"NDA5NTtlNDAzNmUwMC1mYTA2LTQ5OTAtODBmYy03OWFkNDNlYTlmMWQ=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/operationStatus/NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=\",\r\n + \ \"name\": \"NDA5NTs1NTJiM2IwZS0wMTQ4LTQwYzYtOGRkZi01ODk0MGI4NWYwYWU=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -4137,7 +4241,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:48:17 GMT + - Thu, 15 Jul 2021 14:07:54 GMT expires: - '-1' pragma: @@ -4174,17 +4278,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-14T10%3A47%3A18.6925578Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c3af7a65-64de-45e3-835a-bbb991ea13e7","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"3e2a3d67-f23c-48c0-9338-ce435b35560e","objectId":"dfc48124-f6fa-48ee-b497-6db119a054d5"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000003","etag":"W/\"datetime''2021-07-15T14%3A06%3A55.433483Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"77413764-8f48-40f2-82c2-ff0b97711730","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007":{"clientId":"755dd0d4-d86a-448f-ae4b-5d5c88cb2913","objectId":"54c92340-2f4d-453e-b7fd-ff518cd89c2a"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None","encryption":{"keyVaultProperties":{"keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e"},"kekIdentity":{"useSystemAssignedIdentity":false,"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007"},"infrastructureEncryption":"Enabled"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1592' + - '1591' content-type: - application/json date: - - Wed, 14 Jul 2021 10:48:17 GMT + - Thu, 15 Jul 2021 14:07:54 GMT expires: - '-1' pragma: @@ -4224,7 +4328,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/495b9d1bd20b4011b2bda73efed3e81f","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000003/backupEncryptionConfigs/backupResourceEncryptionConfig","name":"backupResourceEncryptionConfig","type":"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs","properties":{"userAssignedIdentity":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity1000007","useSystemAssignedIdentity":false,"encryptionAtRestType":"CustomerManaged","keyUri":"https://clitest000004.vault.azure.net/keys/clitest-key1000005/e7dc3cb2c94b4cbcadc95d3184c62b6e","subscriptionId":"","lastUpdateStatus":"Succeeded","infrastructureEncryptionState":"Enabled"}}' headers: cache-control: - no-cache @@ -4233,7 +4337,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:48:18 GMT + - Thu, 15 Jul 2021 14:07:55 GMT expires: - '-1' pragma: @@ -4249,7 +4353,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '148' x-powered-by: - ASP.NET status: @@ -4286,7 +4390,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:48:20 GMT + - Thu, 15 Jul 2021 14:07:57 GMT expires: - '-1' pragma: @@ -4336,7 +4440,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Jul 2021 10:48:28 GMT + - Thu, 15 Jul 2021 14:08:04 GMT expires: - '-1' pragma: @@ -4381,7 +4485,7 @@ interactions: content-type: - application/json date: - - Wed, 14 Jul 2021 10:48:29 GMT + - Thu, 15 Jul 2021 14:08:06 GMT expires: - '-1' pragma: @@ -4431,7 +4535,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Jul 2021 10:48:35 GMT + - Thu, 15 Jul 2021 14:08:14 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_identity.yaml b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_identity.yaml index 76b21bc712b..9080353a341 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/recordings/test_backup_identity.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A09%3A07.6444715Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A29%3A02.5364882Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:09:08 GMT + - Thu, 15 Jul 2021 13:29:03 GMT expires: - '-1' pragma: @@ -66,7 +66,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-13T16:08:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-15T13:28:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -75,7 +75,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:09 GMT + - Thu, 15 Jul 2021 13:29:03 GMT expires: - '-1' pragma: @@ -115,7 +115,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003","name":"clitest-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0fa8a143-c874-4f51-9598-261b9a9a5441","clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=0fa8a143-c874-4f51-9598-261b9a9a5441&aid=88f20b4d-5191-40f9-b4a5-8fefaaac6d36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003","name":"clitest-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1","clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1&aid=715a0759-3b9c-4a2f-88b3-7d4c9664c500"}}' headers: cache-control: - no-cache @@ -124,7 +124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:17 GMT + - Thu, 15 Jul 2021 13:29:12 GMT expires: - '-1' location: @@ -136,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -159,7 +159,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-13T16:08:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-15T13:28:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -168,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:17 GMT + - Thu, 15 Jul 2021 13:29:12 GMT expires: - '-1' pragma: @@ -208,7 +208,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004","name":"clitest-identity000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"85c740c5-f586-4abd-9046-4481a7c8a2bd","clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=85c740c5-f586-4abd-9046-4481a7c8a2bd&aid=3f376b32-91ab-4428-bca8-a40ebd00c2ca"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004","name":"clitest-identity000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331","clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=a50e21b0-3d4a-405d-a55b-4d18f6dfa331&aid=749968e4-d259-4ba8-8fc1-ba73a124bd22"}}' headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:25 GMT + - Thu, 15 Jul 2021 13:29:21 GMT expires: - '-1' location: @@ -252,7 +252,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-13T16:08:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-07-15T13:28:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -261,7 +261,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:25 GMT + - Thu, 15 Jul 2021 13:29:21 GMT expires: - '-1' pragma: @@ -301,7 +301,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005?api-version=2015-08-31-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005","name":"clitest-identity000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"11efbaa3-139f-420c-b4a4-7804d5a396a3","clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=11efbaa3-139f-420c-b4a4-7804d5a396a3&aid=8e0390f1-06fe-40c8-b28a-ae88c51c0355"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005","name":"clitest-identity000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"westus","tags":{},"properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ba4c69cd-b597-4636-b968-93b538cac1fe","clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","clientSecretUrl":"https://control-westus.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005/credentials?tid=72f988bf-86f1-41af-91ab-2d7cd011db47&oid=ba4c69cd-b597-4636-b968-93b538cac1fe&aid=9aefc8fb-6017-4cb1-a225-a151a1df69a9"}}' headers: cache-control: - no-cache @@ -310,7 +310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Jul 2021 16:09:34 GMT + - Thu, 15 Jul 2021 13:29:31 GMT expires: - '-1' location: @@ -322,7 +322,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -334,18 +334,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A09%3A07.6444715Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A29%3A02.5364882Z''\"","properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -354,7 +354,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:09:36 GMT + - Thu, 15 Jul 2021 13:29:33 GMT expires: - '-1' pragma: @@ -382,7 +382,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -390,7 +390,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -400,17 +400,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:09:42 GMT + - Thu, 15 Jul 2021 13:29:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -430,23 +430,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=\",\r\n - \ \"name\": \"NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=\",\r\n + \ \"name\": \"NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -454,11 +454,11 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:10:43 GMT + - Thu, 15 Jul 2021 13:30:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 pragma: - no-cache server: @@ -482,19 +482,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=\",\r\n - \ \"name\": \"NDA5NTs4NWIyYzlmNi02NDBkLTRiZDktOGQzZS03MjI3YzZmMmFiMjE=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=\",\r\n + \ \"name\": \"NDA5NTtmYjg0YzhjNy00MDFjLTRmNzYtOWIwYy1hYjYzZDdlM2VkOGI=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -504,7 +504,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:11:45 GMT + - Thu, 15 Jul 2021 13:31:42 GMT expires: - '-1' pragma: @@ -530,18 +530,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A10%3A46.9393673Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A30%3A42.3081942Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -550,7 +550,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:11:45 GMT + - Thu, 15 Jul 2021 13:31:42 GMT expires: - '-1' pragma: @@ -576,18 +576,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A10%3A46.9393673Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A30%3A42.3081942Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -596,7 +596,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:11:47 GMT + - Thu, 15 Jul 2021 13:31:43 GMT expires: - '-1' pragma: @@ -622,7 +622,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -630,7 +630,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -640,17 +640,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:11:51 GMT + - Thu, 15 Jul 2021 13:31:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -670,23 +670,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=\",\r\n - \ \"name\": \"NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=\",\r\n + \ \"name\": \"NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -694,11 +694,11 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:12:52 GMT + - Thu, 15 Jul 2021 13:32:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 pragma: - no-cache server: @@ -722,19 +722,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=\",\r\n - \ \"name\": \"NDA5NTs3ZTM2OWQ3OC1lN2VkLTQ0NTgtYjc4ZS02NjUyMGU3NzBiYWQ=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=\",\r\n + \ \"name\": \"NDA5NTtiZmI5M2E1Zi1jYTU0LTQzYTUtOTYzOC1lODU2ZTAzYzEyMmQ=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -744,7 +744,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:13:53 GMT + - Thu, 15 Jul 2021 13:33:56 GMT expires: - '-1' pragma: @@ -770,19 +770,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A12%3A53.3709222Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0f84e5dc-9735-451c-87b4-9b5cebbf4d16","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A32%3A55.9564413Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"e56ed04f-b347-420b-9d6a-73209b8b4134","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -791,7 +791,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:13:54 GMT + - Thu, 15 Jul 2021 13:33:56 GMT expires: - '-1' pragma: @@ -817,19 +817,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-system-assigned -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A12%3A53.3709222Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0f84e5dc-9735-451c-87b4-9b5cebbf4d16","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A32%3A55.9564413Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"e56ed04f-b347-420b-9d6a-73209b8b4134","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -838,7 +838,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:13:54 GMT + - Thu, 15 Jul 2021 13:33:58 GMT expires: - '-1' pragma: @@ -857,22 +857,24 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "userassigned"}}' + body: '{"identity": {"type": "systemassigned,userassigned", "userAssignedIdentities": + {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005": + {}}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: - - '38' + - '341' Content-Type: - application/json ParameterSetName: - - --remove-system-assigned -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -882,17 +884,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtkMjgxNDYxNi1iZjQ4LTRhYWYtYWFhZS05ODAyOTZkZDdiMzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:13:58 GMT + - Thu, 15 Jul 2021 13:34:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtkMjgxNDYxNi1iZjQ4LTRhYWYtYWFhZS05ODAyOTZkZDdiMzA=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -900,7 +902,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '208' + - '209' status: code: 202 message: Accepted @@ -912,31 +914,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-system-assigned -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtkMjgxNDYxNi1iZjQ4LTRhYWYtYWFhZS05ODAyOTZkZDdiMzA=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtkMjgxNDYxNi1iZjQ4LTRhYWYtYWFhZS05ODAyOTZkZDdiMzA=\",\r\n - \ \"name\": \"NDA5NTtkMjgxNDYxNi1iZjQ4LTRhYWYtYWFhZS05ODAyOTZkZDdiMzA=\",\r\n - \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=\",\r\n + \ \"name\": \"NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=\",\r\n + \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 cache-control: - no-cache content-length: - - '424' + - '425' content-type: - application/json date: - - Tue, 13 Jul 2021 16:14:59 GMT + - Thu, 15 Jul 2021 13:35:05 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 pragma: - no-cache server: @@ -960,27 +966,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-system-assigned -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A14%3A01.4732348Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=\",\r\n + \ \"name\": \"NDA5NTs0ZmFmYzg1NC0yZTFkLTRiYmQtOGRmZi0xODViMWRkYzJjMDU=\",\r\n + \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: - no-cache content-length: - - '1358' + - '424' content-type: - application/json date: - - Tue, 13 Jul 2021 16:14:59 GMT + - Thu, 15 Jul 2021 13:36:05 GMT expires: - '-1' pragma: @@ -1002,31 +1010,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A14%3A01.4732348Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A35%3A06.8094971Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"e56ed04f-b347-420b-9d6a-73209b8b4134","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1358' + - '1784' content-type: - application/json date: - - Tue, 13 Jul 2021 16:15:01 GMT + - Thu, 15 Jul 2021 13:36:05 GMT expires: - '-1' pragma: @@ -1045,106 +1054,101 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "userassigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005": - {}}}}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive - Content-Length: - - '326' - Content-Type: - - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: PATCH + method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A35%3A06.8094971Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"e56ed04f-b347-420b-9d6a-73209b8b4134","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 cache-control: - no-cache content-length: - - '0' + - '1784' + content-type: + - application/json date: - - Tue, 13 Jul 2021 16:15:06 GMT + - Thu, 15 Jul 2021 13:36:08 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: - body: null + body: '{"identity": {"type": "userassigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003": + null}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive + Content-Length: + - '328' + Content-Type: + - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=\",\r\n - \ \"name\": \"NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=\",\r\n - \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" + string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZjZiNzA1OC0yZDE4LTQyN2MtODUwOC1mYWU5OTJlZGVhNzQ=?api-version=2021-03-01 cache-control: - no-cache content-length: - - '425' - content-type: - - application/json + - '0' date: - - Tue, 13 Jul 2021 16:16:08 GMT + - Thu, 15 Jul 2021 13:36:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs3ZjZiNzA1OC0yZDE4LTQyN2MtODUwOC1mYWU5OTJlZGVhNzQ=?api-version=2021-03-01 pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '208' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1153,19 +1157,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZjZiNzA1OC0yZDE4LTQyN2MtODUwOC1mYWU5OTJlZGVhNzQ=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=\",\r\n - \ \"name\": \"NDA5NTs2MWIxNWEwZC1hYzJjLTQ5YzAtODY3ZC0yYmJlNzVmODMzMjk=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3ZjZiNzA1OC0yZDE4LTQyN2MtODUwOC1mYWU5OTJlZGVhNzQ=\",\r\n + \ \"name\": \"NDA5NTs3ZjZiNzA1OC0yZDE4LTQyN2MtODUwOC1mYWU5OTJlZGVhNzQ=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -1175,7 +1179,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:17:10 GMT + - Thu, 15 Jul 2021 13:37:16 GMT expires: - '-1' pragma: @@ -1201,27 +1205,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A16%3A11.8906778Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A36%3A17.3592089Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1715' + - '1358' content-type: - application/json date: - - Tue, 13 Jul 2021 16:17:10 GMT + - Thu, 15 Jul 2021 13:37:16 GMT expires: - '-1' pragma: @@ -1247,27 +1251,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A16%3A11.8906778Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A36%3A17.3592089Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1715' + - '1358' content-type: - application/json date: - - Tue, 13 Jul 2021 16:17:12 GMT + - Thu, 15 Jul 2021 13:37:17 GMT expires: - '-1' pragma: @@ -1286,23 +1290,24 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "userassigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003": - null}}}' + body: '{"identity": {"type": "systemassigned,userassigned", "userAssignedIdentities": + {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003": + {}}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: - - '328' + - '341' Content-Type: - application/json ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -1312,17 +1317,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3NGRlMjQ4MC1lNDIwLTQ1YzEtYjBjNy00N2U1ZjRlODhjM2U=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:17:14 GMT + - Thu, 15 Jul 2021 13:37:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs3NGRlMjQ4MC1lNDIwLTQ1YzEtYjBjNy00N2U1ZjRlODhjM2U=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -1342,19 +1347,71 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign + Connection: + - keep-alive + ParameterSetName: + - --system-assigned --user-assigned -g -v + User-Agent: + - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=\",\r\n + \ \"name\": \"NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=\",\r\n + \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 + cache-control: + - no-cache + content-length: + - '425' + content-type: + - application/json + date: + - Thu, 15 Jul 2021 13:38:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3NGRlMjQ4MC1lNDIwLTQ1YzEtYjBjNy00N2U1ZjRlODhjM2U=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs3NGRlMjQ4MC1lNDIwLTQ1YzEtYjBjNy00N2U1ZjRlODhjM2U=\",\r\n - \ \"name\": \"NDA5NTs3NGRlMjQ4MC1lNDIwLTQ1YzEtYjBjNy00N2U1ZjRlODhjM2U=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=\",\r\n + \ \"name\": \"NDA5NTs1N2RjNTgwZi02OWFlLTQ5ODgtOWIwMy00ZDRhZDUwNThhMmM=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -1364,7 +1421,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:15 GMT + - Thu, 15 Jul 2021 13:39:27 GMT expires: - '-1' pragma: @@ -1390,27 +1447,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A17%3A17.3060511Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A38%3A29.2690209Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"2ef10135-3eb8-4977-bb6e-0b359391b832","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1358' + - '1784' content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:15 GMT + - Thu, 15 Jul 2021 13:39:28 GMT expires: - '-1' pragma: @@ -1436,27 +1494,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A17%3A17.3060511Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A38%3A29.2690209Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"2ef10135-3eb8-4977-bb6e-0b359391b832","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"9aefc8fb-6017-4cb1-a225-a151a1df69a9","objectId":"ba4c69cd-b597-4636-b968-93b538cac1fe"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1358' + - '1784' content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:17 GMT + - Thu, 15 Jul 2021 13:39:30 GMT expires: - '-1' pragma: @@ -1482,7 +1541,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive Content-Length: @@ -1490,14 +1549,14 @@ interactions: Content-Type: - application/json ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --system-assigned --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A18%3A21.2263354Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A39%3A37.6031422Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -1506,7 +1565,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:26 GMT + - Thu, 15 Jul 2021 13:39:39 GMT expires: - '-1' pragma: @@ -1534,18 +1593,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A18%3A21.2263354Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A39%3A37.6031422Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -1554,7 +1613,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:27 GMT + - Thu, 15 Jul 2021 13:39:40 GMT expires: - '-1' pragma: @@ -1580,7 +1639,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: @@ -1588,14 +1647,14 @@ interactions: Content-Type: - application/json ParameterSetName: - - --identity-type -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A18%3A33.7474035Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A39%3A45.5978898Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f4f9b10f-1062-4e3a-be61-05196e943952","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -1604,7 +1663,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:36 GMT + - Thu, 15 Jul 2021 13:39:47 GMT expires: - '-1' pragma: @@ -1632,18 +1691,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A18%3A33.7474035Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A39%3A45.5978898Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f4f9b10f-1062-4e3a-be61-05196e943952","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache @@ -1652,7 +1711,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:18:38 GMT + - Thu, 15 Jul 2021 13:39:48 GMT expires: - '-1' pragma: @@ -1673,6 +1732,7 @@ interactions: - request: body: '{"identity": {"type": "systemassigned,userassigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004": {}}}}' headers: Accept: @@ -1680,15 +1740,15 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive Content-Length: - - '341' + - '601' Content-Type: - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -1698,17 +1758,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:18:43 GMT + - Thu, 15 Jul 2021 13:39:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -1716,7 +1776,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' + - '207' status: code: 202 message: Accepted @@ -1728,23 +1788,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=\",\r\n - \ \"name\": \"NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=\",\r\n + \ \"name\": \"NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -1752,11 +1812,11 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:19:44 GMT + - Thu, 15 Jul 2021 13:40:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 pragma: - no-cache server: @@ -1780,19 +1840,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=\",\r\n - \ \"name\": \"NDA5NTs0Mjk3ZmRjNy1jMWYyLTQ4N2EtYWU0MS04Y2Y2Zjk2YWQ1ZjY=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=\",\r\n + \ \"name\": \"NDA5NTtlZjA2NjU2Ny02Zjk4LTQ3MWEtODA1ZC1iOTM3NDEzNjZkMmI=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -1802,7 +1862,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:20:47 GMT + - Thu, 15 Jul 2021 13:41:53 GMT expires: - '-1' pragma: @@ -1828,28 +1888,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity assign Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A19%3A47.9730817Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A40%3A54.7495863Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f4f9b10f-1062-4e3a-be61-05196e943952","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1070' + - '1427' content-type: - application/json date: - - Tue, 13 Jul 2021 16:20:47 GMT + - Thu, 15 Jul 2021 13:41:54 GMT expires: - '-1' pragma: @@ -1875,28 +1935,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A19%3A47.9730817Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A40%3A54.7495863Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f4f9b10f-1062-4e3a-be61-05196e943952","type":"SystemAssigned, + UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1070' + - '1427' content-type: - application/json date: - - Tue, 13 Jul 2021 16:20:49 GMT + - Thu, 15 Jul 2021 13:41:56 GMT expires: - '-1' pragma: @@ -1915,25 +1975,22 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "systemassigned,userassigned", "userAssignedIdentities": - {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005": - {}}}}' + body: '{"identity": {"type": "userassigned"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive Content-Length: - - '601' + - '38' Content-Type: - application/json ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH @@ -1943,17 +2000,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 13 Jul 2021 16:20:51 GMT + - Thu, 15 Jul 2021 13:42:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 pragma: - no-cache strict-transport-security: @@ -1961,7 +2018,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '208' + - '209' status: code: 202 message: Accepted @@ -1973,23 +2030,23 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=\",\r\n - \ \"name\": \"NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=\",\r\n + \ \"name\": \"NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=\",\r\n \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -1997,11 +2054,11 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:21:54 GMT + - Thu, 15 Jul 2021 13:43:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 pragma: - no-cache server: @@ -2025,19 +2082,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=?api-version=2021-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=\",\r\n - \ \"name\": \"NDA5NTs5MzNkZTQ2YS1mMmU4LTQyYjAtOWI3NS04MGVlOTcyMzhmNjY=\",\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=\",\r\n + \ \"name\": \"NDA5NTs0ZGFhZWQ2ZS0zNTA0LTQwN2QtOTZiMi1hOWUwODgxZTdhMzk=\",\r\n \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" headers: cache-control: @@ -2047,7 +2104,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:22:55 GMT + - Thu, 15 Jul 2021 13:44:03 GMT expires: - '-1' pragma: @@ -2073,28 +2130,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --identity-type --identity-id -g -v + - --system-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A21%3A54.8349415Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A43%3A04.4538137Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1784' + - '1358' content-type: - application/json date: - - Tue, 13 Jul 2021 16:22:56 GMT + - Thu, 15 Jul 2021 13:44:03 GMT expires: - '-1' pragma: @@ -2120,28 +2176,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A21%3A54.8349415Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"3f376b32-91ab-4428-bca8-a40ebd00c2ca","objectId":"85c740c5-f586-4abd-9046-4481a7c8a2bd"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005":{"clientId":"8e0390f1-06fe-40c8-b28a-ae88c51c0355","objectId":"11efbaa3-139f-420c-b4a4-7804d5a396a3"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A43%3A04.4538137Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"715a0759-3b9c-4a2f-88b3-7d4c9664c500","objectId":"c864cbd6-9018-4cf6-ba0e-1e2b5c66c0e1"},"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004":{"clientId":"749968e4-d259-4ba8-8fc1-ba73a124bd22","objectId":"a50e21b0-3d4a-405d-a55b-4d18f6dfa331"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1784' + - '1358' content-type: - application/json date: - - Tue, 13 Jul 2021 16:22:57 GMT + - Thu, 15 Jul 2021 13:44:05 GMT expires: - '-1' pragma: @@ -2160,577 +2215,38 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "systemassigned,userassigned", "userAssignedIdentities": - {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000004": - null, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000005": - null}}}' + body: '{"identity": {"type": "none"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - backup vault update + - backup vault identity remove Connection: - keep-alive Content-Length: - - '605' + - '30' Content-Type: - application/json ParameterSetName: - - --remove-user-assigned --identity-id -g -v + - --user-assigned -g -v User-Agent: - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 response: body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 13 Jul 2021 16:23:01 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --remove-user-assigned --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=\",\r\n - \ \"name\": \"NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=\",\r\n - \ \"status\": \"InProgress\",\r\n \"percentComplete\": 0.0\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '425' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:24:02 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationResults/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --remove-user-assigned --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=?api-version=2021-03-01 - response: - body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002/operationStatus/NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=\",\r\n - \ \"name\": \"NDA5NTsyMzY2NzBmZS0xODcyLTQzMDctOTJhNS03OTg4OGNhZDdhMTc=\",\r\n - \ \"status\": \"Succeeded\",\r\n \"percentComplete\": 0.0\r\n}" + string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-15T13%3A44%3A11.518019Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' headers: cache-control: - no-cache content-length: - - '424' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --remove-user-assigned --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A24%3A04.1505846Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '1070' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --remove-user-assigned --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A24%3A04.1505846Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned, - UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest-identity000003":{"clientId":"88f20b4d-5191-40f9-b4a5-8fefaaac6d36","objectId":"0fa8a143-c874-4f51-9598-261b9a9a5441"}}},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '1070' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"identity": {"type": "systemassigned"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - ParameterSetName: - - --remove-user-assigned --identity-id -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A08.6212675Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '672' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --remove-system-assigned -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A08.6212675Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"35c404b0-4dbc-4be0-ac2c-1170034601ad","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '672' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"identity": {"type": "none"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - Content-Length: - - '30' - Content-Type: - - application/json - ParameterSetName: - - --remove-system-assigned -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A14.7507066Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '559' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '208' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --identity-type -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A14.7507066Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '559' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"identity": {"type": "systemassigned"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - Content-Length: - - '40' - Content-Type: - - application/json - ParameterSetName: - - --identity-type -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A23.5050469Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0b15216e-424a-4be3-86e8-a26eb63878b7","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '672' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '209' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - ParameterSetName: - - --identity-type -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A23.5050469Z''\"","identity":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0b15216e-424a-4be3-86e8-a26eb63878b7","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '672' - content-type: - - application/json - date: - - Tue, 13 Jul 2021 16:25:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"identity": {"type": "none"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - backup vault update - Connection: - - keep-alive - Content-Length: - - '30' - Content-Type: - - application/json - ParameterSetName: - - --identity-type -g -v - User-Agent: - - AZURECLI/2.26.0 azsdk-python-mgmt-recoveryservices/2.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002?api-version=2021-03-01 - response: - body: - string: '{"location":"westus","name":"clitest-vault000002","etag":"W/\"datetime''2021-07-13T16%3A25%3A40.1490937Z''\"","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded","privateEndpointStateForBackup":"None","privateEndpointStateForSiteRecovery":"None"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.RecoveryServices/vaults/clitest-vault000002","type":"Microsoft.RecoveryServices/vaults","sku":{"name":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '559' + - '558' content-type: - application/json date: - - Tue, 13 Jul 2021 16:25:42 GMT + - Thu, 15 Jul 2021 13:44:15 GMT expires: - '-1' pragma: @@ -2781,7 +2297,7 @@ interactions: content-type: - application/json date: - - Tue, 13 Jul 2021 16:25:45 GMT + - Thu, 15 Jul 2021 13:44:15 GMT expires: - '-1' pragma: @@ -2831,7 +2347,7 @@ interactions: content-length: - '0' date: - - Tue, 13 Jul 2021 16:25:51 GMT + - Thu, 15 Jul 2021 13:44:24 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_backup_commands.py b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_backup_commands.py index 19ff97ed86e..2f2ccdda1cd 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_backup_commands.py +++ b/src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_backup_commands.py @@ -749,6 +749,140 @@ def test_backup_archive (self, resource_group, vault_name, vm_name, storage_acco self.check("tierType", '{rp1_tier}'), self.check("resourceGroup", '{rg}') ]) + # @ResourceGroupPreparer() + # @VaultPreparer() + # def test_backup_identity(self, resource_group, vault_name): + # self.kwargs.update({ + # 'vault': vault_name, + # 'rg': resource_group, + # }) + + + # self.kwargs['identity1'] = self.create_random_name('clitest-identity', 50) + # self.kwargs['identity1_id'] = self.cmd('identity create -n {identity1} -g {rg} --query id').get_output_in_json() + + + # self.kwargs['identity2'] = self.create_random_name('clitest-identity', 50) + # self.kwargs['identity2_id'] = self.cmd('identity create -n {identity2} -g {rg} --query id').get_output_in_json() + + # self.kwargs['identity3'] = self.create_random_name('clitest-identity', 50) + # self.kwargs['identity3_id'] = self.cmd('identity create -n {identity3} -g {rg} --query id').get_output_in_json() + + + # userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} {identity2_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + # self.assertIn(self.kwargs['identity2_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned, UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + # self.assertIn(self.kwargs['identity2_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --remove-system-assigned -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + # self.assertIn(self.kwargs['identity2_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity3_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + # self.assertIn(self.kwargs['identity2_id'], userMSI) + # self.assertIn(self.kwargs['identity3_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --remove-user-assigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity2_id'], userMSI) + # self.assertIn(self.kwargs['identity3_id'], userMSI) + + # self.cmd('backup vault update --remove-user-assigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "None"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + + # self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + + # userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned, UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned, UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + # self.assertIn(self.kwargs['identity2_id'], userMSI) + # self.assertIn(self.kwargs['identity3_id'], userMSI) + + # userMSI_json = self.cmd('backup vault update --remove-user-assigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned, UserAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]).get_output_in_json() + + # userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) + + # self.assertIn(self.kwargs['identity1_id'], userMSI) + + # self.cmd('backup vault update --remove-user-assigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + + # self.cmd('backup vault update --remove-system-assigned -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "None"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + + # self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "SystemAssigned"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + + # self.cmd('backup vault update --identity-type None -g {rg} -v {vault}', checks=[ + # self.check("identity.type", "None"), + # self.check("properties.provisioningState", "Succeeded") + # ]) + @ResourceGroupPreparer() @VaultPreparer() def test_backup_identity(self, resource_group, vault_name): @@ -768,8 +902,7 @@ def test_backup_identity(self, resource_group, vault_name): self.kwargs['identity3'] = self.create_random_name('clitest-identity', 50) self.kwargs['identity3_id'] = self.cmd('identity create -n {identity3} -g {rg} --query id').get_output_in_json() - - userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} {identity2_id} -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity assign --user-assigned {identity1_id} {identity2_id} -g {rg} -v {vault}', checks=[ self.check("identity.type", "UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() @@ -780,7 +913,7 @@ def test_backup_identity(self, resource_group, vault_name): self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) - userMSI_json = self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity assign --system-assigned -g {rg} -v {vault}', checks=[ self.check("identity.type", "SystemAssigned, UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() @@ -790,98 +923,76 @@ def test_backup_identity(self, resource_group, vault_name): self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) - userMSI_json = self.cmd('backup vault update --remove-system-assigned -g {rg} -v {vault}', checks=[ - self.check("identity.type", "UserAssigned"), + userMSI_json = self.cmd('backup vault identity assign --user-assigned {identity3_id} -g {rg} -v {vault}', checks=[ + self.check("identity.type", "SystemAssigned, UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() + userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) + self.assertIn(self.kwargs['identity3_id'], userMSI) - userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity3_id} -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity remove --system-assigned --user-assigned {identity1_id} -g {rg} -v {vault}', checks=[ self.check("identity.type", "UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() - userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) - self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) self.assertIn(self.kwargs['identity3_id'], userMSI) - userMSI_json = self.cmd('backup vault update --remove-user-assigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ - self.check("identity.type", "UserAssigned"), + userMSI_json = self.cmd('backup vault identity assign --system-assigned --user-assigned {identity1_id} -g {rg} -v {vault}', checks=[ + self.check("identity.type", "SystemAssigned, UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) - + + self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) self.assertIn(self.kwargs['identity3_id'], userMSI) - self.cmd('backup vault update --remove-user-assigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity remove --system-assigned --user-assigned -g {rg} -v {vault}', checks=[ self.check("identity.type", "None"), + self.check("identity.userAssignedIdentities", None), self.check("properties.provisioningState", "Succeeded") - ]) + ]).get_output_in_json() - self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity assign --system-assigned -g {rg} -v {vault}', checks=[ self.check("identity.type", "SystemAssigned"), - self.check("properties.provisioningState", "Succeeded") - ]) - - userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ - self.check("identity.type", "SystemAssigned, UserAssigned"), + self.check("identity.userAssignedIdentities", None), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() - - userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) - - self.assertIn(self.kwargs['identity1_id'], userMSI) - - userMSI_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity assign --user-assigned {identity1_id} {identity2_id} -g {rg} -v {vault}', checks=[ self.check("identity.type", "SystemAssigned, UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() - userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) - + self.assertIn(self.kwargs['identity1_id'], userMSI) self.assertIn(self.kwargs['identity2_id'], userMSI) - self.assertIn(self.kwargs['identity3_id'], userMSI) - userMSI_json = self.cmd('backup vault update --remove-user-assigned --identity-id {identity2_id} {identity3_id} -g {rg} -v {vault}', checks=[ - self.check("identity.type", "SystemAssigned, UserAssigned"), + userMSI_json = self.cmd('backup vault identity remove --system-assigned -g {rg} -v {vault}', checks=[ + self.check("identity.type", "UserAssigned"), self.check("properties.provisioningState", "Succeeded") ]).get_output_in_json() userMSI = list(userMSI_json['identity']['userAssignedIdentities'].keys()) - + self.assertIn(self.kwargs['identity1_id'], userMSI) + self.assertIn(self.kwargs['identity2_id'], userMSI) - self.cmd('backup vault update --remove-user-assigned --identity-id {identity1_id} -g {rg} -v {vault}', checks=[ - self.check("identity.type", "SystemAssigned"), - self.check("properties.provisioningState", "Succeeded") - ]) - - self.cmd('backup vault update --remove-system-assigned -g {rg} -v {vault}', checks=[ - self.check("identity.type", "None"), - self.check("properties.provisioningState", "Succeeded") - ]) - - self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault}', checks=[ - self.check("identity.type", "SystemAssigned"), - self.check("properties.provisioningState", "Succeeded") - ]) - - self.cmd('backup vault update --identity-type None -g {rg} -v {vault}', checks=[ + userMSI_json = self.cmd('backup vault identity remove --user-assigned -g {rg} -v {vault}', checks=[ self.check("identity.type", "None"), + self.check("identity.userAssignedIdentities", None), self.check("properties.provisioningState", "Succeeded") - ]) + ]).get_output_in_json() @ResourceGroupPreparer() @@ -910,15 +1021,15 @@ def test_backup_encryption(self, resource_group, resource_group_location, vault1 self.kwargs['identity2_principalid'] = self.cmd('identity show -n {identity2} -g {rg} --query principalId').get_output_in_json() - userMSI_v1_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} {identity2_id} -g {rg} -v {vault1}').get_output_in_json() + userMSI_v1_json = self.cmd('backup vault identity assign --user-assigned {identity1_id} {identity2_id} -g {rg} -v {vault1}').get_output_in_json() - system_v1_json = self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault1}').get_output_in_json() + system_v1_json = self.cmd('backup vault identity assign --system-assigned -g {rg} -v {vault1}').get_output_in_json() self.kwargs['system1_principalid'] = system_v1_json['identity']['principalId'] - userMSI1_v2_json = self.cmd('backup vault update --identity-type userassigned --identity-id {identity1_id} -g {rg} -v {vault2}').get_output_in_json() + userMSI1_v2_json = self.cmd('backup vault identity assign --user-assigned {identity1_id} -g {rg} -v {vault2}').get_output_in_json() - system_v2_json = self.cmd('backup vault update --identity-type systemassigned -g {rg} -v {vault2}').get_output_in_json() + system_v2_json = self.cmd('backup vault identity assign --system-assigned -g {rg} -v {vault2}').get_output_in_json() self.kwargs['system2_principalid'] = system_v2_json['identity']['principalId']