From 3023be4767de7edb53d9fd36a2126dbb3acdcb6b Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Thu, 3 Sep 2020 18:03:28 +0800 Subject: [PATCH] {Compute} Fix tests, test_vmss_disk_encryption_e2e, test_image_build_managed_image, test_image_build_shared_image --- .../test_vmss_disk_encryption_e2e.yaml | 1319 +++++++++++------ .../latest/test_image_builder_commands.py | 3 + .../vm/tests/latest/test_vm_commands.py | 2 +- 3 files changed, 848 insertions(+), 476 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_disk_encryption_e2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_disk_encryption_e2e.yaml index 5e572fa1bb0..87ffc803dd0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_disk_encryption_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_disk_encryption_e2e.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --enabled-for-disk-encryption User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001","name":"cli_test_vmss_encryption000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-07-20T03:16:37Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001","name":"cli_test_vmss_encryption000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-03T09:41:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:16:40 GMT + - Thu, 03 Sep 2020 09:41:36 GMT expires: - '-1' pragma: @@ -54,49 +54,48 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-graphrbac/0.60.0 - Azure-SDK-For-Python + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2019-12-04T02:11:41Z","creationType":"Invitation","department":null,"dirSyncEnabled":null,"displayName":"Xing - Zhou","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"zhoxing@microsoft.com","mailNickname":"zhoxing_microsoft.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["zhoxing@microsoft.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":null,"provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:zhoxing@microsoft.com"],"refreshTokensValidFromDateTime":"2019-12-04T02:11:41Z","showInAddressList":false,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/9ac534f1-d577-4034-a32d-48de400dacbf/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"zhoxing_microsoft.com#EXT#@AzureSDKTeam.onmicrosoft.com","userState":"Accepted","userStateChangedOn":"2019-12-04T03:10:15Z","userType":"Guest"}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"181c08fa-7ac8-48a6-a869-342ab74566a4","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2020-07-01T06:20:59Z","creationType":null,"department":null,"dirSyncEnabled":null,"displayName":"azureclitest","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":null,"mailNickname":"azureclitest","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":[],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":"en-US","provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":[],"refreshTokensValidFromDateTime":"2020-07-01T06:23:57Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/181c08fa-7ac8-48a6-a869-342ab74566a4/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"azureclitest@azuresdkteam.onmicrosoft.com","userState":null,"userStateChangedOn":null,"userType":"Member"}' headers: access-control-allow-origin: - '*' cache-control: - no-cache content-length: - - '1691' + - '1567' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Mon, 20 Jul 2020 03:16:42 GMT + - Thu, 03 Sep 2020 09:41:37 GMT duration: - - '2381048' + - '2394865' expires: - '-1' ocp-aad-diagnostics-server-name: - - /yb83Dls2FqjazsggoGjbyQnBTo42DuveRticqzxgZY= + - SSa1owgiZV1+rYxRkW9NZKu8APP0N4gZpUOLt5UUuLM= ocp-aad-session-key: - - PN4AY4AvniXbDXQIyjNhsG-Hn8yRM5t4_WhwJeYYiJmg1G5use6IDYwFrYCKSSr9ZpJFAEt5mTeKU9-IgCGQdYcSkydVhS7wzZKEIAumYB89HISJccWC4w6-e1pZQXIG.foa7j1jZWcQQopegL1via4rZ1lmH0cjc7NOC3LnUa88 + - dia4tO167mCJzTh6APSD3bJz9vwAFSbtxv7e0RbKZc0t76tOq-GMavD_GPtiYZpCHG8Vvm8uxY4YqNKSrQ5cFWSlD1ieI8HDjW-sgXbFopiXMsva3a1ryzTdiUH-mg1j.lQoA3XVjTNtY-W1DogfmFo_Oh-beAtw-aCiaHYmWN1U pragma: - no-cache request-id: - - 5141360a-c5e8-4f8c-9f6d-3c38cee87e72 + - dc9018bd-f5bb-47a1-8fc7-ae0cf062ff12 strict-transport-security: - max-age=31536000; includeSubDomains - x-aad-resource-unit: - - '1' x-aspnet-version: - 4.0.30319 x-ms-dirapi-data-contract-version: - '1.6' + x-ms-resource-unit: + - '1' x-powered-by: - ASP.NET status: @@ -105,7 +104,7 @@ interactions: - request: body: '{"location": "westus", "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "9ac534f1-d577-4034-a32d-48de400dacbf", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "181c08fa-7ac8-48a6-a869-342ab74566a4", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -127,28 +126,25 @@ interactions: Content-Length: - '925' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --enabled-for-disk-encryption User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-keyvault/2.2.0 - Azure-SDK-For-Python AZURECLI/2.9.0 - accept-language: - - en-US + - AZURECLI/2.11.1 azsdk-python-azure-mgmt-keyvault/7.0.0b2 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net","provisioningState":"RegisteringDns"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"181c08fa-7ac8-48a6-a869-342ab74566a4","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net","provisioningState":"RegisteringDns"}}' headers: cache-control: - no-cache content-length: - - '1151' + - '1181' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:16:48 GMT + - Thu, 03 Sep 2020 09:41:46 GMT expires: - '-1' pragma: @@ -166,9 +162,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.0.283 + - 1.1.48.0 x-ms-ratelimit-remaining-subscription-writes: - - '1159' + - '1199' x-powered-by: - ASP.NET status: @@ -178,7 +174,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -188,22 +184,21 @@ interactions: ParameterSetName: - -g -n --enabled-for-disk-encryption User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-keyvault/2.2.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - AZURECLI/2.11.1 azsdk-python-azure-mgmt-keyvault/7.0.0b2 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"181c08fa-7ac8-48a6-a869-342ab74566a4","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1147' + - '1177' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:17:20 GMT + - Thu, 03 Sep 2020 09:42:16 GMT expires: - '-1' pragma: @@ -221,7 +216,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.0.283 + - 1.1.48.0 x-powered-by: - ASP.NET status: @@ -241,15 +236,15 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001","name":"cli_test_vmss_encryption000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-07-20T03:16:37Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001","name":"cli_test_vmss_encryption000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-03T09:41:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,7 +253,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:18:21 GMT + - Thu, 03 Sep 2020 09:43:17 GMT expires: - '-1' pragma: @@ -337,13 +332,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 20 Jul 2020 03:18:22 GMT + - Thu, 03 Sep 2020 09:43:18 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Mon, 20 Jul 2020 03:23:22 GMT + - Thu, 03 Sep 2020 09:48:18 GMT source-age: - - '87' + - '135' strict-transport-security: - max-age=31536000 vary: @@ -354,19 +349,19 @@ interactions: x-cache: - HIT, HIT x-cache-hits: - - 1, 1 + - 1, 2 x-content-type-options: - nosniff x-fastly-request-id: - - 21ed216ec626605bef41f19b778a376631c7ae62 + - fc940a33de078af8da4e4350241b86c1dce89ae9 x-frame-options: - deny x-github-request-id: - - D022:7BBC:28D80B:2BC5D4:5F150B77 + - 1720:3A17:6F0233:7497EA:5F50B561 x-served-by: - cache-sin18020-SIN x-timer: - - S1595215102.280682,VS0,VE1 + - S1599126199.949034,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -386,8 +381,8 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET @@ -403,7 +398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:18:22 GMT + - Thu, 03 Sep 2020 09:43:18 GMT expires: - '-1' pragma: @@ -418,7 +413,7 @@ interactions: code: 200 message: OK - request: - body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"adminPassword": {"type": "securestring", "metadata": {"description": "Secure adminPassword"}}}, "variables": {}, "resources": [{"name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", "location": @@ -427,45 +422,32 @@ interactions: "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "vmss1LBPublicIP", "location": "westus", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": - "Static"}, "sku": {"name": "Standard"}}, {"type": "Microsoft.Network/loadBalancers", - "name": "vmss1LB", "location": "westus", "tags": {}, "apiVersion": "2018-01-01", - "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", "Microsoft.Network/publicIpAddresses/vmss1LBPublicIP"], - "properties": {"backendAddressPools": [{"name": "vmss1LBBEPool"}], "inboundNatPools": - [{"name": "vmss1LBNatPool", "properties": {"frontendIPConfiguration": {"id": - "[concat(resourceId(\''Microsoft.Network/loadBalancers\'', \''vmss1LB\''), \''/frontendIPConfigurations/\'', - \''loadBalancerFrontEnd\'')]"}, "protocol": "tcp", "frontendPortRangeStart": - "50000", "frontendPortRangeEnd": "50119", "backendPort": 3389}}], "frontendIPConfigurations": - [{"name": "loadBalancerFrontEnd", "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"}}}], - "loadBalancingRules": [{"name": "LBRule", "properties": {"frontendIPConfiguration": - {"id": "[concat(resourceId(\''Microsoft.Network/loadBalancers\'', \''vmss1LB\''), - \''/frontendIPConfigurations/\'', \''loadBalancerFrontEnd\'')]"}, "backendAddressPool": - {"id": "[concat(resourceId(\''Microsoft.Network/loadBalancers\'', \''vmss1LB\''), - \''/backendAddressPools/\'', \''vmss1LBBEPool\'')]"}, "protocol": "tcp", "frontendPort": - 80, "backendPort": 80, "enableFloatingIP": false, "idleTimeoutInMinutes": 5}}]}, - "sku": {"name": "Standard"}}, {"type": "Microsoft.Network/networkSecurityGroups", - "name": "vmss1NSG", "apiVersion": "2015-06-15", "location": "westus", "tags": - {}, "dependsOn": [], "properties": {"securityRules": [{"name": "default-allow-ssh", - "properties": {"protocol": "Tcp", "sourcePortRange": "*", "destinationPortRange": - "22", "sourceAddressPrefix": "*", "destinationAddressPrefix": "*", "access": - "Allow", "priority": 1000, "direction": "Inbound"}}]}}, {"type": "Microsoft.Compute/virtualMachineScaleSets", - "name": "vmss1", "location": "westus", "tags": {}, "apiVersion": "2020-06-01", - "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", "Microsoft.Network/loadBalancers/vmss1LB", - "Microsoft.Network/networkSecurityGroups/vmss1NSG"], "sku": {"name": "Standard_DS1_v2", + "Dynamic"}}, {"type": "Microsoft.Network/loadBalancers", "name": "vmss1LB", + "location": "westus", "tags": {}, "apiVersion": "2018-01-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", + "Microsoft.Network/publicIpAddresses/vmss1LBPublicIP"], "properties": {"backendAddressPools": + [{"name": "vmss1LBBEPool"}], "inboundNatPools": [{"name": "vmss1LBNatPool", + "properties": {"frontendIPConfiguration": {"id": "[concat(resourceId(''Microsoft.Network/loadBalancers'', + ''vmss1LB''), ''/frontendIPConfigurations/'', ''loadBalancerFrontEnd'')]"}, + "protocol": "tcp", "frontendPortRangeStart": "50000", "frontendPortRangeEnd": + "50119", "backendPort": 3389}}], "frontendIPConfigurations": [{"name": "loadBalancerFrontEnd", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"}}}]}}, + {"type": "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", "location": + "westus", "tags": {}, "apiVersion": "2020-06-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", + "Microsoft.Network/loadBalancers/vmss1LB"], "sku": {"name": "Standard_DS1_v2", "capacity": 1}, "properties": {"overprovision": true, "upgradePolicy": {"mode": "manual"}, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss1f60aNic", "properties": {"primary": "true", "ipConfigurations": - [{"name": "vmss1f60aIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + [{"name": "vmss16c13Nic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss16c13IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], - "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], - "networkSecurityGroup": {"id": "[resourceId(\''Microsoft.Network/networkSecurityGroups\'', - \''vmss1NSG\'')]"}}}]}, "osProfile": {"computerNamePrefix": "vmss1f60a", "adminUsername": - "clitester1", "adminPassword": "[parameters(\''adminPassword\'')]"}}, "singlePlacementGroup": - false}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(\''Microsoft.Compute/virtualMachineScaleSets\'', - \''vmss1\''),providers(\''Microsoft.Compute\'', \''virtualMachineScaleSets\'').apiVersions[0])]"}}}, - "parameters": {"adminPassword": {"value": "Test123456789!"}}, "mode": "Incremental"}}''' + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}, + "osProfile": {"computerNamePrefix": "vmss16c13", "adminUsername": "clitester1", + "adminPassword": "[parameters(''adminPassword'')]"}}, "singlePlacementGroup": + null}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', + ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, + "parameters": {"adminPassword": {"value": "Test123456789!"}}, "mode": "Incremental"}}' headers: Accept: - application/json @@ -476,32 +458,32 @@ interactions: Connection: - keep-alive Content-Length: - - '4955' + - '3840' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_cLOg6pZ7rgaR8RMbtEQVlSGYWhNRrGnS","name":"vmss_deploy_cLOg6pZ7rgaR8RMbtEQVlSGYWhNRrGnS","type":"Microsoft.Resources/deployments","properties":{"templateHash":"604010439573376038","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-20T03:18:27.5735718Z","duration":"PT2.5864627S","correlationId":"22c2e571-2db4-4696-b682-ef54083a73a5","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmss1NSG"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_yi134JzfldG5XGospsEgsD5G6LTliuWd","name":"vmss_deploy_yi134JzfldG5XGospsEgsD5G6LTliuWd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2279139152369367028","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-09-03T09:43:24.1636626Z","duration":"PT2.5953707S","correlationId":"dc971f4a-20fa-4ef4-8d89-523041d8314b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"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_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/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_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_cLOg6pZ7rgaR8RMbtEQVlSGYWhNRrGnS/operationStatuses/08586063917804905307?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_yi134JzfldG5XGospsEgsD5G6LTliuWd/operationStatuses/08586024806839093418?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3088' + - '2731' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:18:28 GMT + - Thu, 03 Sep 2020 09:43:26 GMT expires: - '-1' pragma: @@ -511,7 +493,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1158' + - '1199' status: code: 201 message: Created @@ -529,10 +511,53 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:43:57 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 --admin-username --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586063917804905307?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -544,7 +569,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:18:59 GMT + - Thu, 03 Sep 2020 09:44:27 GMT expires: - '-1' pragma: @@ -572,10 +597,10 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586063917804905307?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -587,7 +612,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:19:29 GMT + - Thu, 03 Sep 2020 09:45:00 GMT expires: - '-1' pragma: @@ -615,10 +640,10 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586063917804905307?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -630,7 +655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:20:01 GMT + - Thu, 03 Sep 2020 09:45:30 GMT expires: - '-1' pragma: @@ -658,10 +683,10 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586063917804905307?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -673,7 +698,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:20:31 GMT + - Thu, 03 Sep 2020 09:46:00 GMT expires: - '-1' pragma: @@ -701,10 +726,10 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586063917804905307?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586024806839093418?api-version=2020-06-01 response: body: string: '{"status":"Succeeded"}' @@ -716,7 +741,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:02 GMT + - Thu, 03 Sep 2020 09:46:31 GMT expires: - '-1' pragma: @@ -744,22 +769,22 @@ interactions: ParameterSetName: - -g -n --image --instance-count --admin-username --admin-password User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_cLOg6pZ7rgaR8RMbtEQVlSGYWhNRrGnS","name":"vmss_deploy_cLOg6pZ7rgaR8RMbtEQVlSGYWhNRrGnS","type":"Microsoft.Resources/deployments","properties":{"templateHash":"604010439573376038","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-20T03:20:56.7537945Z","duration":"PT2M31.7666854S","correlationId":"22c2e571-2db4-4696-b682-ef54083a73a5","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmss1NSG"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":false,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1f60a","adminUsername":"clitester1","windowsConfiguration":{"provisionVMAgent":true,"enableAutomaticUpdates":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":127},"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1f60aNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG"},"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1f60aIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"3175e37b-db15-4b68-b992-197acfd85fcc"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Resources/deployments/vmss_deploy_yi134JzfldG5XGospsEgsD5G6LTliuWd","name":"vmss_deploy_yi134JzfldG5XGospsEgsD5G6LTliuWd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2279139152369367028","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-03T09:46:08.2025322Z","duration":"PT2M46.6342403S","correlationId":"dc971f4a-20fa-4ef4-8d89-523041d8314b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"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_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss16c13","adminUsername":"clitester1","windowsConfiguration":{"provisionVMAgent":true,"enableAutomaticUpdates":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":127},"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss16c13Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss16c13IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"342030f0-703d-4c06-b2ca-9316e026a73d"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '6253' + - '5450' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:02 GMT + - Thu, 03 Sep 2020 09:46:31 GMT expires: - '-1' pragma: @@ -787,8 +812,8 @@ interactions: ParameterSetName: - -g -n --disk-encryption-keyvault User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET @@ -799,32 +824,31 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2889' + - '2654' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:04 GMT + - Thu, 03 Sep 2020 09:46:33 GMT expires: - '-1' pragma: @@ -841,7 +865,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;363,Microsoft.Compute/GetVMScaleSet30Min;2352 + - Microsoft.Compute/GetVMScaleSet3Min;394,Microsoft.Compute/GetVMScaleSet30Min;2594 status: code: 200 message: OK @@ -859,24 +883,21 @@ interactions: ParameterSetName: - -g -n --disk-encryption-keyvault User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-keyvault/2.2.0 - Azure-SDK-For-Python AZURECLI/2.9.0 - accept-language: - - en-US + - AZURECLI/2.11.1 azsdk-python-azure-mgmt-keyvault/7.0.0b2 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002?api-version=2019-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002","name":"vault000002","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"181c08fa-7ac8-48a6-a869-342ab74566a4","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://vault000002.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1147' + - '1177' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:05 GMT + - Thu, 03 Sep 2020 09:46:34 GMT expires: - '-1' pragma: @@ -894,36 +915,35 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.1.0.283 + - 1.1.48.0 x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", - "tier": "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": - "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1f60a", - "adminUsername": "clitester1", "windowsConfiguration": {"provisionVMAgent": - true, "enableAutomaticUpdates": true}, "secrets": []}, "storageProfile": {"imageReference": - {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2016-Datacenter", - "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", - "diskSizeGB": 127, "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss1f60aNic", "properties": {"primary": - true, "enableAcceleratedNetworking": false, "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG"}, - "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1f60aIPConfig", + body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss16c13", "adminUsername": + "clitester1", "windowsConfiguration": {"provisionVMAgent": true, "enableAutomaticUpdates": + true}, "secrets": []}, "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": + {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 127, "managedDisk": + {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss16c13Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss16c13IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "AzureDiskEncryption", "properties": {"forceUpdateTag": "fc5177ba-2f28-490f-99bd-84227e96343b", + "AzureDiskEncryption", "properties": {"forceUpdateTag": "789c1e1e-401f-4177-9f1e-ce255cc1b168", "publisher": "Microsoft.Azure.Security", "type": "AzureDiskEncryption", "typeHandlerVersion": "2.2", "autoUpgradeMinorVersion": true, "settings": {"KeyVaultURL": "https://vault000002.vault.azure.net", "KeyEncryptionKeyURL": "", "KeyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002", "KekVaultResourceId": "", "KeyEncryptionAlgorithm": "", "VolumeType": "ALL", "EncryptionOperation": "EnableEncryption"}}}]}}, "overprovision": true, "doNotRunExtensionsOnOverprovisionedVMs": - false, "singlePlacementGroup": false}}''' + false, "singlePlacementGroup": true}}' headers: Accept: - application/json @@ -934,14 +954,14 @@ interactions: Connection: - keep-alive Content-Length: - - '2805' + - '2587' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n --disk-encryption-keyvault User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -952,43 +972,42 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"fc5177ba-2f28-490f-99bd-84227e96343b\",\r\n \"publisher\": + \"789c1e1e-401f-4177-9f1e-ce255cc1b168\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"KeyVaultURL\":\"https://vault000002.vault.azure.net\",\"KeyEncryptionKeyURL\":\"\",\"KeyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\",\"KekVaultResourceId\":\"\",\"KeyEncryptionAlgorithm\":\"\",\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"EnableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\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/2b55cb85-bdbe-436d-87c2-e0de548c1db4?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/09fd593d-ac88-4202-820c-35c31c46b81d?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3774' + - '3559' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:10 GMT + - Thu, 03 Sep 2020 09:46:40 GMT expires: - '-1' pragma: @@ -1005,9 +1024,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;57,Microsoft.Compute/CreateVMScaleSet30Min;272,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;298,Microsoft.Compute/VmssQueuedVMOperations;4800 x-ms-ratelimit-remaining-subscription-writes: - - '1176' + - '1198' x-ms-request-charge: - '0' status: @@ -1027,23 +1046,24 @@ interactions: ParameterSetName: - -g -n --disk-encryption-keyvault User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2b55cb85-bdbe-436d-87c2-e0de548c1db4?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/09fd593d-ac88-4202-820c-35c31c46b81d?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:21:07.5493317+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"2b55cb85-bdbe-436d-87c2-e0de548c1db4\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:36.7079472+00:00\",\r\n \"endTime\": + \"2020-09-03T09:46:46.1767764+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"09fd593d-ac88-4202-820c-35c31c46b81d\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '184' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:21:20 GMT + - Thu, 03 Sep 2020 09:46:50 GMT expires: - '-1' pragma: @@ -1060,7 +1080,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14951,Microsoft.Compute/GetOperation30Min;29675 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29994 status: code: 200 message: OK @@ -1078,24 +1098,48 @@ interactions: ParameterSetName: - -g -n --disk-encryption-keyvault User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2b55cb85-bdbe-436d-87c2-e0de548c1db4?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:21:07.5493317+00:00\",\r\n \"endTime\": - \"2020-07-20T03:21:36.940113+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"2b55cb85-bdbe-436d-87c2-e0de548c1db4\"\r\n}" + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\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\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": + {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": + \"789c1e1e-401f-4177-9f1e-ce255cc1b168\",\r\n \"publisher\": + \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n + \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": + {\"KeyVaultURL\":\"https://vault000002.vault.azure.net\",\"KeyEncryptionKeyURL\":\"\",\"KeyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\",\"KekVaultResourceId\":\"\",\"KeyEncryptionAlgorithm\":\"\",\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"EnableEncryption\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '3560' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:22:11 GMT + - Thu, 03 Sep 2020 09:46:51 GMT expires: - '-1' pragma: @@ -1112,10 +1156,68 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14947,Microsoft.Compute/GetOperation30Min;29659 + - Microsoft.Compute/GetVMScaleSet3Min;392,Microsoft.Compute/GetVMScaleSet30Min;2592 status: code: 200 message: OK +- request: + body: '{"instanceIds": ["*"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/manualupgrade?api-version=2020-06-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 03 Sep 2020 09:46:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?monitor=true&api-version=2020-06-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1199,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1197,Microsoft.Compute/VmssQueuedVMOperations;4799 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-charge: + - '1' + status: + code: 202 + message: Accepted - request: body: null headers: @@ -1124,55 +1226,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss encryption enable + - vmss update-instances Connection: - keep-alive ParameterSetName: - - -g -n --disk-encryption-keyvault + - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n - \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n - \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": - {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"fc5177ba-2f28-490f-99bd-84227e96343b\",\r\n \"publisher\": - \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n - \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": - {\"KeyVaultURL\":\"https://vault000002.vault.azure.net\",\"KeyEncryptionKeyURL\":\"\",\"KeyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\",\"KekVaultResourceId\":\"\",\"KeyEncryptionAlgorithm\":\"\",\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"EnableEncryption\"}\r\n - \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": - \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache content-length: - - '3775' + - '134' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:22:12 GMT + - Thu, 03 Sep 2020 09:47:23 GMT expires: - '-1' pragma: @@ -1189,12 +1265,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;375,Microsoft.Compute/GetVMScaleSet30Min;2345 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK - request: - body: '{"instanceIds": ["*"]}' + body: null headers: Accept: - application/json @@ -1204,35 +1280,79 @@ interactions: - vmss update-instances Connection: - keep-alive - Content-Length: - - '22' - Content-Type: + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:47:54 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/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/manualupgrade?api-version=2020-06-01 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: '' + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 cache-control: - no-cache content-length: - - '0' + - '134' + content-type: + - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:22:13 GMT + - Thu, 03 Sep 2020 09:48:24 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -1240,17 +1360,17 @@ interactions: - 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/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1189,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1182,Microsoft.Compute/VmssQueuedVMOperations;4799 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - x-ms-request-charge: - - '1' + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29986 status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1265,14 +1385,14 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:22:13.9247158+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a856664d-2706-4b8b-9ece-d7a26a1bffc3\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache @@ -1281,7 +1401,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:22:44 GMT + - Thu, 03 Sep 2020 09:48:54 GMT expires: - '-1' pragma: @@ -1298,7 +1418,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14947,Microsoft.Compute/GetOperation30Min;29651 + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29983 status: code: 200 message: OK @@ -1316,14 +1436,14 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:22:13.9247158+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a856664d-2706-4b8b-9ece-d7a26a1bffc3\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache @@ -1332,7 +1452,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:23:14 GMT + - Thu, 03 Sep 2020 09:49:24 GMT expires: - '-1' pragma: @@ -1349,7 +1469,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14948,Microsoft.Compute/GetOperation30Min;29640 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29980 status: code: 200 message: OK @@ -1367,14 +1487,14 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:22:13.9247158+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a856664d-2706-4b8b-9ece-d7a26a1bffc3\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache @@ -1383,7 +1503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:23:45 GMT + - Thu, 03 Sep 2020 09:49:54 GMT expires: - '-1' pragma: @@ -1400,7 +1520,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14947,Microsoft.Compute/GetOperation30Min;29629 + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29977 status: code: 200 message: OK @@ -1418,14 +1538,14 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:22:13.9247158+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a856664d-2706-4b8b-9ece-d7a26a1bffc3\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache @@ -1434,7 +1554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:15 GMT + - Thu, 03 Sep 2020 09:50:25 GMT expires: - '-1' pragma: @@ -1451,7 +1571,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14948,Microsoft.Compute/GetOperation30Min;29621 + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29974 status: code: 200 message: OK @@ -1469,15 +1589,15 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a856664d-2706-4b8b-9ece-d7a26a1bffc3?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2f9606fb-1bd3-485a-8de9-e1d07e253aad?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:22:13.9247158+00:00\",\r\n \"endTime\": - \"2020-07-20T03:24:43.6599898+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a856664d-2706-4b8b-9ece-d7a26a1bffc3\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:46:52.9580527+00:00\",\r\n \"endTime\": + \"2020-09-03T09:50:25.5064069+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"2f9606fb-1bd3-485a-8de9-e1d07e253aad\"\r\n}" headers: cache-control: - no-cache @@ -1486,7 +1606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:45 GMT + - Thu, 03 Sep 2020 09:50:55 GMT expires: - '-1' pragma: @@ -1503,7 +1623,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14954,Microsoft.Compute/GetOperation30Min;29617 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29972 status: code: 200 message: OK @@ -1521,40 +1641,40 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines?$select=instanceView&$expand=instanceView&api-version=2020-06-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1\",\r\n - \ \"instanceId\": \"1\",\r\n \"properties\": {\r\n \"latestModelApplied\": - false,\r\n \"instanceView\": {\r\n \"placementGroupId\": \"a5c6698b-7713-49f7-890f-8c204e01a829\",\r\n - \ \"platformUpdateDomain\": 1,\r\n \"platformFaultDomain\": - 1,\r\n \"computerName\": \"vmss1f60a000001\",\r\n \"osName\": + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0\",\r\n + \ \"instanceId\": \"0\",\r\n \"properties\": {\r\n \"latestModelApplied\": + false,\r\n \"instanceView\": {\r\n \"placementGroupId\": \"5cb39038-9710-42f2-9bc0-8f986cc26558\",\r\n + \ \"platformUpdateDomain\": 0,\r\n \"platformFaultDomain\": + 0,\r\n \"computerName\": \"vmss16c13000000\",\r\n \"osName\": \"Windows Server 2016 Datacenter\",\r\n \"osVersion\": \"Microsoft Windows NT 10.0.14393.0\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": - \"2.7.41491.982\",\r\n \"statuses\": [\r\n {\r\n \"code\": + \"2.7.41491.992\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ \"displayStatus\": \"Ready\",\r\n \"message\": \"GuestAgent is running and processing the extensions.\",\r\n \"time\": - \"2020-07-20T03:24:44+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + \"2020-09-03T09:50:39+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.Azure.Security.AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2.0.33\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\"\r\n }\r\n \ }\r\n ]\r\n },\r\n \"disks\": [\r\n - \ {\r\n \"name\": \"vmss1_vmss1_1_OsDisk_1_32bd6c5c1e1f4d64b529e80e422de012\",\r\n + \ {\r\n \"name\": \"vmss1_vmss1_0_OsDisk_1_1404bc39f707491e81872985b4109178\",\r\n \ \"encryptionSettings\": [\r\n {\r\n \"enabled\": true,\r\n \"diskEncryptionKey\": {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\"\r\n - \ },\r\n \"secretUrl\": \"https://vault000002.vault.azure.net/secrets/F4C596C4-586C-4998-95A5-C125B3B9E44E/7e04b899986e4b44853811a9be042aca\"\r\n + \ },\r\n \"secretUrl\": \"https://vault000002.vault.azure.net/secrets/B2BBE92F-183A-4E3B-824B-D7CFC317537D/24aaae33ed63423a9b36de3244496504\"\r\n \ }\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": - \"Provisioning succeeded\",\r\n \"time\": \"2020-07-20T03:24:43.5662383+00:00\"\r\n + \"Provisioning succeeded\",\r\n \"time\": \"2020-09-03T09:50:25.412661+00:00\"\r\n \ },\r\n {\r\n \"code\": \"EncryptionState/encrypted\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Encryption is enabled on disk\"\r\n }\r\n ]\r\n @@ -1568,7 +1688,7 @@ interactions: \ ],\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\": \"2020-07-20T03:24:43.6130888+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-09-03T09:50:25.459543+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 \"hardwareProfile\": @@ -1578,11 +1698,11 @@ interactions: cache-control: - no-cache content-length: - - '3875' + - '3893' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:46 GMT + - Thu, 03 Sep 2020 09:50:56 GMT expires: - '-1' pragma: @@ -1599,7 +1719,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/HighCostGetVMScaleSet3Min;175,Microsoft.Compute/HighCostGetVMScaleSet30Min;840,Microsoft.Compute/VMScaleSetVMViews3Min;4993 + - Microsoft.Compute/HighCostGetVMScaleSet3Min;178,Microsoft.Compute/HighCostGetVMScaleSet30Min;896,Microsoft.Compute/VMScaleSetVMViews3Min;4999 x-ms-request-charge: - '1' status: @@ -1619,8 +1739,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET @@ -1631,39 +1751,38 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"fc5177ba-2f28-490f-99bd-84227e96343b\",\r\n \"publisher\": + \"789c1e1e-401f-4177-9f1e-ce255cc1b168\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"KeyVaultURL\":\"https://vault000002.vault.azure.net\",\"KeyEncryptionKeyURL\":\"\",\"KeyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\",\"KekVaultResourceId\":\"\",\"KeyEncryptionAlgorithm\":\"\",\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"EnableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3775' + - '3560' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:46 GMT + - Thu, 03 Sep 2020 09:50:57 GMT expires: - '-1' pragma: @@ -1680,7 +1799,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;364,Microsoft.Compute/GetVMScaleSet30Min;2311 + - Microsoft.Compute/GetVMScaleSet3Min;398,Microsoft.Compute/GetVMScaleSet30Min;2588 status: code: 200 message: OK @@ -1698,8 +1817,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET @@ -1710,39 +1829,38 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"fc5177ba-2f28-490f-99bd-84227e96343b\",\r\n \"publisher\": + \"789c1e1e-401f-4177-9f1e-ce255cc1b168\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"KeyVaultURL\":\"https://vault000002.vault.azure.net\",\"KeyEncryptionKeyURL\":\"\",\"KeyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.KeyVault/vaults/vault000002\",\"KekVaultResourceId\":\"\",\"KeyEncryptionAlgorithm\":\"\",\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"EnableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3775' + - '3560' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:47 GMT + - Thu, 03 Sep 2020 09:50:58 GMT expires: - '-1' pragma: @@ -1759,32 +1877,31 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;363,Microsoft.Compute/GetVMScaleSet30Min;2310 + - Microsoft.Compute/GetVMScaleSet3Min;397,Microsoft.Compute/GetVMScaleSet30Min;2587 status: code: 200 message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", - "tier": "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": - "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1f60a", - "adminUsername": "clitester1", "windowsConfiguration": {"provisionVMAgent": - true, "enableAutomaticUpdates": true}, "secrets": []}, "storageProfile": {"imageReference": - {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2016-Datacenter", - "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", - "diskSizeGB": 127, "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss1f60aNic", "properties": {"primary": - true, "enableAcceleratedNetworking": false, "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG"}, - "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1f60aIPConfig", + body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss16c13", "adminUsername": + "clitester1", "windowsConfiguration": {"provisionVMAgent": true, "enableAutomaticUpdates": + true}, "secrets": []}, "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": + {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 127, "managedDisk": + {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss16c13Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss16c13IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "AzureDiskEncryption", "properties": {"forceUpdateTag": "08444d11-dd5a-4a46-adb6-895e88251d58", + "AzureDiskEncryption", "properties": {"forceUpdateTag": "e7c17105-15b1-4ea5-a164-7a39962feb3b", "publisher": "Microsoft.Azure.Security", "type": "AzureDiskEncryption", "typeHandlerVersion": "2.2", "autoUpgradeMinorVersion": true, "settings": {"VolumeType": "ALL", "EncryptionOperation": "DisableEncryption"}}}]}}, "overprovision": true, "doNotRunExtensionsOnOverprovisionedVMs": - false, "singlePlacementGroup": false}}''' + false, "singlePlacementGroup": true}}' headers: Accept: - application/json @@ -1795,14 +1912,14 @@ interactions: Connection: - keep-alive Content-Length: - - '2455' + - '2217' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -1813,43 +1930,42 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"08444d11-dd5a-4a46-adb6-895e88251d58\",\r\n \"publisher\": + \"e7c17105-15b1-4ea5-a164-7a39962feb3b\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"DisableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\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/6772ac3e-a6bb-4c0d-b726-ee61b94b33af?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/381f1082-d032-489a-93ed-0d96610eda44?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3434' + - '3199' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:24:51 GMT + - Thu, 03 Sep 2020 09:51:02 GMT expires: - '-1' pragma: @@ -1866,9 +1982,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;58,Microsoft.Compute/CreateVMScaleSet30Min;269,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;297,Microsoft.Compute/VmssQueuedVMOperations;4800 x-ms-ratelimit-remaining-subscription-writes: - - '1160' + - '1199' x-ms-request-charge: - '0' status: @@ -1888,24 +2004,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/6772ac3e-a6bb-4c0d-b726-ee61b94b33af?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/381f1082-d032-489a-93ed-0d96610eda44?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:24:48.8318875+00:00\",\r\n \"endTime\": - \"2020-07-20T03:24:49.0350103+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6772ac3e-a6bb-4c0d-b726-ee61b94b33af\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:50:59.5222237+00:00\",\r\n \"endTime\": + \"2020-09-03T09:50:59.725364+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"381f1082-d032-489a-93ed-0d96610eda44\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:25:01 GMT + - Thu, 03 Sep 2020 09:51:12 GMT expires: - '-1' pragma: @@ -1922,7 +2038,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14954,Microsoft.Compute/GetOperation30Min;29695 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29970 status: code: 200 message: OK @@ -1940,8 +2056,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -1950,39 +2066,38 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"08444d11-dd5a-4a46-adb6-895e88251d58\",\r\n \"publisher\": + \"e7c17105-15b1-4ea5-a164-7a39962feb3b\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"DisableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3435' + - '3200' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:25:02 GMT + - Thu, 03 Sep 2020 09:51:12 GMT expires: - '-1' pragma: @@ -1999,7 +2114,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;364,Microsoft.Compute/GetVMScaleSet30Min;2361 + - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2585 status: code: 200 message: OK @@ -2021,8 +2136,8 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: POST @@ -2032,17 +2147,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cec20ffa-527f-4fd9-a30b-4755d757cfc2?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Mon, 20 Jul 2020 03:25:03 GMT + - Thu, 03 Sep 2020 09:51:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cec20ffa-527f-4fd9-a30b-4755d757cfc2?monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -2053,9 +2168,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/VMScaleSetActions3Min;238,Microsoft.Compute/VMScaleSetActions30Min;1193,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1179,Microsoft.Compute/VmssQueuedVMOperations;4799 + - Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1198,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1199,Microsoft.Compute/VmssQueuedVMOperations;4799 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-ms-request-charge: - '1' status: @@ -2075,14 +2190,269 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:51:44 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/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29968 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:52:15 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/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29965 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:52:45 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/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29962 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:53:15 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/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29959 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2020 09:53:46 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/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29957 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cec20ffa-527f-4fd9-a30b-4755d757cfc2?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:25:03.3944532+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"cec20ffa-527f-4fd9-a30b-4755d757cfc2\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" headers: cache-control: - no-cache @@ -2091,7 +2461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:25:33 GMT + - Thu, 03 Sep 2020 09:54:17 GMT expires: - '-1' pragma: @@ -2108,7 +2478,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14956,Microsoft.Compute/GetOperation30Min;29687 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29954 status: code: 200 message: OK @@ -2126,15 +2496,15 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cec20ffa-527f-4fd9-a30b-4755d757cfc2?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/dc1b3ed7-a3be-488d-9b14-db3433f7041a?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-20T03:25:03.3944532+00:00\",\r\n \"endTime\": - \"2020-07-20T03:25:41.7228793+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"cec20ffa-527f-4fd9-a30b-4755d757cfc2\"\r\n}" + string: "{\r\n \"startTime\": \"2020-09-03T09:51:14.2723308+00:00\",\r\n \"endTime\": + \"2020-09-03T09:54:39.8050305+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"dc1b3ed7-a3be-488d-9b14-db3433f7041a\"\r\n}" headers: cache-control: - no-cache @@ -2143,7 +2513,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:26:04 GMT + - Thu, 03 Sep 2020 09:54:47 GMT expires: - '-1' pragma: @@ -2160,7 +2530,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14958,Microsoft.Compute/GetOperation30Min;29679 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29951 status: code: 200 message: OK @@ -2178,37 +2548,37 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines?$select=instanceView&$expand=instanceView&api-version=2020-06-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1\",\r\n - \ \"instanceId\": \"1\",\r\n \"properties\": {\r\n \"latestModelApplied\": - false,\r\n \"instanceView\": {\r\n \"placementGroupId\": \"a5c6698b-7713-49f7-890f-8c204e01a829\",\r\n - \ \"platformUpdateDomain\": 1,\r\n \"platformFaultDomain\": - 1,\r\n \"computerName\": \"vmss1f60a000001\",\r\n \"osName\": + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0\",\r\n + \ \"instanceId\": \"0\",\r\n \"properties\": {\r\n \"latestModelApplied\": + false,\r\n \"instanceView\": {\r\n \"placementGroupId\": \"5cb39038-9710-42f2-9bc0-8f986cc26558\",\r\n + \ \"platformUpdateDomain\": 0,\r\n \"platformFaultDomain\": + 0,\r\n \"computerName\": \"vmss16c13000000\",\r\n \"osName\": \"Windows Server 2016 Datacenter\",\r\n \"osVersion\": \"Microsoft Windows NT 10.0.14393.0\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": - \"2.7.41491.982\",\r\n \"statuses\": [\r\n {\r\n \"code\": + \"2.7.41491.993\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \ \"displayStatus\": \"Ready\",\r\n \"message\": \"GuestAgent is running and processing the extensions.\",\r\n \"time\": - \"2020-07-20T03:26:03+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + \"2020-09-03T09:54:47+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.Azure.Security.AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2.0.33\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\"\r\n }\r\n \ }\r\n ]\r\n },\r\n \"disks\": [\r\n - \ {\r\n \"name\": \"vmss1_vmss1_1_OsDisk_1_32bd6c5c1e1f4d64b529e80e422de012\",\r\n + \ {\r\n \"name\": \"vmss1_vmss1_0_OsDisk_1_1404bc39f707491e81872985b4109178\",\r\n \ \"encryptionSettings\": [\r\n {\r\n \"enabled\": false\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": - \"Provisioning succeeded\",\r\n \"time\": \"2020-07-20T03:25:41.6291099+00:00\"\r\n + \"Provisioning succeeded\",\r\n \"time\": \"2020-09-03T09:54:39.7112755+00:00\"\r\n \ },\r\n {\r\n \"code\": \"EncryptionState/notEncrypted\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Disk is not encrypted\"\r\n }\r\n ]\r\n }\r\n @@ -2222,7 +2592,7 @@ interactions: \ }\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\": \"2020-07-20T03:25:41.6760872+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-09-03T09:54:39.7581571+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 \"hardwareProfile\": @@ -2236,7 +2606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:26:05 GMT + - Thu, 03 Sep 2020 09:54:48 GMT expires: - '-1' pragma: @@ -2253,7 +2623,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/HighCostGetVMScaleSet3Min;174,Microsoft.Compute/HighCostGetVMScaleSet30Min;852,Microsoft.Compute/VMScaleSetVMViews3Min;4995 + - Microsoft.Compute/HighCostGetVMScaleSet3Min;178,Microsoft.Compute/HighCostGetVMScaleSet30Min;893,Microsoft.Compute/VMScaleSetVMViews3Min;4999 x-ms-request-charge: - '1' status: @@ -2273,8 +2643,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 - Azure-SDK-For-Python AZURECLI/2.9.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET @@ -2285,39 +2655,38 @@ interactions: \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\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\": false,\r\n \"upgradePolicy\": {\r\n - \ \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n - \ \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1f60a\",\r\n - \ \"adminUsername\": \"clitester1\",\r\n \"windowsConfiguration\": - {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": - true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": - {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n - \ \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": - 127\r\n },\r\n \"imageReference\": {\r\n \"publisher\": - \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n - \ \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1f60aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"networkSecurityGroup\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/networkSecurityGroups/vmss1NSG\"},\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1f60aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss16c13\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": + true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": + \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": + \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss16c13Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss16c13IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_encryption000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"AzureDiskEncryption\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"08444d11-dd5a-4a46-adb6-895e88251d58\",\r\n \"publisher\": + \"e7c17105-15b1-4ea5-a164-7a39962feb3b\",\r\n \"publisher\": \"Microsoft.Azure.Security\",\r\n \"type\": \"AzureDiskEncryption\",\r\n \ \"typeHandlerVersion\": \"2.2\",\r\n \"settings\": {\"VolumeType\":\"ALL\",\"EncryptionOperation\":\"DisableEncryption\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"3175e37b-db15-4b68-b992-197acfd85fcc\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"342030f0-703d-4c06-b2ca-9316e026a73d\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3435' + - '3200' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jul 2020 03:26:06 GMT + - Thu, 03 Sep 2020 09:54:49 GMT expires: - '-1' pragma: @@ -2334,7 +2703,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;372,Microsoft.Compute/GetVMScaleSet30Min;2352 + - Microsoft.Compute/GetVMScaleSet3Min;398,Microsoft.Compute/GetVMScaleSet30Min;2581 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py index fe5c4d2e656..b3cebdddf84 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py @@ -5,6 +5,7 @@ import time import unittest import mock +from knack.testsdk import record_only from knack.util import CLIError from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, live_only) @@ -257,6 +258,7 @@ def test_image_builder_basic_sig(self, resource_group): self.assertTrue(parsed['name'], self.kwargs['gallery']) self.assertTrue(parsed['child_name_1'], self.kwargs['sig1']) + @record_only() @ResourceGroupPreparer(name_prefix='img_tmpl_managed') def test_image_build_managed_image(self, resource_group, resource_group_location): self._identity_role(resource_group) @@ -295,6 +297,7 @@ def test_image_build_managed_image(self, resource_group, resource_group_location self.assertEqual(img_tmpl['source']['imageId'].lower(), self.kwargs['image_id'].lower()) self.assertEqual(img_tmpl['source']['type'].lower(), 'managedimage') + @record_only() @ResourceGroupPreparer(name_prefix='img_tmpl_sig') def test_image_build_shared_image(self, resource_group, resource_group_location): self._identity_role(resource_group) 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 872ccdee47f..a4d2f44acd9 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 @@ -3442,7 +3442,7 @@ class VMDiskEncryptionTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_vmss_encryption', location='westus') def test_vmss_disk_encryption_e2e(self, resource_group, resource_group_location): self.kwargs.update({ - 'vault': self.create_random_name('vault', 10), + 'vault': self.create_random_name('vault', 20), 'vmss': 'vmss1' }) self.cmd('keyvault create -g {rg} -n {vault} --enabled-for-disk-encryption "true"')