diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 9ca0b7b4d4c..48a38fbb922 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -1017,15 +1017,14 @@ def load_arguments(self, _): for scope in ['vm create', 'vmss create', 'vm identity assign', 'vmss identity assign']: with self.argument_context(scope) as c: arg_group = 'Managed Service Identity' if scope.split()[-1] == 'create' else None - c.argument('identity_scope', options_list=['--scope'], arg_group=arg_group, help="Scope that the system assigned identity can access") + c.argument('identity_scope', options_list=['--scope'], arg_group=arg_group, + help="Scope that the system assigned identity can access. ") c.ignore('identity_role_id') for scope in ['vm create', 'vmss create']: with self.argument_context(scope) as c: c.argument('identity_role', options_list=['--role'], arg_group='Managed Service Identity', - help='Role name or id the system assigned identity will have. ' - 'Please note that the default value "Contributor" will be removed in the future version 2.35.0, ' - "so please specify '--role' and '--scope' at the same time when assigning a role to the managed identity") + help='Role name or id the system assigned identity will have. ') for scope in ['vm identity assign', 'vmss identity assign']: with self.argument_context(scope) as c: diff --git a/src/azure-cli/azure/cli/command_modules/vm/_validators.py b/src/azure-cli/azure/cli/command_modules/vm/_validators.py index 6d5d7a39083..0093c333015 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -1210,17 +1210,32 @@ def _validate_ssh_key_helper(ssh_key_value, should_generate_ssh_keys): return content -def _validate_vm_vmss_msi(cmd, namespace, from_set_command=False): - if from_set_command or namespace.assign_identity is not None: +def _validate_vm_vmss_msi(cmd, namespace, is_identity_assign=False): + + # For the creation of VM and VMSS, "--role" and "--scope" should be passed in at the same time + # when assigning a role to the managed identity + if not is_identity_assign and namespace.assign_identity is not None: + if (namespace.identity_scope and not namespace.identity_role) or \ + (not namespace.identity_scope and namespace.identity_role): + raise ArgumentUsageError( + "usage error: please specify both --role and --scope when assigning a role to the managed identity") + + # For "az vm identity assign", "--scope" must be passed in when assigning a role to the managed identity + if is_identity_assign: + role_is_explicitly_specified = getattr(namespace.identity_role, 'is_default', None) is None + if not namespace.identity_scope and role_is_explicitly_specified: + raise ArgumentUsageError( + "usage error: please specify --scope when assigning a role to the managed identity") + + # Assign managed identity + if is_identity_assign or namespace.assign_identity is not None: identities = namespace.assign_identity or [] from ._vm_utils import MSI_LOCAL_ID for i, _ in enumerate(identities): if identities[i] != MSI_LOCAL_ID: identities[i] = _get_resource_id(cmd.cli_ctx, identities[i], namespace.resource_group_name, 'userAssignedIdentities', 'Microsoft.ManagedIdentity') - if not namespace.identity_scope and getattr(namespace.identity_role, 'is_default', None) is None: - raise ArgumentUsageError("usage error: '--role {}' is not applicable as the '--scope' is not provided". - format(namespace.identity_role)) + user_assigned_identities = [x for x in identities if x != MSI_LOCAL_ID] if user_assigned_identities and not cmd.supported_api_version(min_api='2017-12-01'): raise ArgumentUsageError('usage error: user assigned identity is only available under profile ' @@ -1232,19 +1247,9 @@ def _validate_vm_vmss_msi(cmd, namespace, from_set_command=False): # keep 'identity_role' for output as logical name is more readable setattr(namespace, 'identity_role_id', _resolve_role_id(cmd.cli_ctx, namespace.identity_role, namespace.identity_scope)) - elif namespace.identity_scope or getattr(namespace.identity_role, 'is_default', None) is None: + elif namespace.identity_scope or namespace.identity_role: raise ArgumentUsageError('usage error: --assign-identity [--scope SCOPE] [--role ROLE]') - # For the creation of VM and VMSS, the default value "Contributor" of "--role" will be removed in the future. - # Therefore, the first step is to prompt users that parameters "--role" and "--scope" should be passed in - # at the same time to reduce the impact of breaking change - if not from_set_command and namespace.identity_scope and getattr(namespace.identity_role, 'is_default', None): - logger.warning( - "Please note that the default value of parameter '--role' will be removed in the future version 2.35.0. " - "So specify '--role' and '--scope' at the same time when assigning a role to the managed identity " - "to avoid breaking your automation script when the default value of '--role' is removed." - ) - def _validate_vm_vmss_set_applications(cmd, namespace): # pylint: disable=unused-argument if namespace.application_configuration_overrides and \ @@ -1770,7 +1775,7 @@ def process_disk_encryption_namespace(cmd, namespace): def process_assign_identity_namespace(cmd, namespace): - _validate_vm_vmss_msi(cmd, namespace, from_set_command=True) + _validate_vm_vmss_msi(cmd, namespace, is_identity_assign=True) def process_remove_identity_namespace(cmd, namespace): diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index a70aa117650..8fa993f79e5 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -769,7 +769,7 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ storage_account_type=None, vnet_type=None, nsg_type=None, public_ip_address_type=None, nic_type=None, validate=False, custom_data=None, secrets=None, plan_name=None, plan_product=None, plan_publisher=None, plan_promotion_code=None, license_type=None, assign_identity=None, identity_scope=None, - identity_role='Contributor', identity_role_id=None, application_security_groups=None, zone=None, + identity_role=None, identity_role_id=None, application_security_groups=None, zone=None, boot_diagnostics_storage=None, ultra_ssd_enabled=None, ephemeral_os_disk=None, ephemeral_os_disk_placement=None, proximity_placement_group=None, dedicated_host=None, dedicated_host_group=None, aux_subscriptions=None, @@ -2818,7 +2818,7 @@ def create_vmss(cmd, vmss_name, resource_group_name, image=None, public_ip_address_type=None, storage_profile=None, single_placement_group=None, custom_data=None, secrets=None, platform_fault_domain_count=None, plan_name=None, plan_product=None, plan_publisher=None, plan_promotion_code=None, license_type=None, - assign_identity=None, identity_scope=None, identity_role='Contributor', + assign_identity=None, identity_scope=None, identity_role=None, identity_role_id=None, zones=None, priority=None, eviction_policy=None, application_security_groups=None, ultra_ssd_enabled=None, ephemeral_os_disk=None, ephemeral_os_disk_placement=None, diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_actions.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_actions.py index 952e1e793e9..a98a7403cef 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_actions.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_actions.py @@ -288,23 +288,33 @@ def test_get_next_subnet_addr_suffix(self): @mock.patch('azure.cli.core.commands.client_factory.get_subscription_id', autospec=True) def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_id): # check throw on : az vm/vmss create --assign-identity --role reader --scope "" + from azure.cli.core.azclierror import ArgumentUsageError + np_mock = mock.MagicMock() cmd = mock.MagicMock() cmd.cli_ctx = DummyCli() np_mock.assign_identity = [] np_mock.identity_scope = None np_mock.identity_role = 'reader' + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) - with self.assertRaises(CLIError) as err: + np_mock = mock.MagicMock() + np_mock.assign_identity = [] + np_mock.identity_scope = 'foo-scope' + np_mock.identity_role = None + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is " - "not provided" in str(err.exception)) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) # check throw on : az vm/vmss create --scope "some scope" np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_scope = 'foo-scope' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -312,7 +322,7 @@ def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_i np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -336,10 +346,11 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_scope = '' np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is set to None", - str(err.exception)) + from azure.cli.core.azclierror import ArgumentUsageError + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) + self.assertTrue("usage error: please specify --scope when assigning a role to the managed identity" + in str(err.exception)) # check we set right role id np_mock = mock.MagicMock() @@ -347,7 +358,7 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_role = 'reader' np_mock.assign_identity = [] mock_resolve_role_id.return_value = 'foo-role-id' - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) self.assertEqual(np_mock.identity_role_id, 'foo-role-id') mock_resolve_role_id.assert_called_with(cmd.cli_ctx, 'reader', 'foo-scope') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_actions.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_actions.py index 50e2b7f2c09..836c3f4f05d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_actions.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_actions.py @@ -287,23 +287,33 @@ def test_get_next_subnet_addr_suffix(self): @mock.patch('azure.cli.core.commands.client_factory.get_subscription_id', autospec=True) def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_id): # check throw on : az vm/vmss create --assign-identity --role reader --scope "" + from azure.cli.core.azclierror import ArgumentUsageError + np_mock = mock.MagicMock() cmd = mock.MagicMock() cmd.cli_ctx = DummyCli() np_mock.assign_identity = [] np_mock.identity_scope = None np_mock.identity_role = 'reader' + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) - with self.assertRaises(CLIError) as err: + np_mock = mock.MagicMock() + np_mock.assign_identity = [] + np_mock.identity_scope = 'foo-scope' + np_mock.identity_role = None + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is " - "not provided" in str(err.exception)) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) # check throw on : az vm/vmss create --scope "some scope" np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_scope = 'foo-scope' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -311,7 +321,7 @@ def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_i np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -335,10 +345,11 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_scope = '' np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is set to None", - str(err.exception)) + from azure.cli.core.azclierror import ArgumentUsageError + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) + self.assertTrue("usage error: please specify --scope when assigning a role to the managed identity" + in str(err.exception)) # check we set right role id np_mock = mock.MagicMock() @@ -346,7 +357,7 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_role = 'reader' np_mock.assign_identity = [] mock_resolve_role_id.return_value = 'foo-role-id' - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) self.assertEqual(np_mock.identity_role_id, 'foo-role-id') mock_resolve_role_id.assert_called_with(cmd.cli_ctx, 'reader', 'foo-scope') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_actions.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_actions.py index 50e2b7f2c09..836c3f4f05d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_actions.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_actions.py @@ -287,23 +287,33 @@ def test_get_next_subnet_addr_suffix(self): @mock.patch('azure.cli.core.commands.client_factory.get_subscription_id', autospec=True) def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_id): # check throw on : az vm/vmss create --assign-identity --role reader --scope "" + from azure.cli.core.azclierror import ArgumentUsageError + np_mock = mock.MagicMock() cmd = mock.MagicMock() cmd.cli_ctx = DummyCli() np_mock.assign_identity = [] np_mock.identity_scope = None np_mock.identity_role = 'reader' + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) - with self.assertRaises(CLIError) as err: + np_mock = mock.MagicMock() + np_mock.assign_identity = [] + np_mock.identity_scope = 'foo-scope' + np_mock.identity_role = None + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is " - "not provided" in str(err.exception)) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) # check throw on : az vm/vmss create --scope "some scope" np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_scope = 'foo-scope' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -311,7 +321,7 @@ def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_i np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -335,10 +345,11 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_scope = '' np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is set to None", - str(err.exception)) + from azure.cli.core.azclierror import ArgumentUsageError + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) + self.assertTrue("usage error: please specify --scope when assigning a role to the managed identity" + in str(err.exception)) # check we set right role id np_mock = mock.MagicMock() @@ -346,7 +357,7 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_role = 'reader' np_mock.assign_identity = [] mock_resolve_role_id.return_value = 'foo-role-id' - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) self.assertEqual(np_mock.identity_role_id, 'foo-role-id') mock_resolve_role_id.assert_called_with(cmd.cli_ctx, 'reader', 'foo-scope') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_msi.yaml index fa31628e79c..2a151f05046 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_msi.yaml @@ -1,4 +1,604 @@ interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:11:34Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '320' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2744' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:01 GMT + etag: + - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" + expires: + - Wed, 23 Mar 2022 10:19:01 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 7df3bb3d2342b461bf3b99b863a8841a73f2292a + x-frame-options: + - deny + x-github-request-id: + - 1C32:2A00:335AAB:4C32B1:623AF1A9 + x-served-by: + - cache-hkg17927-HKG + x-timer: + - S1648030442.714933,VS0,VE258 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"0.20220310.944\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '271' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15994,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43985 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": + \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n + \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": + {\r\n \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n + \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": + \"Linux\",\r\n \"sizeInGb\": 30,\r\n \"sizeInBytes\": 32212255232\r\n + \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n + \ \"name\": \"0.20220310.944\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12994,Microsoft.Compute/GetVMImageFromLocation30Min;73987 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:11:34Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '320' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2744' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:08 GMT + etag: + - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" + expires: + - Wed, 23 Mar 2022 10:19:08 GMT + source-age: + - '6' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '2' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 758c955ecae8fc7008da9616e720d92db26436a4 + x-frame-options: + - deny + x-github-request-id: + - 1C32:2A00:335AAB:4C32B1:623AF1A9 + x-served-by: + - cache-hkg17927-HKG + x-timer: + - S1648030448.214742,VS0,VE0 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"0.20220310.944\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '271' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15992,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43983 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": + \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n + \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": + {\r\n \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n + \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": + \"Linux\",\r\n \"sizeInGb\": 30,\r\n \"sizeInBytes\": 32212255232\r\n + \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n + \ \"name\": \"0.20220310.944\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12993,Microsoft.Compute/GetVMImageFromLocation30Min;73986 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --nsg-rule + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:14:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: @@ -12,14 +612,14 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T10:31:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:11:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +628,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:35 GMT + - Wed, 23 Mar 2022 10:14:13 GMT expires: - '-1' pragma: @@ -111,13 +711,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:36 GMT + - Wed, 23 Mar 2022 10:14:14 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 10:36:36 GMT + - Wed, 23 Mar 2022 10:19:14 GMT source-age: - - '0' + - '13' strict-transport-security: - max-age=31536000 vary: @@ -131,15 +731,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 475377d9768d0c9d6a7803a123c523127494448c + - 2e3831b927db64c1b5468b76ee068e97c81c89d5 x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1281-QPG + - cache-hkg17923-HKG x-timer: - - S1647513096.489426,VS0,VE303 + - S1648030455.797119,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -158,9 +758,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -176,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:37 GMT + - Wed, 23 Mar 2022 10:14:16 GMT expires: - '-1' pragma: @@ -193,7 +793,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15991,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43982 status: code: 200 message: OK @@ -210,9 +810,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 response: @@ -235,7 +835,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:38 GMT + - Wed, 23 Mar 2022 10:14:17 GMT expires: - '-1' pragma: @@ -252,7 +852,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + - Microsoft.Compute/GetVMImageFromLocation3Min;12992,Microsoft.Compute/GetVMImageFromLocation30Min;73985 status: code: 200 message: OK @@ -269,9 +869,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -285,7 +885,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:39 GMT + - Wed, 23 Mar 2022 10:14:18 GMT expires: - '-1' pragma: @@ -312,9 +912,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -333,7 +933,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:39 GMT + - Wed, 23 Mar 2022 10:14:20 GMT expires: - '-1' pragma: @@ -369,7 +969,7 @@ interactions: "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, - {"name": "bdc70963-52a8-4db2-bc5e-94a94ffc4c16", "type": "Microsoft.Authorization/roleAssignments", + {"name": "62a187ce-f653-4d4e-b8e5-9af18360d8ff", "type": "Microsoft.Authorization/roleAssignments", "apiVersion": "2015-07-01", "dependsOn": ["Microsoft.Compute/virtualMachines/vm1"], "properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c", "principalId": "[reference(''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1'', @@ -400,25 +1000,25 @@ interactions: - application/json ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_k4FvZ7iprL9am4hlh3IZ4aLy8j9D2RJ7","name":"vm_deploy_k4FvZ7iprL9am4hlh3IZ4aLy8j9D2RJ7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14353933513801141011","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T10:31:45.247826Z","duration":"PT0.0006338S","correlationId":"6ed01687-ca29-4c94-b67f-9dbf63458c14","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/bdc70963-52a8-4db2-bc5e-94a94ffc4c16","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"bdc70963-52a8-4db2-bc5e-94a94ffc4c16"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_UGv5DWjraolbhRgufds0oFYC1aXkxgzR","name":"vm_deploy_UGv5DWjraolbhRgufds0oFYC1aXkxgzR","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17733813887108310474","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:14:25.6574014Z","duration":"PT0.0000978S","correlationId":"caffab0e-1895-4179-96f8-822d5db027a7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/62a187ce-f653-4d4e-b8e5-9af18360d8ff","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"62a187ce-f653-4d4e-b8e5-9af18360d8ff"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_k4FvZ7iprL9am4hlh3IZ4aLy8j9D2RJ7/operationStatuses/08585540937828144309?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_UGv5DWjraolbhRgufds0oFYC1aXkxgzR/operationStatuses/08585535764222653820?api-version=2021-04-01 cache-control: - no-cache content-length: - - '3287' + - '3288' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:31:45 GMT + - Wed, 23 Mar 2022 10:14:26 GMT expires: - '-1' pragma: @@ -428,7 +1028,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -445,11 +1045,11 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540937828144309?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764222653820?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -461,7 +1061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:17 GMT + - Wed, 23 Mar 2022 10:14:57 GMT expires: - '-1' pragma: @@ -488,11 +1088,54 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764222653820?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:15:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --admin-username --admin-password --scope + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540937828144309?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764222653820?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -504,7 +1147,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:47 GMT + - Wed, 23 Mar 2022 10:15:58 GMT expires: - '-1' pragma: @@ -531,14 +1174,14 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_k4FvZ7iprL9am4hlh3IZ4aLy8j9D2RJ7","name":"vm_deploy_k4FvZ7iprL9am4hlh3IZ4aLy8j9D2RJ7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14353933513801141011","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T10:32:32.4835334Z","duration":"PT47.2363412S","correlationId":"6ed01687-ca29-4c94-b67f-9dbf63458c14","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/bdc70963-52a8-4db2-bc5e-94a94ffc4c16","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"bdc70963-52a8-4db2-bc5e-94a94ffc4c16"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/bdc70963-52a8-4db2-bc5e-94a94ffc4c16"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_UGv5DWjraolbhRgufds0oFYC1aXkxgzR","name":"vm_deploy_UGv5DWjraolbhRgufds0oFYC1aXkxgzR","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17733813887108310474","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:15:30.105295Z","duration":"PT1M4.4479914S","correlationId":"caffab0e-1895-4179-96f8-822d5db027a7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/62a187ce-f653-4d4e-b8e5-9af18360d8ff","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"62a187ce-f653-4d4e-b8e5-9af18360d8ff"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Authorization/roleAssignments/62a187ce-f653-4d4e-b8e5-9af18360d8ff"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache @@ -547,7 +1190,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:47 GMT + - Wed, 23 Mar 2022 10:15:58 GMT expires: - '-1' pragma: @@ -574,9 +1217,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-11-01 response: @@ -584,18 +1227,18 @@ interactions: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"225edf34-c913-4a9c-a17f-87258149fb58\",\r\n \"tenantId\": + \ \"principalId\": \"bf5b0678-8924-453e-b498-f6751a6a73eb\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"dbcf0031-29ae-4e37-be11-068975a77cc7\",\r\n \"hardwareProfile\": + \ \"vmId\": \"ae185d5e-46e9-4292-997e-d2390910c1cd\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \ \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n },\r\n \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_disk1_dd80013aa83c4b4a8493ac7a6c6daa3d\",\r\n \"createOption\": + \"vm1_OsDisk_1_af898177848147c4bdbeba30c7fd3990\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm1_disk1_dd80013aa83c4b4a8493ac7a6c6daa3d\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_af898177848147c4bdbeba30c7fd3990\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -611,28 +1254,28 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-03-17T10:32:24+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_dd80013aa83c4b4a8493ac7a6c6daa3d\",\r\n + \"2022-03-23T10:15:18+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_af898177848147c4bdbeba30c7fd3990\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:32:04.3687221+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:14:44.4273709+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:32:18.2124674+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:15:14.8180734+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-17T10:32:02.6030834+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-23T10:14:42.5680134+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3381' + - '3390' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:48 GMT + - Wed, 23 Mar 2022 10:16:00 GMT expires: - '-1' pragma: @@ -649,7 +1292,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3832,Microsoft.Compute/LowCostGet30Min;30289 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31983 status: code: 200 message: OK @@ -666,20 +1309,20 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"701b174f-6347-4ee6-9512-14c98a0052f8\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"975e93ef-1dc5-4a84-b79c-f4109229f7f5\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"46aa1615-747f-4c01-90ef-edd9037f5fdc\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1778de5e-859d-4aae-a29d-2a6342b01987\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"701b174f-6347-4ee6-9512-14c98a0052f8\\\"\",\r\n + \ \"etag\": \"W/\\\"975e93ef-1dc5-4a84-b79c-f4109229f7f5\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -688,8 +1331,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"m5v5qba3dblenpvsxm5mftcnch.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-08-4B-C1\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"50wbkhizab3etiydm4kmrq4msb.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-05-AD-30\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -703,9 +1346,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:49 GMT + - Wed, 23 Mar 2022 10:16:01 GMT etag: - - W/"701b174f-6347-4ee6-9512-14c98a0052f8" + - W/"975e93ef-1dc5-4a84-b79c-f4109229f7f5" expires: - '-1' pragma: @@ -722,7 +1365,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6d796390-ff00-40f9-b527-9a79a33097a5 + - 91864c66-65c5-43f6-b2b0-c22b6db0ac55 status: code: 200 message: OK @@ -739,18 +1382,18 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --assign-identity --admin-username --admin-password --scope - --nsg-rule + --role --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"77257ed5-9bff-43d4-8318-f635d2f3ac06\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1af2ae3a-28e6-4b09-a732-bcc2688c3dac\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"08b04de9-3731-46fe-aa6c-57aec835e997\",\r\n - \ \"ipAddress\": \"52.234.32.130\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"814081ab-9e15-4b89-b610-4fefaf9400c4\",\r\n + \ \"ipAddress\": \"40.83.213.93\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -759,13 +1402,13 @@ interactions: cache-control: - no-cache content-length: - - '889' + - '888' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:50 GMT + - Wed, 23 Mar 2022 10:16:02 GMT etag: - - W/"77257ed5-9bff-43d4-8318-f635d2f3ac06" + - W/"1af2ae3a-28e6-4b09-a732-bcc2688c3dac" expires: - '-1' pragma: @@ -782,7 +1425,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7ba2eadd-3855-47c7-84f1-e5fc6cfcd276 + - e28b66e8-6e24-4a86-a69b-b853e4da71e5 status: code: 200 message: OK @@ -801,12 +1444,12 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T10:31:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:11:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -815,7 +1458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:50 GMT + - Wed, 23 Mar 2022 10:16:02 GMT expires: - '-1' pragma: @@ -898,13 +1541,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:50 GMT + - Wed, 23 Mar 2022 10:16:03 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 10:37:50 GMT + - Wed, 23 Mar 2022 10:21:03 GMT source-age: - - '74' + - '122' strict-transport-security: - max-age=31536000 vary: @@ -914,19 +1557,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '3' x-content-type-options: - nosniff x-fastly-request-id: - - d627163eeb17af44497f948c8b0f35c47b689e73 + - 1bb74d8aa397f7c882097470c78152414d4f6d4f x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1252-QPG + - cache-hkg17927-HKG x-timer: - - S1647513171.835154,VS0,VE1 + - S1648030564.540170,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -947,7 +1590,7 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2022-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -963,7 +1606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:51 GMT + - Wed, 23 Mar 2022 10:16:04 GMT expires: - '-1' pragma: @@ -980,7 +1623,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43996 status: code: 200 message: OK @@ -999,7 +1642,7 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2022-Datacenter/versions/20348.587.220303?api-version=2021-11-01 response: @@ -1022,7 +1665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:52 GMT + - Wed, 23 Mar 2022 10:16:06 GMT expires: - '-1' pragma: @@ -1039,7 +1682,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73997 status: code: 200 message: OK @@ -1058,21 +1701,21 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"67c2885b-a9dd-497e-a4fd-d096e55a8b52\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"77e0dcf4-6180-4cc4-9c33-8e411f9faa97\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"04f8eb67-181d-4656-beb2-bb3ec2cc4d17\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1d15acfe-0019-497a-a303-6794c8c3cc91\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"67c2885b-a9dd-497e-a4fd-d096e55a8b52\\\"\",\r\n + \ \"etag\": \"W/\\\"77e0dcf4-6180-4cc4-9c33-8e411f9faa97\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -1088,7 +1731,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:53 GMT + - Wed, 23 Mar 2022 10:16:06 GMT expires: - '-1' pragma: @@ -1105,7 +1748,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f73d97a7-0ee4-438b-9e1d-e894a3735607 + - ecc851f3-27d9-4bb7-8006-96f5db4a28b3 status: code: 200 message: OK @@ -1124,7 +1767,7 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -1142,7 +1785,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:32:53 GMT + - Wed, 23 Mar 2022 10:16:07 GMT expires: - '-1' pragma: @@ -1175,7 +1818,7 @@ interactions: "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"}}}, - {"name": "vm1/Microsoft.Authorization/74216fc5-e86b-4076-abd5-6291f8948296", + {"name": "vm1/Microsoft.Authorization/5c06e43b-97b5-4a69-ab24-dc98ba774cbc", "type": "Microsoft.Compute/virtualMachines/providers/roleAssignments", "apiVersion": "2015-07-01", "dependsOn": ["Microsoft.Compute/virtualMachines/vm2"], "properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", @@ -1209,15 +1852,15 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_zlFVa32pO8KuRpf20GYPgRdla7AKWkpJ","name":"vm_deploy_zlFVa32pO8KuRpf20GYPgRdla7AKWkpJ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16767611191867778131","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T10:32:59.629784Z","duration":"PT0.0008916S","correlationId":"e59398d3-1258-450d-b8b2-f1b06748fba0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/74216fc5-e86b-4076-abd5-6291f8948296","resourceType":"Microsoft.Compute/virtualMachines/providers/roleAssignments","resourceName":"vm1/Microsoft.Authorization/74216fc5-e86b-4076-abd5-6291f8948296"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_PgkqF4hciqWcg9LXxdh71Qhwk3UhLGAp","name":"vm_deploy_PgkqF4hciqWcg9LXxdh71Qhwk3UhLGAp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4098521040566810532","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:16:14.2753306Z","duration":"PT0.0008769S","correlationId":"9ef1c644-5aee-4700-912a-a36fbe35c901","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/5c06e43b-97b5-4a69-ab24-dc98ba774cbc","resourceType":"Microsoft.Compute/virtualMachines/providers/roleAssignments","resourceName":"vm1/Microsoft.Authorization/5c06e43b-97b5-4a69-ab24-dc98ba774cbc"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_zlFVa32pO8KuRpf20GYPgRdla7AKWkpJ/operationStatuses/08585540937090010190?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_PgkqF4hciqWcg9LXxdh71Qhwk3UhLGAp/operationStatuses/08585535763135436318?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1225,7 +1868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:33:00 GMT + - Wed, 23 Mar 2022 10:16:15 GMT expires: - '-1' pragma: @@ -1235,7 +1878,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1254,9 +1897,95 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535763135436318?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:16:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --scope --role --admin-username --admin-password + --nsg-rule + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535763135436318?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:17:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --assign-identity --scope --role --admin-username --admin-password + --nsg-rule + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540937090010190?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535763135436318?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1268,7 +1997,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:33:31 GMT + - Wed, 23 Mar 2022 10:17:47 GMT expires: - '-1' pragma: @@ -1297,9 +2026,9 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540937090010190?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535763135436318?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -1311,7 +2040,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:01 GMT + - Wed, 23 Mar 2022 10:18:17 GMT expires: - '-1' pragma: @@ -1340,21 +2069,21 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_zlFVa32pO8KuRpf20GYPgRdla7AKWkpJ","name":"vm_deploy_zlFVa32pO8KuRpf20GYPgRdla7AKWkpJ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16767611191867778131","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T10:33:54.3012174Z","duration":"PT54.672325S","correlationId":"e59398d3-1258-450d-b8b2-f1b06748fba0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/74216fc5-e86b-4076-abd5-6291f8948296","resourceType":"Microsoft.Compute/virtualMachines/providers/roleAssignments","resourceName":"vm1/Microsoft.Authorization/74216fc5-e86b-4076-abd5-6291f8948296"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/74216fc5-e86b-4076-abd5-6291f8948296"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_PgkqF4hciqWcg9LXxdh71Qhwk3UhLGAp","name":"vm_deploy_PgkqF4hciqWcg9LXxdh71Qhwk3UhLGAp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4098521040566810532","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:17:58.0412252Z","duration":"PT1M43.7667715S","correlationId":"9ef1c644-5aee-4700-912a-a36fbe35c901","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/5c06e43b-97b5-4a69-ab24-dc98ba774cbc","resourceType":"Microsoft.Compute/virtualMachines/providers/roleAssignments","resourceName":"vm1/Microsoft.Authorization/5c06e43b-97b5-4a69-ab24-dc98ba774cbc"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/5c06e43b-97b5-4a69-ab24-dc98ba774cbc"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '3945' + - '3947' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:02 GMT + - Wed, 23 Mar 2022 10:18:18 GMT expires: - '-1' pragma: @@ -1383,7 +2112,7 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2?$expand=instanceView&api-version=2021-11-01 response: @@ -1391,18 +2120,18 @@ interactions: string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"769f517f-9edf-48d0-943c-3a86c128e7da\",\r\n \"tenantId\": + \ \"principalId\": \"cb666f0c-1658-4ea2-a550-ec82a8dd5874\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"160fccc3-aacf-4642-ab9d-792d5d537b7a\",\r\n \"hardwareProfile\": + \ \"vmId\": \"493e8882-6946-4b10-b74d-d40ec2d1e09c\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \ \"offer\": \"WindowsServer\",\r\n \"sku\": \"2022-Datacenter\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"20348.587.220303\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \"name\": - \"vm2_disk1_0617e3a7c25a4079ac9ad31c20a57c75\",\r\n \"createOption\": + \"vm2_OsDisk_1_71e33db8452a48fcbd713051d9027df9\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm2_disk1_0617e3a7c25a4079ac9ad31c20a57c75\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm2_OsDisk_1_71e33db8452a48fcbd713051d9027df9\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -1417,29 +2146,29 @@ interactions: \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not Ready\",\r\n \"message\": \"VM status blob is found but not yet - populated.\",\r\n \"time\": \"2022-03-17T10:34:03+00:00\"\r\n }\r\n + populated.\",\r\n \"time\": \"2022-03-23T10:18:19+00:00\"\r\n }\r\n \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"vm2_disk1_0617e3a7c25a4079ac9ad31c20a57c75\",\r\n \"statuses\": + \"vm2_OsDisk_1_71e33db8452a48fcbd713051d9027df9\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:33:26.2281848+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:16:30.0525251+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:33:46.0094651+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:17:49.8650719+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-17T10:33:24.4781782+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-23T10:16:28.3962557+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3328' + - '3337' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:03 GMT + - Wed, 23 Mar 2022 10:18:19 GMT expires: - '-1' pragma: @@ -1456,7 +2185,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3840,Microsoft.Compute/LowCostGet30Min;30222 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31977 status: code: 200 message: OK @@ -1475,18 +2204,18 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\",\r\n - \ \"etag\": \"W/\\\"e0a3ddbf-c483-4a0a-a91d-605e0893db8f\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"0126e1de-dcd9-4f69-8399-b4b8dc257569\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"d6b22a4e-10e5-4ae9-9737-e512ee1916c5\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"eedc4475-24ed-4d07-bd5e-2faeedc8e7d1\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm2\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\",\r\n - \ \"etag\": \"W/\\\"e0a3ddbf-c483-4a0a-a91d-605e0893db8f\\\"\",\r\n + \ \"etag\": \"W/\\\"0126e1de-dcd9-4f69-8399-b4b8dc257569\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -1495,8 +2224,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"m5v5qba3dblenpvsxm5mftcnch.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-3B-B2-33\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"50wbkhizab3etiydm4kmrq4msb.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-02-EE-4F\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1510,9 +2239,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:04 GMT + - Wed, 23 Mar 2022 10:18:21 GMT etag: - - W/"e0a3ddbf-c483-4a0a-a91d-605e0893db8f" + - W/"0126e1de-dcd9-4f69-8399-b4b8dc257569" expires: - '-1' pragma: @@ -1529,7 +2258,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9f116646-2862-4ebb-9050-313b484b491a + - d3110ff5-9faa-44c4-b08b-5eb22ea9d891 status: code: 200 message: OK @@ -1548,16 +2277,16 @@ interactions: - -g -n --image --assign-identity --scope --role --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP\",\r\n - \ \"etag\": \"W/\\\"b71fe370-3784-4e51-908c-9d4e3012ce88\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7958a65a-3aef-4845-8b52-abb9d3ff3d01\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"95231049-d024-447d-bdbb-dd12825bde71\",\r\n - \ \"ipAddress\": \"20.43.243.166\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"512d47d8-2ce5-44da-9e38-430d0ccc9b7b\",\r\n + \ \"ipAddress\": \"13.88.44.165\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1566,13 +2295,13 @@ interactions: cache-control: - no-cache content-length: - - '889' + - '888' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:04 GMT + - Wed, 23 Mar 2022 10:18:21 GMT etag: - - W/"b71fe370-3784-4e51-908c-9d4e3012ce88" + - W/"7958a65a-3aef-4845-8b52-abb9d3ff3d01" expires: - '-1' pragma: @@ -1589,7 +2318,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5cf603dc-a061-4ef1-93e1-b79f18d437eb + - 7aaed99b-8af5-487d-bcdd-a5f0e5466999 status: code: 200 message: OK @@ -1607,12 +2336,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T10:31:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001","name":"cli_test_vm_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:11:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1621,7 +2350,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:05 GMT + - Wed, 23 Mar 2022 10:18:22 GMT expires: - '-1' pragma: @@ -1704,13 +2433,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:05 GMT + - Wed, 23 Mar 2022 10:18:23 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 10:39:05 GMT + - Wed, 23 Mar 2022 10:23:23 GMT source-age: - - '149' + - '261' strict-transport-security: - max-age=31536000 vary: @@ -1720,19 +2449,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '4' x-content-type-options: - nosniff x-fastly-request-id: - - 08382152b1756bb27a83fabd287d26124d1c45a4 + - 16805cb3441c728592774fa4ff2e95e8a2b1bb5a x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1271-QPG + - cache-hkg17927-HKG x-timer: - - S1647513246.566592,VS0,VE1 + - S1648030703.072325,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -1752,7 +2481,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -1768,7 +2497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:06 GMT + - Wed, 23 Mar 2022 10:18:24 GMT expires: - '-1' pragma: @@ -1785,7 +2514,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15996,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43996 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43980 status: code: 200 message: OK @@ -1803,7 +2532,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 response: @@ -1826,7 +2555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:07 GMT + - Wed, 23 Mar 2022 10:18:25 GMT expires: - '-1' pragma: @@ -1843,7 +2572,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73997 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73984 status: code: 200 message: OK @@ -1861,21 +2590,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"73448986-bbee-4001-a34b-e0c3ca145576\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"f3162f70-b8b5-4593-b060-bf6c3df4c234\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"04f8eb67-181d-4656-beb2-bb3ec2cc4d17\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1d15acfe-0019-497a-a303-6794c8c3cc91\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"73448986-bbee-4001-a34b-e0c3ca145576\\\"\",\r\n + \ \"etag\": \"W/\\\"f3162f70-b8b5-4593-b060-bf6c3df4c234\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -1892,7 +2621,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:07 GMT + - Wed, 23 Mar 2022 10:18:26 GMT expires: - '-1' pragma: @@ -1909,7 +2638,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6707e519-7cff-44eb-a65c-ea40a58561c2 + - 3f54571a-31de-4459-b146-a5dbe158044e status: code: 200 message: OK @@ -1955,23 +2684,23 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_RwuNP5xsCoEuzsQLGKiyum7zEZGdDWgO","name":"vm_deploy_RwuNP5xsCoEuzsQLGKiyum7zEZGdDWgO","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15433462222318412813","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T10:34:12.9233955Z","duration":"PT0.000671S","correlationId":"3ecba741-eea6-4877-a451-796ac6083485","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_0trrof1bWSSwblDUJbT6GVS1H99TKbrg","name":"vm_deploy_0trrof1bWSSwblDUJbT6GVS1H99TKbrg","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12263149854221067956","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:18:34.4507466Z","duration":"PT0.0009269S","correlationId":"25f62407-cf4f-47e4-b740-b4f25faf0b2e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_RwuNP5xsCoEuzsQLGKiyum7zEZGdDWgO/operationStatuses/08585540936346636869?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_0trrof1bWSSwblDUJbT6GVS1H99TKbrg/operationStatuses/08585535761734928900?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2119' + - '2120' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:13 GMT + - Wed, 23 Mar 2022 10:18:35 GMT expires: - '-1' pragma: @@ -1999,9 +2728,51 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535761734928900?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:19:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --nsg-rule + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540936346636869?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535761734928900?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -2013,7 +2784,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:34:43 GMT + - Wed, 23 Mar 2022 10:19:36 GMT expires: - '-1' pragma: @@ -2041,9 +2812,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540936346636869?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535761734928900?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -2055,7 +2826,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:14 GMT + - Wed, 23 Mar 2022 10:20:07 GMT expires: - '-1' pragma: @@ -2083,21 +2854,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_RwuNP5xsCoEuzsQLGKiyum7zEZGdDWgO","name":"vm_deploy_RwuNP5xsCoEuzsQLGKiyum7zEZGdDWgO","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15433462222318412813","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T10:34:46.2476812Z","duration":"PT33.3249567S","correlationId":"3ecba741-eea6-4877-a451-796ac6083485","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Resources/deployments/vm_deploy_0trrof1bWSSwblDUJbT6GVS1H99TKbrg","name":"vm_deploy_0trrof1bWSSwblDUJbT6GVS1H99TKbrg","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12263149854221067956","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:19:38.1959811Z","duration":"PT1M3.7461614S","correlationId":"25f62407-cf4f-47e4-b740-b4f25faf0b2e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm3PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm3VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm3"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '2765' + - '2766' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:15 GMT + - Wed, 23 Mar 2022 10:20:08 GMT expires: - '-1' pragma: @@ -2125,23 +2896,23 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?$expand=instanceView&api-version=2021-11-01 response: body: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2157,28 +2928,28 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-03-17T10:34:48+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n + \"2022-03-23T10:19:39+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:34:30.7751424+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:18:58.2870488+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-03-17T10:34:43.3532945+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-03-23T10:19:33.1932903+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3211' + - '3220' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:16 GMT + - Wed, 23 Mar 2022 10:20:09 GMT expires: - '-1' pragma: @@ -2195,7 +2966,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3827,Microsoft.Compute/LowCostGet30Min;30449 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31973 status: code: 200 message: OK @@ -2213,18 +2984,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm3VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\",\r\n - \ \"etag\": \"W/\\\"75929ec4-a79f-450d-9360-d874761d62fa\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"0c838816-da05-4341-ad39-ae00eee0014e\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"41ea6a0d-b839-41e4-a1c5-7ca0300b7b13\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"27758b63-d8b2-44cc-ba86-cba23b40a280\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm3\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic/ipConfigurations/ipconfigvm3\",\r\n - \ \"etag\": \"W/\\\"75929ec4-a79f-450d-9360-d874761d62fa\\\"\",\r\n + \ \"etag\": \"W/\\\"0c838816-da05-4341-ad39-ae00eee0014e\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.6\",\r\n \"privateIPAllocationMethod\": @@ -2233,8 +3004,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"m5v5qba3dblenpvsxm5mftcnch.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-03-F7-CA\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"50wbkhizab3etiydm4kmrq4msb.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-06-9C-E0\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkSecurityGroups/vm3NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -2248,9 +3019,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:16 GMT + - Wed, 23 Mar 2022 10:20:11 GMT etag: - - W/"75929ec4-a79f-450d-9360-d874761d62fa" + - W/"0c838816-da05-4341-ad39-ae00eee0014e" expires: - '-1' pragma: @@ -2267,7 +3038,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cb70f67b-ac17-4cd2-9f14-8512295eaa8b + - f947571b-7df8-447d-9387-72fc69ada24e status: code: 200 message: OK @@ -2285,17 +3056,17 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --nsg-rule User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm3PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/publicIPAddresses/vm3PublicIP\",\r\n - \ \"etag\": \"W/\\\"44396472-dca0-402b-8666-5e835a114d89\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7abab3df-f6ea-4ce4-af15-67002189ff55\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8090916b-0c9c-4018-afe7-8f17cbb634e3\",\r\n - \ \"ipAddress\": \"52.160.150.100\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"d56eb349-bd01-4b14-a59a-8fa8536226e6\",\r\n + \ \"ipAddress\": \"13.91.164.223\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic/ipConfigurations/ipconfigvm3\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -2303,13 +3074,13 @@ interactions: cache-control: - no-cache content-length: - - '890' + - '889' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:16 GMT + - Wed, 23 Mar 2022 10:20:12 GMT etag: - - W/"44396472-dca0-402b-8666-5e835a114d89" + - W/"7abab3df-f6ea-4ce4-af15-67002189ff55" expires: - '-1' pragma: @@ -2326,7 +3097,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a446459d-611e-4d0c-a3e7-80f9a63eb3f0 + - a7192812-6401-45c7-9182-c43ff44898ec status: code: 200 message: OK @@ -2344,7 +3115,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -2362,7 +3133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:16 GMT + - Wed, 23 Mar 2022 10:20:13 GMT expires: - '-1' pragma: @@ -2394,23 +3165,23 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: body: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2420,17 +3191,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1922' + - '1928' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:17 GMT + - Wed, 23 Mar 2022 10:20:14 GMT expires: - '-1' pragma: @@ -2447,7 +3218,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3825,Microsoft.Compute/LowCostGet30Min;30447 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31972 status: code: 200 message: OK @@ -2469,7 +3240,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: @@ -2477,18 +3248,18 @@ interactions: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"0a6d0d9d-5bb7-4711-9045-ec68f3903e17\",\r\n \"tenantId\": + \ \"principalId\": \"c78f4847-b1e8-4a5e-8674-e54fb9ea938b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n \"hardwareProfile\": + \ \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \ \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n },\r\n \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2498,21 +3269,21 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Updating\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Updating\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1d3425b9-4fa3-4c67-9f79-9c789d66cb57?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a196ab9f-6298-4850-afac-cc6922942e3e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 cache-control: - no-cache content-length: - - '2091' + - '2097' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:23 GMT + - Wed, 23 Mar 2022 10:20:21 GMT expires: - '-1' pragma: @@ -2529,7 +3300,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1196 + - Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1194 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2549,23 +3320,23 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1d3425b9-4fa3-4c67-9f79-9c789d66cb57?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a196ab9f-6298-4850-afac-cc6922942e3e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 response: body: - string: "{\r\n \"startTime\": \"2022-03-17T10:35:21.6345848+00:00\",\r\n \"endTime\": - \"2022-03-17T10:35:31.134614+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"1d3425b9-4fa3-4c67-9f79-9c789d66cb57\"\r\n}" + string: "{\r\n \"startTime\": \"2022-03-23T10:20:19.8183549+00:00\",\r\n \"endTime\": + \"2022-03-23T10:20:27.0371262+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a196ab9f-6298-4850-afac-cc6922942e3e\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:54 GMT + - Wed, 23 Mar 2022 10:20:51 GMT expires: - '-1' pragma: @@ -2582,7 +3353,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29994 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29964 status: code: 200 message: OK @@ -2600,7 +3371,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: @@ -2608,18 +3379,18 @@ interactions: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"0a6d0d9d-5bb7-4711-9045-ec68f3903e17\",\r\n \"tenantId\": + \ \"principalId\": \"c78f4847-b1e8-4a5e-8674-e54fb9ea938b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n \"hardwareProfile\": + \ \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \ \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n },\r\n \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2629,17 +3400,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2092' + - '2098' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:35:54 GMT + - Wed, 23 Mar 2022 10:20:51 GMT expires: - '-1' pragma: @@ -2656,13 +3427,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3823,Microsoft.Compute/LowCostGet30Min;30411 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31970 status: code: 200 message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "0a6d0d9d-5bb7-4711-9045-ec68f3903e17"}}' + "principalId": "c78f4847-b1e8-4a5e-8674-e54fb9ea938b"}}' headers: Accept: - application/json @@ -2679,7 +3450,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -2687,7 +3458,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"0a6d0d9d-5bb7-4711-9045-ec68f3903e17","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","condition":null,"conditionVersion":null,"createdOn":"2022-03-17T10:35:55.3757134Z","updatedOn":"2022-03-17T10:35:56.6413512Z","createdBy":null,"updatedBy":"0b98dfb6-3b8c-40ae-a9c4-fd47d1741ef5","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"c78f4847-b1e8-4a5e-8674-e54fb9ea938b","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1","condition":null,"conditionVersion":null,"createdOn":"2022-03-23T10:20:53.5718279Z","updatedOn":"2022-03-23T10:20:53.9937070Z","createdBy":null,"updatedBy":"9ac534f1-d577-4034-a32d-48de400dacbf","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -2696,7 +3467,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:00 GMT + - Wed, 23 Mar 2022 10:21:00 GMT expires: - '-1' pragma: @@ -2726,7 +3497,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: @@ -2734,18 +3505,18 @@ interactions: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"0a6d0d9d-5bb7-4711-9045-ec68f3903e17\",\r\n \"tenantId\": + \ \"principalId\": \"c78f4847-b1e8-4a5e-8674-e54fb9ea938b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n \"hardwareProfile\": + \ \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \ \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n },\r\n \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2755,17 +3526,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2092' + - '2098' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:02 GMT + - Wed, 23 Mar 2022 10:20:59 GMT expires: - '-1' pragma: @@ -2782,7 +3553,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3834,Microsoft.Compute/LowCostGet30Min;30402 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31968 status: code: 200 message: OK @@ -2800,7 +3571,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: @@ -2808,18 +3579,18 @@ interactions: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"0a6d0d9d-5bb7-4711-9045-ec68f3903e17\",\r\n \"tenantId\": + \ \"principalId\": \"c78f4847-b1e8-4a5e-8674-e54fb9ea938b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"properties\": {\r\n - \ \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n \"hardwareProfile\": + \ \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \ \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n },\r\n \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2829,17 +3600,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2092' + - '2098' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:02 GMT + - Wed, 23 Mar 2022 10:21:01 GMT expires: - '-1' pragma: @@ -2856,7 +3627,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3833,Microsoft.Compute/LowCostGet30Min;30401 + - Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31967 status: code: 200 message: OK @@ -2878,23 +3649,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: body: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -2904,21 +3675,21 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Updating\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Updating\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/96338756-6ed9-437c-b057-3ea56e264640?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/21910870-2896-4597-84b3-1a8ef28d7278?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 cache-control: - no-cache content-length: - - '1921' + - '1927' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:09 GMT + - Wed, 23 Mar 2022 10:21:08 GMT expires: - '-1' pragma: @@ -2935,9 +3706,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1195 + - Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1193 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -2955,14 +3726,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/96338756-6ed9-437c-b057-3ea56e264640?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/21910870-2896-4597-84b3-1a8ef28d7278?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 response: body: - string: "{\r\n \"startTime\": \"2022-03-17T10:36:06.3065223+00:00\",\r\n \"endTime\": - \"2022-03-17T10:36:15.8221832+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"96338756-6ed9-437c-b057-3ea56e264640\"\r\n}" + string: "{\r\n \"startTime\": \"2022-03-23T10:21:05.1778165+00:00\",\r\n \"endTime\": + \"2022-03-23T10:21:11.7403162+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"21910870-2896-4597-84b3-1a8ef28d7278\"\r\n}" headers: cache-control: - no-cache @@ -2971,7 +3742,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:39 GMT + - Wed, 23 Mar 2022 10:21:38 GMT expires: - '-1' pragma: @@ -2988,7 +3759,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29992 + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29962 status: code: 200 message: OK @@ -3006,23 +3777,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: body: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -3032,17 +3803,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1922' + - '1928' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:39 GMT + - Wed, 23 Mar 2022 10:21:38 GMT expires: - '-1' pragma: @@ -3059,7 +3830,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3834,Microsoft.Compute/LowCostGet30Min;30371 + - Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31965 status: code: 200 message: OK @@ -3077,23 +3848,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3?api-version=2021-11-01 response: body: string: "{\r\n \"name\": \"vm3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/virtualMachines/vm3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"dfc9e73e-10db-4eb1-ac6c-a6c1156cd4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"610d8bc7-7c67-434e-a7f8-edf379a80324\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220310.944\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm3_disk1_be65a7829b2545b28fd5e63f813f9412\",\r\n \"createOption\": + \"vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_disk1_be65a7829b2545b28fd5e63f813f9412\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Compute/disks/vm3_OsDisk_1_e9828420bc104fa38adf081f88ce3a73\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm3\",\r\n \"adminUsername\": \"admin123\",\r\n @@ -3103,17 +3874,17 @@ interactions: \"ImageDefault\"\r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.Network/networkInterfaces/vm3VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-17T10:34:29.6032934+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-03-23T10:18:57.1620307+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1922' + - '1928' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 10:36:40 GMT + - Wed, 23 Mar 2022 10:21:40 GMT expires: - '-1' pragma: @@ -3130,7 +3901,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3832,Microsoft.Compute/LowCostGet30Min;30369 + - Microsoft.Compute/LowCostGet3Min;3988,Microsoft.Compute/LowCostGet30Min;31964 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_msi.yaml index 27c4c78e04a..1c8a6740a4a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_msi.yaml @@ -14,12 +14,12 @@ interactions: - -g -n --image --instance-count --assign-identity --admin-username --admin-password --scope User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T08:59:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:06:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:50 GMT + - Wed, 23 Mar 2022 10:08:54 GMT expires: - '-1' pragma: @@ -111,13 +111,619 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:51 GMT + - Wed, 23 Mar 2022 10:08:55 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 09:04:51 GMT + - Wed, 23 Mar 2022 10:13:55 GMT + fastly-original-body-size: + - '2744' + source-age: + - '14' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '2' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 5ccff71f0bfb295e0665f2d05ff95798a47c6d92 + x-frame-options: + - deny + x-github-request-id: + - 1C32:2A00:335AAB:4C32B1:623AF1A9 + x-served-by: + - cache-hkg17934-HKG + x-timer: + - S1648030135.471171,VS0,VE0 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"0.20220310.944\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '271' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:08:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15996,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43996 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": + \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n + \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": + {\r\n \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n + \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": + \"Linux\",\r\n \"sizeInGb\": 30,\r\n \"sizeInBytes\": 32212255232\r\n + \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n + \ \"name\": \"0.20220310.944\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:08:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12996,Microsoft.Compute/GetVMImageFromLocation30Min;73996 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --scope + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:08:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:06:30Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '324' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2744' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:01 GMT + etag: + - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" + expires: + - Wed, 23 Mar 2022 10:14:01 GMT + fastly-original-body-size: + - '2744' + source-age: + - '20' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 1254088907bd3b15d1a2e08acf0b3e4561f7f44c + x-frame-options: + - deny + x-github-request-id: + - 1C32:2A00:335AAB:4C32B1:623AF1A9 + x-served-by: + - cache-hkg17933-HKG + x-timer: + - S1648030141.335767,VS0,VE1 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"0.20220310.944\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '271' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15994,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43994 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": + \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n + \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": + {\r\n \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n + \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": + \"Linux\",\r\n \"sizeInGb\": 30,\r\n \"sizeInBytes\": 32212255232\r\n + \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n + \ \"name\": \"0.20220310.944\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220310.944\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12995,Microsoft.Compute/GetVMImageFromLocation30Min;73995 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --admin-username --admin-password + --scope --role + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:06:30Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '324' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2744' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:09:06 GMT + etag: + - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" + expires: + - Wed, 23 Mar 2022 10:14:06 GMT + fastly-original-body-size: + - '2744' source-age: - - '254' + - '25' strict-transport-security: - max-age=31536000 vary: @@ -131,15 +737,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 4266f75939720121d06045713f62b9649341c877 + - c5b98915dc0e2128be78c0879d740d5bf90bc90b x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1233-QPG + - cache-hkg17926-HKG x-timer: - - S1647507591.112381,VS0,VE2 + - S1648030146.498256,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -158,9 +764,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -176,7 +782,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:51 GMT + - Wed, 23 Mar 2022 10:09:06 GMT expires: - '-1' pragma: @@ -193,7 +799,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43981 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15993,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43993 status: code: 200 message: OK @@ -210,9 +816,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 response: @@ -235,7 +841,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:53 GMT + - Wed, 23 Mar 2022 10:09:07 GMT expires: - '-1' pragma: @@ -252,7 +858,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73986 + - Microsoft.Compute/GetVMImageFromLocation3Min;12994,Microsoft.Compute/GetVMImageFromLocation30Min;73994 status: code: 200 message: OK @@ -269,9 +875,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -285,7 +891,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:53 GMT + - Wed, 23 Mar 2022 10:09:09 GMT expires: - '-1' pragma: @@ -312,9 +918,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -333,7 +939,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 08:59:53 GMT + - Wed, 23 Mar 2022 10:09:09 GMT expires: - '-1' pragma: @@ -370,7 +976,7 @@ interactions: {"id": "[concat(resourceId(''Microsoft.Network/loadBalancers'', ''vmss1LB''), ''/frontendIPConfigurations/'', ''loadBalancerFrontEnd'')]"}, "protocol": "tcp", "frontendPortRangeStart": "50000", "frontendPortRangeEnd": "50119", "backendPort": - 22}}]}}, {"name": "3dbaeed0-e219-4490-9bb3-76a2f7b0e29b", "type": "Microsoft.Authorization/roleAssignments", + 22}}]}}, {"name": "3fb49575-7dff-44cf-aea2-7c9166b042c7", "type": "Microsoft.Authorization/roleAssignments", "apiVersion": "2015-07-01", "dependsOn": ["Microsoft.Compute/virtualMachineScaleSets/vmss1"], "properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c", "principalId": "[reference(''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1'', @@ -382,10 +988,10 @@ interactions: null, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", - "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss14fe6", "adminUsername": + "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss12877", "adminUsername": "admin123", "adminPassword": "[parameters(''adminPassword'')]"}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss14fe6Nic", "properties": {"ipConfigurations": - [{"name": "vmss14fe6IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + {"networkInterfaceConfigurations": [{"name": "vmss12877Nic", "properties": {"ipConfigurations": + [{"name": "vmss12877IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "primary": "true"}}]}}, "orchestrationMode": "Uniform"}, "sku": {"name": "Standard_DS1_v2", @@ -408,17 +1014,17 @@ interactions: - application/json ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_8XD7rJ5uOgL0CWNkPMRk4OHqAU4y73IP","name":"vmss_deploy_8XD7rJ5uOgL0CWNkPMRk4OHqAU4y73IP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4549563400415418807","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T09:00:05.8133667Z","duration":"PT0.0009551S","correlationId":"cb4bc8c0-55a6-46c4-91d8-37d0f91ef33c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3dbaeed0-e219-4490-9bb3-76a2f7b0e29b","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"3dbaeed0-e219-4490-9bb3-76a2f7b0e29b"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_TIubiZ3XiIJe5aIkFFlQk4sJLxKDulYG","name":"vmss_deploy_TIubiZ3XiIJe5aIkFFlQk4sJLxKDulYG","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10564496321705853339","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:09:23.8209782Z","duration":"PT0.000966S","correlationId":"831a651d-160d-42b5-9710-488d66d0bab0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3fb49575-7dff-44cf-aea2-7c9166b042c7","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"3fb49575-7dff-44cf-aea2-7c9166b042c7"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_8XD7rJ5uOgL0CWNkPMRk4OHqAU4y73IP/operationStatuses/08585540992825275895?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_TIubiZ3XiIJe5aIkFFlQk4sJLxKDulYG/operationStatuses/08585535767241694221?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -426,7 +1032,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:00:08 GMT + - Wed, 23 Mar 2022 10:09:26 GMT expires: - '-1' pragma: @@ -436,7 +1042,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -453,11 +1059,11 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992825275895?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535767241694221?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -469,7 +1075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:00:39 GMT + - Wed, 23 Mar 2022 10:09:57 GMT expires: - '-1' pragma: @@ -496,11 +1102,11 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992825275895?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535767241694221?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -512,7 +1118,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:09 GMT + - Wed, 23 Mar 2022 10:10:28 GMT expires: - '-1' pragma: @@ -539,23 +1145,23 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_8XD7rJ5uOgL0CWNkPMRk4OHqAU4y73IP","name":"vmss_deploy_8XD7rJ5uOgL0CWNkPMRk4OHqAU4y73IP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4549563400415418807","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T09:01:09.1853303Z","duration":"PT1M3.3729187S","correlationId":"cb4bc8c0-55a6-46c4-91d8-37d0f91ef33c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3dbaeed0-e219-4490-9bb3-76a2f7b0e29b","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"3dbaeed0-e219-4490-9bb3-76a2f7b0e29b"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss14fe6","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss14fe6Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss14fe6IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"10a2c344-51b3-4aa2-8749-5c8309986a65","timeCreated":"2022-03-17T09:00:24.9782065+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3dbaeed0-e219-4490-9bb3-76a2f7b0e29b"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_TIubiZ3XiIJe5aIkFFlQk4sJLxKDulYG","name":"vmss_deploy_TIubiZ3XiIJe5aIkFFlQk4sJLxKDulYG","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10564496321705853339","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:10:23.863001Z","duration":"PT1M0.0429888S","correlationId":"831a651d-160d-42b5-9710-488d66d0bab0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"roleAssignments","locations":[null]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3fb49575-7dff-44cf-aea2-7c9166b042c7","resourceType":"Microsoft.Authorization/roleAssignments","resourceName":"3fb49575-7dff-44cf-aea2-7c9166b042c7"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss12877","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss12877Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss12877IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"f6aefb10-efb7-42c9-84ff-23f83f55dbc1","timeCreated":"2022-03-23T10:09:42.989534+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Authorization/roleAssignments/3fb49575-7dff-44cf-aea2-7c9166b042c7"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '6036' + - '6035' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:10 GMT + - Wed, 23 Mar 2022 10:10:28 GMT expires: - '-1' pragma: @@ -582,9 +1188,9 @@ interactions: - keep-alive ParameterSetName: - -g -n --image --instance-count --assign-identity --admin-username --admin-password - --scope + --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2021-11-01 response: @@ -592,7 +1198,7 @@ interactions: string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"f3aa1364-24a2-40b7-a2c3-0557ce10e835\",\r\n \"tenantId\": + \ \"principalId\": \"5103abe7-d5d6-4f42-bcfe-dbdac8a4c76e\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -600,7 +1206,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss14fe6\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss12877\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -611,20 +1217,20 @@ interactions: 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": - {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14fe6Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14fe6IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss12877Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss12877IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"10a2c344-51b3-4aa2-8749-5c8309986a65\",\r\n \"timeCreated\": \"2022-03-17T09:00:24.9782065+00:00\"\r\n + \"f6aefb10-efb7-42c9-84ff-23f83f55dbc1\",\r\n \"timeCreated\": \"2022-03-23T10:09:42.989534+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2895' + - '2894' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:11 GMT + - Wed, 23 Mar 2022 10:10:30 GMT expires: - '-1' pragma: @@ -641,7 +1247,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;282,Microsoft.Compute/GetVMScaleSet30Min;1517 + - Microsoft.Compute/GetVMScaleSet3Min;394,Microsoft.Compute/GetVMScaleSet30Min;2594 status: code: 200 message: OK @@ -660,12 +1266,12 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T08:59:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:06:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -674,7 +1280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:12 GMT + - Wed, 23 Mar 2022 10:10:30 GMT expires: - '-1' pragma: @@ -757,13 +1363,15 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:13 GMT + - Wed, 23 Mar 2022 10:10:32 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 09:06:13 GMT + - Wed, 23 Mar 2022 10:15:32 GMT + fastly-original-body-size: + - '2744' source-age: - - '34' + - '111' strict-transport-security: - max-age=31536000 vary: @@ -773,19 +1381,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '2' x-content-type-options: - nosniff x-fastly-request-id: - - 2a5109ac1350170740ded88710366bf765babf03 + - f0f4b3efa1caf496b2ff93c14562b07f082a629e x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1267-QPG + - cache-hkg17933-HKG x-timer: - - S1647507673.017543,VS0,VE1 + - S1648030232.224958,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -806,7 +1414,7 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2022-Datacenter/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -822,7 +1430,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:13 GMT + - Wed, 23 Mar 2022 10:10:33 GMT expires: - '-1' pragma: @@ -839,7 +1447,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15996,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43991 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 status: code: 200 message: OK @@ -858,7 +1466,7 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftWindowsServer/artifacttypes/vmimage/offers/WindowsServer/skus/2022-Datacenter/versions/20348.587.220303?api-version=2021-11-01 response: @@ -881,7 +1489,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:15 GMT + - Wed, 23 Mar 2022 10:10:34 GMT expires: - '-1' pragma: @@ -898,7 +1506,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73992 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 status: code: 200 message: OK @@ -917,25 +1525,24 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vmss1VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET\",\r\n - \ \"etag\": \"W/\\\"baccd55b-6faf-442e-9ded-b50cbe22110d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"bdad2789-e31a-4af9-99d6-ef9157217480\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9d5ba4c8-2785-4778-8f4f-4117c91a0196\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"361135a8-d58a-4d14-a052-36f27e956b87\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vmss1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\",\r\n - \ \"etag\": \"W/\\\"baccd55b-6faf-442e-9ded-b50cbe22110d\\\"\",\r\n + \ \"etag\": \"W/\\\"bdad2789-e31a-4af9-99d6-ef9157217480\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss14fe6Nic/ipConfigurations/vmss14fe6IPConfig\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss14fe6Nic/ipConfigurations/vmss14fe6IPConfig\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss12877Nic/ipConfigurations/vmss12877IPConfig\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -944,11 +1551,11 @@ interactions: cache-control: - no-cache content-length: - - '1923' + - '1624' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:15 GMT + - Wed, 23 Mar 2022 10:10:35 GMT expires: - '-1' pragma: @@ -965,7 +1572,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 312ba5ce-26d6-4767-b386-faadddd39c2d + - 767a07d9-aa39-455e-883e-f1a6f9851773 status: code: 200 message: OK @@ -984,7 +1591,7 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -1002,7 +1609,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:16 GMT + - Wed, 23 Mar 2022 10:10:35 GMT expires: - '-1' pragma: @@ -1035,7 +1642,7 @@ interactions: {"id": "[concat(resourceId(''Microsoft.Network/loadBalancers'', ''vmss2LB''), ''/frontendIPConfigurations/'', ''loadBalancerFrontEnd'')]"}, "protocol": "tcp", "frontendPortRangeStart": "50000", "frontendPortRangeEnd": "50119", "backendPort": - 3389}}]}}, {"name": "vmss1/Microsoft.Authorization/e756bc95-1b5f-4b66-9302-ed403a11e4e0", + 3389}}]}}, {"name": "vmss1/Microsoft.Authorization/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85", "type": "Microsoft.Compute/virtualMachineScaleSets/providers/roleAssignments", "apiVersion": "2015-07-01", "dependsOn": ["Microsoft.Compute/virtualMachineScaleSets/vmss2"], "properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", @@ -1048,9 +1655,9 @@ interactions: {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2022-Datacenter", "version": "latest"}}, "osProfile": - {"computerNamePrefix": "vmss26b85", "adminUsername": "admin123", "adminPassword": + {"computerNamePrefix": "vmss252be", "adminUsername": "admin123", "adminPassword": "[parameters(''adminPassword'')]"}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss26b85Nic", "properties": {"ipConfigurations": [{"name": "vmss26b85IPConfig", + [{"name": "vmss252beNic", "properties": {"ipConfigurations": [{"name": "vmss252beIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/backendAddressPools/vmss2LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/inboundNatPools/vmss2LBNatPool"}]}}], @@ -1076,15 +1683,15 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_bGKtOVDKrOjXIUyvHd2jhl0Ujr5oDGtv","name":"vmss_deploy_bGKtOVDKrOjXIUyvHd2jhl0Ujr5oDGtv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3124113702580435386","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T09:01:26.7839225Z","duration":"PT0.0005951S","correlationId":"719c3369-9c40-48e9-b603-9248b1dcecb6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss2LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/e756bc95-1b5f-4b66-9302-ed403a11e4e0","resourceType":"Microsoft.Compute/virtualMachineScaleSets/providers/roleAssignments","resourceName":"vmss1/Microsoft.Authorization/e756bc95-1b5f-4b66-9302-ed403a11e4e0"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_rcLilUqd9p2N0nzxdrpsrOuoIcMMrU71","name":"vmss_deploy_rcLilUqd9p2N0nzxdrpsrOuoIcMMrU71","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9456010186448674545","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:10:50.3901154Z","duration":"PT0.0002604S","correlationId":"468df128-0b1a-4d58-af26-386cad1de9c4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss2LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85","resourceType":"Microsoft.Compute/virtualMachineScaleSets/providers/roleAssignments","resourceName":"vmss1/Microsoft.Authorization/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_bGKtOVDKrOjXIUyvHd2jhl0Ujr5oDGtv/operationStatuses/08585540992009122736?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_rcLilUqd9p2N0nzxdrpsrOuoIcMMrU71/operationStatuses/08585535766373161453?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1092,7 +1699,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:29 GMT + - Wed, 23 Mar 2022 10:10:53 GMT expires: - '-1' pragma: @@ -1102,7 +1709,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1121,9 +1728,52 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535766373161453?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Mar 2022 10:11:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --instance-count --assign-identity --scope --role --admin-username + --admin-password + User-Agent: + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992009122736?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535766373161453?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1135,7 +1785,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:01:59 GMT + - Wed, 23 Mar 2022 10:11:55 GMT expires: - '-1' pragma: @@ -1164,9 +1814,9 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992009122736?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535766373161453?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1178,7 +1828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:02:30 GMT + - Wed, 23 Mar 2022 10:12:25 GMT expires: - '-1' pragma: @@ -1207,9 +1857,9 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992009122736?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535766373161453?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1221,7 +1871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:01 GMT + - Wed, 23 Mar 2022 10:12:55 GMT expires: - '-1' pragma: @@ -1250,9 +1900,9 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540992009122736?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535766373161453?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -1264,7 +1914,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:32 GMT + - Wed, 23 Mar 2022 10:13:27 GMT expires: - '-1' pragma: @@ -1293,12 +1943,12 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_bGKtOVDKrOjXIUyvHd2jhl0Ujr5oDGtv","name":"vmss_deploy_bGKtOVDKrOjXIUyvHd2jhl0Ujr5oDGtv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3124113702580435386","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T09:03:01.4792436Z","duration":"PT1M34.6959162S","correlationId":"719c3369-9c40-48e9-b603-9248b1dcecb6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss2LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/e756bc95-1b5f-4b66-9302-ed403a11e4e0","resourceType":"Microsoft.Compute/virtualMachineScaleSets/providers/roleAssignments","resourceName":"vmss1/Microsoft.Authorization/e756bc95-1b5f-4b66-9302-ed403a11e4e0"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss26b85","adminUsername":"admin123","windowsConfiguration":{"provisionVMAgent":true,"enableAutomaticUpdates":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Windows","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":127},"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2022-Datacenter","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss26b85Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss26b85IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/backendAddressPools/vmss2LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/inboundNatPools/vmss2LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"3df2902b-97e0-477c-971d-860d2a00fad0","timeCreated":"2022-03-17T09:01:41.3845097+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/e756bc95-1b5f-4b66-9302-ed403a11e4e0"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_rcLilUqd9p2N0nzxdrpsrOuoIcMMrU71","name":"vmss_deploy_rcLilUqd9p2N0nzxdrpsrOuoIcMMrU71","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9456010186448674545","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:13:11.6859229Z","duration":"PT2M21.2960679S","correlationId":"468df128-0b1a-4d58-af26-386cad1de9c4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets/providers/roleAssignments","locations":[null]},{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss2LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2","apiVersion":"2019-07-01"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85","resourceType":"Microsoft.Compute/virtualMachineScaleSets/providers/roleAssignments","resourceName":"vmss1/Microsoft.Authorization/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss2LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss2"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss252be","adminUsername":"admin123","windowsConfiguration":{"provisionVMAgent":true,"enableAutomaticUpdates":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Windows","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":127},"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2022-Datacenter","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss252beNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss252beIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/backendAddressPools/vmss2LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/inboundNatPools/vmss2LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"50a29d71-2067-402f-8c28-4c63fadae2b1","timeCreated":"2022-03-23T10:11:12.3646397+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/7e2a9aa0-e887-4d78-ab6d-e16d90e28d85"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss2LBPublicIP"}]}}' headers: cache-control: - no-cache @@ -1307,7 +1957,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:32 GMT + - Wed, 23 Mar 2022 10:13:27 GMT expires: - '-1' pragma: @@ -1336,7 +1986,7 @@ interactions: - -g -n --image --instance-count --assign-identity --scope --role --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2?api-version=2021-11-01 response: @@ -1344,7 +1994,7 @@ interactions: string: "{\r\n \"name\": \"vmss2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"a14e8d5a-008a-460f-85ab-996369660acd\",\r\n \"tenantId\": + \ \"principalId\": \"a3d617ca-f230-4037-835b-36fe82eac4fa\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -1352,7 +2002,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss26b85\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss252be\",\r\n \"adminUsername\": \"admin123\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -1363,10 +2013,10 @@ interactions: 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \ \"sku\": \"2022-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss26b85Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss26b85IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/backendAddressPools/vmss2LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/inboundNatPools/vmss2LBNatPool\"}]}}]}}]}\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss252beNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss252beIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/backendAddressPools/vmss2LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss2LB/inboundNatPools/vmss2LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"3df2902b-97e0-477c-971d-860d2a00fad0\",\r\n \"timeCreated\": \"2022-03-17T09:01:41.3845097+00:00\"\r\n + \"50a29d71-2067-402f-8c28-4c63fadae2b1\",\r\n \"timeCreated\": \"2022-03-23T10:11:12.3646397+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -1376,7 +2026,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:34 GMT + - Wed, 23 Mar 2022 10:13:28 GMT expires: - '-1' pragma: @@ -1393,7 +2043,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;287,Microsoft.Compute/GetVMScaleSet30Min;1415 + - Microsoft.Compute/GetVMScaleSet3Min;391,Microsoft.Compute/GetVMScaleSet30Min;2586 status: code: 200 message: OK @@ -1411,12 +2061,12 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-17T08:59:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001","name":"cli_test_vmss_msi000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-03-23T10:06:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1425,7 +2075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:35 GMT + - Wed, 23 Mar 2022 10:13:29 GMT expires: - '-1' pragma: @@ -1508,13 +2158,15 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:36 GMT + - Wed, 23 Mar 2022 10:13:30 GMT etag: - W/"d5acead0b38a79d988c245a7a15ec01f999da9244c97bbdc1fa2ec70d9e433f5" expires: - - Thu, 17 Mar 2022 09:08:36 GMT + - Wed, 23 Mar 2022 10:18:30 GMT + fastly-original-body-size: + - '2744' source-age: - - '177' + - '289' strict-transport-security: - max-age=31536000 vary: @@ -1524,19 +2176,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '1' + - '4' x-content-type-options: - nosniff x-fastly-request-id: - - cb430e10d1b61e0814954bc707ab7d31a73fd8a9 + - e5b055f8d37dc387f34748f55693031b9b42c01b x-frame-options: - deny x-github-request-id: - - 2570:063C:1995B2:2734C1:62329D55 + - 1C32:2A00:335AAB:4C32B1:623AF1A9 x-served-by: - - cache-qpg1266-QPG + - cache-hkg17924-HKG x-timer: - - S1647507816.350684,VS0,VE1 + - S1648030410.473382,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -1556,7 +2208,7 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2021-11-01 response: @@ -1572,7 +2224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:36 GMT + - Wed, 23 Mar 2022 10:13:31 GMT expires: - '-1' pragma: @@ -1589,7 +2241,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15995,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43975 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15995,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43986 status: code: 200 message: OK @@ -1607,7 +2259,7 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220310.944?api-version=2021-11-01 response: @@ -1630,7 +2282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:37 GMT + - Wed, 23 Mar 2022 10:13:33 GMT expires: - '-1' pragma: @@ -1647,7 +2299,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73982 + - Microsoft.Compute/GetVMImageFromLocation3Min;12995,Microsoft.Compute/GetVMImageFromLocation30Min;73988 status: code: 200 message: OK @@ -1665,26 +2317,26 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vmss1VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET\",\r\n - \ \"etag\": \"W/\\\"85e06818-7b74-4c8c-8050-852eea18f49e\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"717ceccd-ba8a-4341-9f6b-d4dc3e3138ef\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9d5ba4c8-2785-4778-8f4f-4117c91a0196\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"361135a8-d58a-4d14-a052-36f27e956b87\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vmss1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\",\r\n - \ \"etag\": \"W/\\\"85e06818-7b74-4c8c-8050-852eea18f49e\\\"\",\r\n + \ \"etag\": \"W/\\\"717ceccd-ba8a-4341-9f6b-d4dc3e3138ef\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss14fe6Nic/ipConfigurations/vmss14fe6IPConfig\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/virtualMachines/0/networkInterfaces/vmss26b85Nic/ipConfigurations/vmss26b85IPConfig\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/virtualMachines/1/networkInterfaces/vmss26b85Nic/ipConfigurations/vmss26b85IPConfig\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss12877Nic/ipConfigurations/vmss12877IPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/virtualMachines/0/networkInterfaces/vmss252beNic/ipConfigurations/vmss252beIPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/virtualMachines/1/networkInterfaces/vmss252beNic/ipConfigurations/vmss252beIPConfig\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -1697,7 +2349,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:37 GMT + - Wed, 23 Mar 2022 10:13:33 GMT expires: - '-1' pragma: @@ -1714,7 +2366,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bbb1549c-c2b8-487e-a482-5f3ba7fbea21 + - aedc0df8-877e-48a8-b3eb-2b72ddb8d14a status: code: 200 message: OK @@ -1740,9 +2392,9 @@ interactions: {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}}, "osProfile": {"computerNamePrefix": - "vmss345ec", "adminUsername": "admin123", "adminPassword": "[parameters(''adminPassword'')]"}, - "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss345ecNic", - "properties": {"ipConfigurations": [{"name": "vmss345ecIPConfig", "properties": + "vmss32982", "adminUsername": "admin123", "adminPassword": "[parameters(''adminPassword'')]"}, + "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss32982Nic", + "properties": {"ipConfigurations": [{"name": "vmss32982IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool"}]}}], @@ -1766,15 +2418,15 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_N5EEtPX9Y4yr5he22ewoTsdha8UMYFRp","name":"vmss_deploy_N5EEtPX9Y4yr5he22ewoTsdha8UMYFRp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2926218657752230600","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-17T09:03:48.2582881Z","duration":"PT0.0009524S","correlationId":"4c71ca91-4f16-40f8-8f5d-bf6bc2bca7dd","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss3LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss3"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_m7P66hBYtth3n6moq7O39KbmkVwB272C","name":"vmss_deploy_m7P66hBYtth3n6moq7O39KbmkVwB272C","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4413464484571963053","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-03-23T10:13:47.7229637Z","duration":"PT0.0009765S","correlationId":"26527010-b72a-4ab1-96b2-29ccca6f9b97","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss3LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss3"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_N5EEtPX9Y4yr5he22ewoTsdha8UMYFRp/operationStatuses/08585540990583479958?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_m7P66hBYtth3n6moq7O39KbmkVwB272C/operationStatuses/08585535764600841215?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1782,7 +2434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:03:48 GMT + - Wed, 23 Mar 2022 10:13:49 GMT expires: - '-1' pragma: @@ -1792,7 +2444,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -1810,9 +2462,9 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540990583479958?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764600841215?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1824,7 +2476,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:04:20 GMT + - Wed, 23 Mar 2022 10:14:20 GMT expires: - '-1' pragma: @@ -1852,9 +2504,9 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540990583479958?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764600841215?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -1866,7 +2518,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:04:50 GMT + - Wed, 23 Mar 2022 10:14:52 GMT expires: - '-1' pragma: @@ -1894,9 +2546,9 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585540990583479958?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585535764600841215?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -1908,7 +2560,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:20 GMT + - Wed, 23 Mar 2022 10:15:22 GMT expires: - '-1' pragma: @@ -1936,12 +2588,12 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_N5EEtPX9Y4yr5he22ewoTsdha8UMYFRp","name":"vmss_deploy_N5EEtPX9Y4yr5he22ewoTsdha8UMYFRp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2926218657752230600","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-17T09:04:54.4193338Z","duration":"PT1M6.1619981S","correlationId":"4c71ca91-4f16-40f8-8f5d-bf6bc2bca7dd","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss3LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss3"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss345ec","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss345ecNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss345ecIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"890726ce-4f02-475a-8dd8-9f59a9854bf8","timeCreated":"2022-03-17T09:04:01.9784227+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Resources/deployments/vmss_deploy_m7P66hBYtth3n6moq7O39KbmkVwB272C","name":"vmss_deploy_m7P66hBYtth3n6moq7O39KbmkVwB272C","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4413464484571963053","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-03-23T10:14:51.6341767Z","duration":"PT1M3.9121895S","correlationId":"26527010-b72a-4ab1-96b2-29ccca6f9b97","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss3LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss3LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss3"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss32982","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss32982Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss32982IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"f1d11d86-0384-41c7-85a4-28ec0b2a10ae","timeCreated":"2022-03-23T10:14:07.0054562+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/publicIPAddresses/vmss3LBPublicIP"}]}}' headers: cache-control: - no-cache @@ -1950,7 +2602,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:21 GMT + - Wed, 23 Mar 2022 10:15:22 GMT expires: - '-1' pragma: @@ -1978,7 +2630,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -1996,7 +2648,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:21 GMT + - Wed, 23 Mar 2022 10:15:24 GMT expires: - '-1' pragma: @@ -2028,7 +2680,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2042,7 +2694,7 @@ interactions: 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss345ec\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": @@ -2052,10 +2704,10 @@ interactions: \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2065,7 +2717,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:22 GMT + - Wed, 23 Mar 2022 10:15:25 GMT expires: - '-1' pragma: @@ -2082,7 +2734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;256,Microsoft.Compute/GetVMScaleSet30Min;1503 + - Microsoft.Compute/GetVMScaleSet3Min;389,Microsoft.Compute/GetVMScaleSet30Min;2581 status: code: 200 message: OK @@ -2104,7 +2756,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2112,7 +2764,7 @@ interactions: string: "{\r\n \"name\": \"vmss3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27\",\r\n \"tenantId\": + \ \"principalId\": \"e2499470-b6d0-495a-beb2-6d832c653858\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -2120,7 +2772,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss345ec\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -2131,16 +2783,16 @@ interactions: 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": - {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ff81c0f8-6a41-45d6-8344-ab16ed362f2a?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28ee453b-663c-474a-a74f-6889517e4ebb?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 cache-control: - no-cache content-length: @@ -2148,7 +2800,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:29 GMT + - Wed, 23 Mar 2022 10:15:35 GMT expires: - '-1' pragma: @@ -2165,9 +2817,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/VMScaleSetActions3Min;237,Microsoft.Compute/VMScaleSetActions30Min;1192,Microsoft.Compute/VmssQueuedVMOperations;0 + - Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1199,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-ms-request-charge: - '0' status: @@ -2187,23 +2839,23 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ff81c0f8-6a41-45d6-8344-ab16ed362f2a?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28ee453b-663c-474a-a74f-6889517e4ebb?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 response: body: - string: "{\r\n \"startTime\": \"2022-03-17T09:05:28.8075091+00:00\",\r\n \"endTime\": - \"2022-03-17T09:05:34.0263954+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ff81c0f8-6a41-45d6-8344-ab16ed362f2a\"\r\n}" + string: "{\r\n \"startTime\": \"2022-03-23T10:15:33.693061+00:00\",\r\n \"endTime\": + \"2022-03-23T10:15:41.208659+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"28ee453b-663c-474a-a74f-6889517e4ebb\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '182' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:40 GMT + - Wed, 23 Mar 2022 10:15:46 GMT expires: - '-1' pragma: @@ -2220,7 +2872,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14972,Microsoft.Compute/GetOperation30Min;29791 + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29983 status: code: 200 message: OK @@ -2238,7 +2890,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2246,7 +2898,7 @@ interactions: string: "{\r\n \"name\": \"vmss3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27\",\r\n \"tenantId\": + \ \"principalId\": \"e2499470-b6d0-495a-beb2-6d832c653858\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -2254,7 +2906,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss345ec\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -2265,10 +2917,10 @@ interactions: 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": - {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2278,7 +2930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:41 GMT + - Wed, 23 Mar 2022 10:15:46 GMT expires: - '-1' pragma: @@ -2295,13 +2947,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;267,Microsoft.Compute/GetVMScaleSet30Min;1486 + - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2578 status: code: 200 message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27"}}' + "principalId": "e2499470-b6d0-495a-beb2-6d832c653858"}}' headers: Accept: - application/json @@ -2318,7 +2970,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -2326,7 +2978,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"error":{"code":"PrincipalNotFound","message":"Principal 8be50ad53e4e4d35b2e04f0ec4a2ef27 + string: '{"error":{"code":"PrincipalNotFound","message":"Principal e2499470b6d0495abeb26d832c653858 does not exist in the directory 54826b22-38d6-4fb2-bad9-b7b93a3e9c5a."}}' headers: cache-control: @@ -2336,7 +2988,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:41 GMT + - Wed, 23 Mar 2022 10:15:48 GMT expires: - '-1' pragma: @@ -2348,13 +3000,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 400 message: Bad Request - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27"}}' + "principalId": "e2499470-b6d0-495a-beb2-6d832c653858"}}' headers: Accept: - application/json @@ -2373,7 +3025,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -2381,7 +3033,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"error":{"code":"PrincipalNotFound","message":"Principal 8be50ad53e4e4d35b2e04f0ec4a2ef27 + string: '{"error":{"code":"PrincipalNotFound","message":"Principal e2499470b6d0495abeb26d832c653858 does not exist in the directory 54826b22-38d6-4fb2-bad9-b7b93a3e9c5a."}}' headers: cache-control: @@ -2391,7 +3043,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:47 GMT + - Wed, 23 Mar 2022 10:15:53 GMT expires: - '-1' pragma: @@ -2403,13 +3055,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 400 message: Bad Request - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27"}}' + "principalId": "e2499470-b6d0-495a-beb2-6d832c653858"}}' headers: Accept: - application/json @@ -2428,7 +3080,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - python/3.10.0 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.4 + - python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.34.1 accept-language: - en-US @@ -2436,7 +3088,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","condition":null,"conditionVersion":null,"createdOn":"2022-03-17T09:05:52.8399127Z","updatedOn":"2022-03-17T09:05:53.2307030Z","createdBy":null,"updatedBy":"0b98dfb6-3b8c-40ae-a9c4-fd47d1741ef5","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"e2499470-b6d0-495a-beb2-6d832c653858","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","condition":null,"conditionVersion":null,"createdOn":"2022-03-23T10:15:59.5509023Z","updatedOn":"2022-03-23T10:16:00.8322174Z","createdBy":null,"updatedBy":"9ac534f1-d577-4034-a32d-48de400dacbf","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -2445,7 +3097,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:57 GMT + - Wed, 23 Mar 2022 10:16:04 GMT expires: - '-1' pragma: @@ -2457,7 +3109,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 201 message: Created @@ -2475,7 +3127,7 @@ interactions: ParameterSetName: - -g -n --scope --role User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2483,7 +3135,7 @@ interactions: string: "{\r\n \"name\": \"vmss3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27\",\r\n \"tenantId\": + \ \"principalId\": \"e2499470-b6d0-495a-beb2-6d832c653858\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -2491,7 +3143,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss345ec\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -2502,10 +3154,10 @@ interactions: 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": - {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2515,7 +3167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:58 GMT + - Wed, 23 Mar 2022 10:16:05 GMT expires: - '-1' pragma: @@ -2532,7 +3184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;254,Microsoft.Compute/GetVMScaleSet30Min;1473 + - Microsoft.Compute/GetVMScaleSet3Min;391,Microsoft.Compute/GetVMScaleSet30Min;2577 status: code: 200 message: OK @@ -2550,7 +3202,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2558,7 +3210,7 @@ interactions: string: "{\r\n \"name\": \"vmss3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n - \ \"principalId\": \"8be50ad5-3e4e-4d35-b2e0-4f0ec4a2ef27\",\r\n \"tenantId\": + \ \"principalId\": \"e2499470-b6d0-495a-beb2-6d832c653858\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n \ },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": @@ -2566,7 +3218,7 @@ interactions: \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss345ec\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": @@ -2577,10 +3229,10 @@ interactions: 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": - {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2590,7 +3242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:05:58 GMT + - Wed, 23 Mar 2022 10:16:06 GMT expires: - '-1' pragma: @@ -2607,7 +3259,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;252,Microsoft.Compute/GetVMScaleSet30Min;1471 + - Microsoft.Compute/GetVMScaleSet3Min;390,Microsoft.Compute/GetVMScaleSet30Min;2576 status: code: 200 message: OK @@ -2629,7 +3281,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2643,7 +3295,7 @@ interactions: 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss345ec\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": @@ -2653,16 +3305,16 @@ interactions: \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a31613d9-f27e-45f5-aa1e-858d7b6e8e83?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2411ceaa-b495-4d33-99d5-c4a4954893a7?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 cache-control: - no-cache content-length: @@ -2670,7 +3322,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:06:07 GMT + - Wed, 23 Mar 2022 10:16:17 GMT expires: - '-1' pragma: @@ -2687,9 +3339,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/VMScaleSetActions3Min;236,Microsoft.Compute/VMScaleSetActions30Min;1191,Microsoft.Compute/VmssQueuedVMOperations;0 + - Microsoft.Compute/VMScaleSetActions3Min;238,Microsoft.Compute/VMScaleSetActions30Min;1198,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-ms-request-charge: - '0' status: @@ -2709,14 +3361,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a31613d9-f27e-45f5-aa1e-858d7b6e8e83?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2411ceaa-b495-4d33-99d5-c4a4954893a7?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2021-11-01 response: body: - string: "{\r\n \"startTime\": \"2022-03-17T09:06:04.1984502+00:00\",\r\n \"endTime\": - \"2022-03-17T09:06:08.5266051+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a31613d9-f27e-45f5-aa1e-858d7b6e8e83\"\r\n}" + string: "{\r\n \"startTime\": \"2022-03-23T10:16:14.5993625+00:00\",\r\n \"endTime\": + \"2022-03-23T10:16:23.6306212+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"2411ceaa-b495-4d33-99d5-c4a4954893a7\"\r\n}" headers: cache-control: - no-cache @@ -2725,7 +3377,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:06:17 GMT + - Wed, 23 Mar 2022 10:16:27 GMT expires: - '-1' pragma: @@ -2742,7 +3394,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14966,Microsoft.Compute/GetOperation30Min;29784 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29980 status: code: 200 message: OK @@ -2760,7 +3412,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2774,7 +3426,7 @@ interactions: 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss345ec\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": @@ -2784,10 +3436,10 @@ interactions: \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2797,7 +3449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:06:18 GMT + - Wed, 23 Mar 2022 10:16:28 GMT expires: - '-1' pragma: @@ -2814,7 +3466,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;253,Microsoft.Compute/GetVMScaleSet30Min;1458 + - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2572 status: code: 200 message: OK @@ -2832,7 +3484,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2846,7 +3498,7 @@ interactions: 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss345ec\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": @@ -2856,10 +3508,10 @@ interactions: \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2869,7 +3521,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:06:18 GMT + - Wed, 23 Mar 2022 10:16:30 GMT expires: - '-1' pragma: @@ -2886,7 +3538,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;252,Microsoft.Compute/GetVMScaleSet30Min;1457 + - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2571 status: code: 200 message: OK @@ -2904,7 +3556,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/25.0.0 Python/3.10.0 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.34.1 azsdk-python-azure-mgmt-compute/26.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss3?api-version=2021-11-01 response: @@ -2918,7 +3570,7 @@ interactions: 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss345ec\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + \"vmss32982\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": false,\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": @@ -2928,10 +3580,10 @@ interactions: \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss345ecNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss345ecIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss32982Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss32982IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/backendAddressPools/vmss3LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_msi000001/providers/Microsoft.Network/loadBalancers/vmss3LB/inboundNatPools/vmss3LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"890726ce-4f02-475a-8dd8-9f59a9854bf8\",\r\n \"timeCreated\": \"2022-03-17T09:04:01.9784227+00:00\"\r\n + \"f1d11d86-0384-41c7-85a4-28ec0b2a10ae\",\r\n \"timeCreated\": \"2022-03-23T10:14:07.0054562+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2941,7 +3593,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Mar 2022 09:06:19 GMT + - Wed, 23 Mar 2022 10:16:30 GMT expires: - '-1' pragma: @@ -2958,7 +3610,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;250,Microsoft.Compute/GetVMScaleSet30Min;1455 + - Microsoft.Compute/GetVMScaleSet3Min;385,Microsoft.Compute/GetVMScaleSet30Min;2570 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_actions.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_actions.py index 78a4cefae57..398dcebedc8 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_actions.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_actions.py @@ -300,23 +300,33 @@ def test_get_next_subnet_addr_suffix(self): @mock.patch('azure.cli.core.commands.client_factory.get_subscription_id', autospec=True) def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_id): # check throw on : az vm/vmss create --assign-identity --role reader --scope "" + from azure.cli.core.azclierror import ArgumentUsageError + np_mock = mock.MagicMock() cmd = mock.MagicMock() cmd.cli_ctx = DummyCli() np_mock.assign_identity = [] np_mock.identity_scope = None np_mock.identity_role = 'reader' + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) - with self.assertRaises(CLIError) as err: + np_mock = mock.MagicMock() + np_mock.assign_identity = [] + np_mock.identity_scope = 'foo-scope' + np_mock.identity_role = None + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is " - "not provided" in str(err.exception)) + self.assertTrue("usage error: please specify both --role and --scope " + "when assigning a role to the managed identity" in str(err.exception)) # check throw on : az vm/vmss create --scope "some scope" np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_scope = 'foo-scope' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -324,7 +334,7 @@ def test_validate_msi_on_create(self, mock_get_subscription, mock_resolve_role_i np_mock = mock.MagicMock() np_mock.assign_identity = None np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: + with self.assertRaises(ArgumentUsageError) as err: _validate_vm_vmss_msi(cmd, np_mock) self.assertTrue('usage error: --assign-identity [--scope SCOPE] [--role ROLE]' in str(err.exception)) @@ -348,10 +358,11 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_scope = '' np_mock.identity_role = 'reader' - with self.assertRaises(CLIError) as err: - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) - self.assertTrue("usage error: '--role reader' is not applicable as the '--scope' is set to None", - str(err.exception)) + from azure.cli.core.azclierror import ArgumentUsageError + with self.assertRaises(ArgumentUsageError) as err: + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) + self.assertTrue("usage error: please specify --scope when assigning a role to the managed identity" + in str(err.exception)) # check we set right role id np_mock = mock.MagicMock() @@ -359,7 +370,7 @@ def test_validate_msi_on_assign_identity_command(self, mock_resolve_role_id): np_mock.identity_role = 'reader' np_mock.assign_identity = [] mock_resolve_role_id.return_value = 'foo-role-id' - _validate_vm_vmss_msi(cmd, np_mock, from_set_command=True) + _validate_vm_vmss_msi(cmd, np_mock, is_identity_assign=True) self.assertEqual(np_mock.identity_role_id, 'foo-role-id') mock_resolve_role_id.assert_called_with(cmd.cli_ctx, 'reader', 'foo-scope') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index e35c88c0638..fe7d444ac14 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -3752,9 +3752,15 @@ def test_vm_msi(self, resource_group): 'sub': subscription_id }) + with self.assertRaisesRegex(ArgumentUsageError, "please specify both --role and --scope"): + self.cmd('vm create -g {rg} -n {vm1} --image debian --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --nsg-rule NONE --scope {scope}') + + with self.assertRaisesRegex(ArgumentUsageError, "please specify both --role and --scope"): + self.cmd('vm create -g {rg} -n {vm1} --image debian --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --nsg-rule NONE --role Contributor') + with mock.patch('azure.cli.core.commands.arm._gen_guid', side_effect=self.create_guid): # create a linux vm with default configuration - self.cmd('vm create -g {rg} -n {vm1} --image debian --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --scope {scope} --nsg-rule NONE', checks=[ + self.cmd('vm create -g {rg} -n {vm1} --image debian --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --scope {scope} --role Contributor --nsg-rule NONE', checks=[ self.check('identity.role', 'Contributor'), self.check('identity.scope', '/subscriptions/{sub}/resourceGroups/{rg}'), ]) @@ -3790,9 +3796,16 @@ def test_vmss_msi(self, resource_group): 'vmss3': 'vmss3', 'sub': subscription_id }) + + with self.assertRaisesRegex(ArgumentUsageError, "please specify both --role and --scope"): + self.cmd('vmss create -g {rg} -n {vmss1} --image debian --instance-count 1 --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --scope {scope}') + + with self.assertRaisesRegex(ArgumentUsageError, "please specify both --role and --scope"): + self.cmd('vmss create -g {rg} -n {vmss1} --image debian --instance-count 1 --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --role Contributor') + with mock.patch('azure.cli.core.commands.arm._gen_guid', side_effect=self.create_guid): # create linux vm with default configuration - self.cmd('vmss create -g {rg} -n {vmss1} --image debian --instance-count 1 --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --scope {scope}', checks=[ + self.cmd('vmss create -g {rg} -n {vmss1} --image debian --instance-count 1 --assign-identity --admin-username admin123 --admin-password PasswordPassword1! --scope {scope} --role Contributor', checks=[ self.check('vmss.identity.role', 'Contributor'), self.check('vmss.identity.scope', '/subscriptions/{sub}/resourceGroups/{rg}'), ])