From 4b3cee5c89fa0c102f9da0206134fe359e4dffb7 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 11:34:01 +0800 Subject: [PATCH 1/8] Code change to support withplan for compute virtual machine scale set --- .../VirtualMachineScaleSetImpl.java | 36 +++++++++++++------ .../models/VirtualMachineScaleSet.java | 21 ++++++++++- 2 files changed, 46 insertions(+), 11 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetImpl.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetImpl.java index 37b3a5bf3bb6..e742e82c0c50 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineScaleSetImpl.java @@ -8,7 +8,13 @@ import com.azure.core.management.SubResource; import com.azure.core.management.provider.IdentifierProvider; import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.authorization.AuthorizationManager; +import com.azure.resourcemanager.authorization.models.BuiltInRole; +import com.azure.resourcemanager.authorization.utils.RoleAssignmentHelper; import com.azure.resourcemanager.compute.ComputeManager; +import com.azure.resourcemanager.compute.fluent.models.ProximityPlacementGroupInner; +import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetExtensionInner; +import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner; import com.azure.resourcemanager.compute.models.AdditionalCapabilities; import com.azure.resourcemanager.compute.models.ApiEntityReference; import com.azure.resourcemanager.compute.models.BillingProfile; @@ -21,8 +27,10 @@ import com.azure.resourcemanager.compute.models.KnownWindowsVirtualMachineImage; import com.azure.resourcemanager.compute.models.LinuxConfiguration; import com.azure.resourcemanager.compute.models.OperatingSystemTypes; +import com.azure.resourcemanager.compute.models.Plan; import com.azure.resourcemanager.compute.models.ProximityPlacementGroup; import com.azure.resourcemanager.compute.models.ProximityPlacementGroupType; +import com.azure.resourcemanager.compute.models.PurchasePlan; import com.azure.resourcemanager.compute.models.ResourceIdentityType; import com.azure.resourcemanager.compute.models.RunCommandInput; import com.azure.resourcemanager.compute.models.RunCommandInputParameter; @@ -57,13 +65,8 @@ import com.azure.resourcemanager.compute.models.WinRMConfiguration; import com.azure.resourcemanager.compute.models.WinRMListener; import com.azure.resourcemanager.compute.models.WindowsConfiguration; -import com.azure.resourcemanager.compute.fluent.models.ProximityPlacementGroupInner; -import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetExtensionInner; -import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner; -import com.azure.resourcemanager.authorization.models.BuiltInRole; -import com.azure.resourcemanager.authorization.AuthorizationManager; -import com.azure.resourcemanager.authorization.utils.RoleAssignmentHelper; import com.azure.resourcemanager.msi.models.Identity; +import com.azure.resourcemanager.network.NetworkManager; import com.azure.resourcemanager.network.models.ApplicationSecurityGroup; import com.azure.resourcemanager.network.models.LoadBalancer; import com.azure.resourcemanager.network.models.LoadBalancerBackend; @@ -72,15 +75,15 @@ import com.azure.resourcemanager.network.models.Network; import com.azure.resourcemanager.network.models.NetworkSecurityGroup; import com.azure.resourcemanager.network.models.VirtualMachineScaleSetNetworkInterface; -import com.azure.resourcemanager.network.NetworkManager; import com.azure.resourcemanager.resources.fluentcore.arm.AvailabilityZoneId; import com.azure.resourcemanager.resources.fluentcore.arm.ResourceId; import com.azure.resourcemanager.resources.fluentcore.arm.ResourceUtils; import com.azure.resourcemanager.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl; import com.azure.resourcemanager.resources.fluentcore.model.Creatable; +import com.azure.resourcemanager.resources.fluentcore.utils.PagedConverter; import com.azure.resourcemanager.resources.fluentcore.utils.ResourceManagerUtils; -import com.azure.resourcemanager.storage.models.StorageAccount; import com.azure.resourcemanager.storage.StorageManager; +import com.azure.resourcemanager.storage.models.StorageAccount; import reactor.core.Exceptions; import reactor.core.publisher.Mono; @@ -96,7 +99,6 @@ import java.util.Map; import java.util.Set; import java.util.concurrent.Callable; -import com.azure.resourcemanager.resources.fluentcore.utils.PagedConverter; /** Implementation of VirtualMachineScaleSet. */ public class VirtualMachineScaleSetImpl @@ -594,6 +596,11 @@ public AdditionalCapabilities additionalCapabilities() { return this.innerModel().additionalCapabilities(); } + @Override + public Plan plan() { + return this.innerModel().plan(); + } + @Override public VirtualMachineScaleSetNetworkInterface getNetworkInterfaceByInstanceId(String instanceId, String name) { return this @@ -2696,7 +2703,16 @@ private void createNewProximityPlacementGroup() { } } - /** Class to manage Data Disk collection. */ + @Override + public VirtualMachineScaleSetImpl withPlan(PurchasePlan plan) { + this.innerModel().withPlan(new Plan()); + this.innerModel().plan().withPublisher(plan.publisher()).withProduct(plan.product()).withName(plan.name()); + return this; + } + + /** + * Class to manage Data Disk collection. + */ private class ManagedDataDiskCollection { private final List implicitDisksToAssociate = new ArrayList<>(); private final List diskLunsToRemove = new ArrayList<>(); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java index ac00eeec4bff..bac1209bb7cf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java @@ -6,9 +6,9 @@ import com.azure.core.annotation.Fluent; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedIterable; +import com.azure.resourcemanager.authorization.models.BuiltInRole; import com.azure.resourcemanager.compute.ComputeManager; import com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInner; -import com.azure.resourcemanager.authorization.models.BuiltInRole; import com.azure.resourcemanager.msi.models.Identity; import com.azure.resourcemanager.network.models.ApplicationSecurityGroup; import com.azure.resourcemanager.network.models.LoadBalancer; @@ -382,6 +382,11 @@ PagedFlux listNetworkInterfacesByInstanc */ AdditionalCapabilities additionalCapabilities(); + /** + * @return the plan value + */ + Plan plan(); + /** * The virtual machine scale set stages shared between managed and unmanaged based virtual machine scale set * definitions. @@ -1703,6 +1708,19 @@ interface WithApplicationSecurityGroup { WithCreate withExistingApplicationSecurityGroupId(String applicationSecurityGroupId); } + /** + * The stage of the virtual machine scale set definition allowing to configure a purchase plan. + */ + interface WithPlan { + /** + * Specifies the purchase plan for the virtual machine scale set. + * + * @param plan a purchase plan + * @return the next stage of the definition + */ + WithCreate withPlan(PurchasePlan plan); + } + /** * The stage of a virtual machine scale set definition containing all the required inputs for the resource to be * created, but also allowing for any other optional settings to be specified. @@ -1730,6 +1748,7 @@ interface WithCreate DefinitionStages.WithApplicationGateway, DefinitionStages.WithApplicationSecurityGroup, DefinitionStages.WithSecrets, + DefinitionStages.WithPlan, Resource.DefinitionWithTags { } } From 07c7d58c356d9b5b8dab49e2ef68c669624a473d Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 11:34:27 +0800 Subject: [PATCH 2/8] Add test to create VMSS with plan --- ...VirtualMachineScaleSetOperationsTests.java | 58 ++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java index e2a24dd21b7c..3a454b0ccde0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java @@ -15,9 +15,11 @@ import com.azure.core.management.profile.AzureProfile; import com.azure.resourcemanager.authorization.models.BuiltInRole; import com.azure.resourcemanager.authorization.models.RoleAssignment; +import com.azure.resourcemanager.compute.models.ImageReference; import com.azure.resourcemanager.compute.models.KnownLinuxVirtualMachineImage; import com.azure.resourcemanager.compute.models.OperatingSystemTypes; import com.azure.resourcemanager.compute.models.PowerState; +import com.azure.resourcemanager.compute.models.PurchasePlan; import com.azure.resourcemanager.compute.models.ResourceIdentityType; import com.azure.resourcemanager.compute.models.Sku; import com.azure.resourcemanager.compute.models.UpgradeMode; @@ -57,7 +59,6 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.time.Duration; @@ -84,6 +85,61 @@ protected void cleanUpResources() { } } + @Test + public void canCreateVMSSWithPlan() { + final String vmssName = generateRandomResourceName("vmss", 10); + ResourceGroup resourceGroup = this.resourceManager.resourceGroups().define(rgName).withRegion(region).create(); + final String uname = "jvuser"; + + Network network = + this + .networkManager + .networks() + .define(generateRandomResourceName("vmssvnet", 15)) + .withRegion(region) + .withExistingResourceGroup(resourceGroup) + .withAddressSpace("10.0.0.0/28") + .withSubnet("subnet1", "10.0.0.0/28") + .create(); + + PurchasePlan plan = new PurchasePlan() + .withName("access_server_byol") + .withPublisher("openvpn") + .withProduct("openvpnas"); + + ImageReference imageReference = new ImageReference() + .withPublisher("openvpn") + .withOffer("openvpnas") + .withSku("access_server_byol") + .withVersion("latest"); + + VirtualMachineScaleSet virtualMachineScaleSet = + this + .computeManager + .virtualMachineScaleSets() + .define(vmssName) + .withRegion(region) + .withExistingResourceGroup(resourceGroup) + .withSku(VirtualMachineScaleSetSkuTypes.STANDARD_A0) + .withExistingPrimaryNetworkSubnet(network, "subnet1") + .withoutPrimaryInternetFacingLoadBalancer() + .withoutPrimaryInternalLoadBalancer() + .withSpecificLinuxImageVersion(imageReference) + .withRootUsername(uname) + .withSsh(sshPublicKey()) + .withUnmanagedDisks() + .withNewStorageAccount(generateRandomResourceName("stg", 15)) + .withPlan(plan) + .create(); + + VirtualMachineScaleSet currentVirtualMachineScaleSet = this.computeManager.virtualMachineScaleSets().getByResourceGroup(rgName, vmssName); + // assertion for purchase plan + Assertions.assertEquals("access_server_byol", currentVirtualMachineScaleSet.plan().name()); + Assertions.assertEquals("openvpn", currentVirtualMachineScaleSet.plan().publisher()); + Assertions.assertEquals("openvpnas", currentVirtualMachineScaleSet.plan().product()); + + } + @Test public void canUpdateVirtualMachineScaleSetWithExtensionProtectedSettings() throws Exception { final String vmssName = generateRandomResourceName("vmss", 10); From e493233533d243ffb93a9b459e354d775ecb3bbb Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 11:34:47 +0800 Subject: [PATCH 3/8] Add session records --- ...OperationsTests.canCreateVMSSWithPlan.json | 400 ++++++++++++++++++ 1 file changed, 400 insertions(+) create mode 100644 sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json new file mode 100644 index 000000000000..38197fb9177d --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json @@ -0,0 +1,400 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38587?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "543283f7-fdc1-450c-964a-bd1c98a06520", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "225", + "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "Pragma" : "no-cache", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-correlation-request-id" : "fa1241eb-2e18-48ea-951c-33990c891867", + "Date" : "Mon, 08 Nov 2021 06:20:24 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062024Z:fa1241eb-2e18-48ea-951c-33990c891867", + "Expires" : "-1", + "x-ms-request-id" : "fa1241eb-2e18-48ea-951c-33990c891867", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587\",\"name\":\"javacsmrg38587\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f?api-version=2021-03-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "6d3126f3-1b49-4d93-8283-d40ab9b76020", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "1308", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "Pragma" : "no-cache", + "Azure-AsyncNotification" : "Enabled", + "StatusCode" : "201", + "x-ms-correlation-request-id" : "6b5163f0-f49e-43b8-b805-f79a0d31e928", + "Date" : "Mon, 08 Nov 2021 06:20:29 GMT", + "x-ms-arm-service-request-id" : "19ea1d94-19cc-4973-8812-9ecc91285550", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062029Z:6b5163f0-f49e-43b8-b805-f79a0d31e928", + "Expires" : "-1", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9582197b-4b7e-4cdb-b333-a28ce7d4c619?api-version=2021-03-01", + "x-ms-request-id" : "9582197b-4b7e-4cdb-b333-a28ce7d4c619", + "Body" : "{\r\n \"name\": \"vmssvnet17265f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f\",\r\n \"etag\": \"W/\\\"6fdfcf9b-428e-4356-be3d-08529f42792b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"54c6ff80-ae4d-4ecb-95ab-c55e65d642ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\",\r\n \"etag\": \"W/\\\"6fdfcf9b-428e-4356-be3d-08529f42792b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "6d3126f3-1b49-4d93-8283-d40ab9b76020", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9582197b-4b7e-4cdb-b333-a28ce7d4c619?api-version=2021-03-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "b5171517-c937-4d42-b07e-4bc545ff31c2" + }, + "Response" : { + "content-length" : "29", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "b84e090f-0ce1-4978-8cd5-dad5e87051b1", + "Date" : "Mon, 08 Nov 2021 06:20:32 GMT", + "x-ms-arm-service-request-id" : "f035c666-cee4-4948-91f0-81e2cea1ec05", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062033Z:b84e090f-0ce1-4978-8cd5-dad5e87051b1", + "Expires" : "-1", + "x-ms-request-id" : "ac7b76ec-d2b6-4802-a2df-4baf7f0e7e8f", + "Body" : "{\r\n \"status\": \"Succeeded\"\r\n}", + "x-ms-client-request-id" : "b5171517-c937-4d42-b07e-4bc545ff31c2", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f?api-version=2021-03-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "f2e9f562-b2b7-4081-be90-1990d5f43202" + }, + "Response" : { + "content-length" : "1310", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "f3fec6c2-a6ca-4725-9cd7-cbbc6f5212a2", + "Date" : "Mon, 08 Nov 2021 06:20:33 GMT", + "x-ms-arm-service-request-id" : "ac53ad21-3be2-436f-b21c-011de28f4ecf", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "ETag" : "W/\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062033Z:f3fec6c2-a6ca-4725-9cd7-cbbc6f5212a2", + "Expires" : "-1", + "x-ms-request-id" : "d0e1278a-9835-4236-8732-db7c98149ef6", + "Body" : "{\r\n \"name\": \"vmssvnet17265f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f\",\r\n \"etag\": \"W/\\\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"54c6ff80-ae4d-4ecb-95ab-c55e65d642ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\",\r\n \"etag\": \"W/\\\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "f2e9f562-b2b7-4081-be90-1990d5f43202", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426?api-version=2021-04-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "0d894080-0898-4bd3-8ae1-a17bf8510a05", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "0", + "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "Pragma" : "no-cache", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "45415286-d41d-4116-b731-4e02f163afdb", + "Date" : "Mon, 08 Nov 2021 06:20:37 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062037Z:45415286-d41d-4116-b731-4e02f163afdb", + "Expires" : "-1", + "x-ms-request-id" : "1699178e-da5b-43b6-932f-811a0b0f14f6", + "Body" : "", + "x-ms-client-request-id" : "0d894080-0898-4bd3-8ae1-a17bf8510a05", + "Content-Type" : "text/plain; charset=utf-8", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1699178e-da5b-43b6-932f-811a0b0f14f6?monitor=true&api-version=2021-04-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1699178e-da5b-43b6-932f-811a0b0f14f6?monitor=true&api-version=2021-04-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "aae71036-05f2-435a-92a7-838967021aa2" + }, + "Response" : { + "content-length" : "1751", + "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "fb471014-8ed2-40bb-9f6a-0e422a6aeaf9", + "Date" : "Mon, 08 Nov 2021 06:20:54 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062055Z:fb471014-8ed2-40bb-9f6a-0e422a6aeaf9", + "Expires" : "-1", + "x-ms-request-id" : "7008c7ca-be47-4818-994c-61394ea8b499", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426\",\"name\":\"stg76579426\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-08T06:20:35.6412379Z\",\"key2\":\"2021-11-08T06:20:35.6412379Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-08T06:20:35.5787427Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg76579426.dfs.core.windows.net/\",\"web\":\"https://stg76579426.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426.blob.core.windows.net/\",\"queue\":\"https://stg76579426.queue.core.windows.net/\",\"table\":\"https://stg76579426.table.core.windows.net/\",\"file\":\"https://stg76579426.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg76579426-secondary.dfs.core.windows.net/\",\"web\":\"https://stg76579426-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426-secondary.blob.core.windows.net/\",\"queue\":\"https://stg76579426-secondary.queue.core.windows.net/\",\"table\":\"https://stg76579426-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "aae71036-05f2-435a-92a7-838967021aa2", + "Content-Type" : "application/json" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426?api-version=2021-04-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "3f088a2d-55a5-4946-a13b-a85453b5013c", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "1751", + "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "feece96e-0428-48ae-9383-e6176cf4ff83", + "Date" : "Mon, 08 Nov 2021 06:20:55 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062055Z:feece96e-0428-48ae-9383-e6176cf4ff83", + "Expires" : "-1", + "x-ms-request-id" : "67fca457-3617-44f1-96fe-8498b3d954a1", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426\",\"name\":\"stg76579426\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-08T06:20:35.6412379Z\",\"key2\":\"2021-11-08T06:20:35.6412379Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-08T06:20:35.5787427Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg76579426.dfs.core.windows.net/\",\"web\":\"https://stg76579426.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426.blob.core.windows.net/\",\"queue\":\"https://stg76579426.queue.core.windows.net/\",\"table\":\"https://stg76579426.table.core.windows.net/\",\"file\":\"https://stg76579426.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg76579426-secondary.dfs.core.windows.net/\",\"web\":\"https://stg76579426-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426-secondary.blob.core.windows.net/\",\"queue\":\"https://stg76579426-secondary.queue.core.windows.net/\",\"table\":\"https://stg76579426-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "3f088a2d-55a5-4946-a13b-a85453b5013c", + "Content-Type" : "application/json" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "94c7fc50-8e1a-440d-8c1e-ec2a925baceb", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "2698", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "x-ms-request-charge" : "4", + "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "Pragma" : "no-cache", + "Azure-AsyncNotification" : "Enabled", + "StatusCode" : "201", + "x-ms-correlation-request-id" : "bbc8a24c-da87-493d-b6db-372f09f87b45", + "Date" : "Mon, 08 Nov 2021 06:21:08 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;299,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1196,Microsoft.Compute/VmssQueuedVMOperations;0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062109Z:bbc8a24c-da87-493d-b6db-372f09f87b45", + "Expires" : "-1", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "x-ms-request-id" : "ebea2de7-c137-4626-95d3-99874ba8f6b4", + "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", + "x-ms-client-request-id" : "94c7fc50-8e1a-440d-8c1e-ec2a925baceb", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "7380fa7c-1dae-4cec-8f46-68269b62af0b" + }, + "Response" : { + "content-length" : "134", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "a8a7eb22-18c3-4891-9451-27114c67e568", + "Date" : "Mon, 08 Nov 2021 06:21:19 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062119Z:a8a7eb22-18c3-4891-9451-27114c67e568", + "Expires" : "-1", + "x-ms-request-id" : "979c607c-d706-4f8b-bf33-d0193a16ab16", + "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", + "x-ms-client-request-id" : "7380fa7c-1dae-4cec-8f46-68269b62af0b", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "79ddc9bc-e7ec-4614-8a20-7f1aff361431" + }, + "Response" : { + "content-length" : "134", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "5b48cf63-8ad2-41bd-a5fc-50b0b1986125", + "Date" : "Mon, 08 Nov 2021 06:22:20 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062221Z:5b48cf63-8ad2-41bd-a5fc-50b0b1986125", + "Expires" : "-1", + "x-ms-request-id" : "f919510a-1b58-44c0-b0e5-9a782d392c33", + "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", + "x-ms-client-request-id" : "79ddc9bc-e7ec-4614-8a20-7f1aff361431", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "49219ea6-9e00-47bb-93df-fc24bfde2c24" + }, + "Response" : { + "content-length" : "183", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "8fcb94c6-6d23-4c26-8705-8fcbae062033", + "Date" : "Mon, 08 Nov 2021 06:22:51 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062251Z:8fcb94c6-6d23-4c26-8705-8fcbae062033", + "Expires" : "-1", + "x-ms-request-id" : "aa0a2d8c-54f9-4397-90b3-4aa1bdf6e20d", + "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"endTime\": \"2021-11-08T06:22:37.861886+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", + "x-ms-client-request-id" : "49219ea6-9e00-47bb-93df-fc24bfde2c24", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "fd3a3bad-fa92-419d-bf39-34f570be45fe" + }, + "Response" : { + "content-length" : "2699", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "cdcacb50-ad13-4364-8e4d-3a7b33d76bc1", + "Date" : "Mon, 08 Nov 2021 06:22:51 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;198,Microsoft.Compute/GetVMScaleSet30Min;1298", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062252Z:cdcacb50-ad13-4364-8e4d-3a7b33d76bc1", + "Expires" : "-1", + "x-ms-request-id" : "11a63269-5b7c-41fe-8f00-6328a7e35e77", + "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", + "x-ms-client-request-id" : "fd3a3bad-fa92-419d-bf39-34f570be45fe", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "06cbfcb9-8e83-4e41-a8d2-2927d4a82a7f", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "2699", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "534e0855-a1f6-465a-a38c-c78895cd1413", + "Date" : "Mon, 08 Nov 2021 06:22:52 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;197,Microsoft.Compute/GetVMScaleSet30Min;1297", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062252Z:534e0855-a1f6-465a-a38c-c78895cd1413", + "Expires" : "-1", + "x-ms-request-id" : "fb26c66a-f372-4605-a69c-d048d88fbbf9", + "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", + "x-ms-client-request-id" : "06cbfcb9-8e83-4e41-a8d2-2927d4a82a7f", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38587?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "6a6b4bf2-5856-4ff1-a58d-2e1485bbb486", + "Content-Type" : "application/json" + }, + "Response" : { + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "efe51ffe-b208-4c1d-aff3-86c971d3a79d", + "Date" : "Mon, 08 Nov 2021 06:22:56 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062256Z:efe51ffe-b208-4c1d-aff3-86c971d3a79d", + "Expires" : "-1", + "x-ms-request-id" : "efe51ffe-b208-4c1d-aff3-86c971d3a79d", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODU4Ny1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" + }, + "Exception" : null + } ], + "variables" : [ "javacsmrg38587", "vmss19461", "vmssvnet17265f", "stg76579426" ] +} \ No newline at end of file From 78399ac2c061087c152cb00e8ed302e396c0150e Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 11:47:04 +0800 Subject: [PATCH 4/8] Update CHANGELOG --- .../azure-resourcemanager-compute/CHANGELOG.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md index ad7d3114029e..9908effea0bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md @@ -4,11 +4,7 @@ ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Supported `withPlan()` for `VirtualMachineScaleSet` during create. ## 2.9.0 (2021-10-21) From 12d79928a59262f219730c0fa63b9f5d47fbc504 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 14:05:21 +0800 Subject: [PATCH 5/8] Update test to use withNewDataDisk() instead of withUnmanagedDisks() --- ...VirtualMachineScaleSetOperationsTests.java | 2 +- ...OperationsTests.canCreateVMSSWithPlan.json | 286 ++++++++++-------- 2 files changed, 158 insertions(+), 130 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java index 3a454b0ccde0..c3d10a285138 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java @@ -127,7 +127,7 @@ public void canCreateVMSSWithPlan() { .withSpecificLinuxImageVersion(imageReference) .withRootUsername(uname) .withSsh(sshPublicKey()) - .withUnmanagedDisks() + .withNewDataDisk(1) .withNewStorageAccount(generateRandomResourceName("stg", 15)) .withPlan(plan) .create(); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json index 38197fb9177d..0f22bec29d51 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38587?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg37543?api-version=2021-01-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "543283f7-fdc1-450c-964a-bd1c98a06520", + "x-ms-client-request-id" : "89a8667c-7b5f-4a40-b013-93026c101668", "Content-Type" : "application/json" }, "Response" : { "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "fa1241eb-2e18-48ea-951c-33990c891867", - "Date" : "Mon, 08 Nov 2021 06:20:24 GMT", + "x-ms-correlation-request-id" : "9c0ece34-c7e2-4202-b475-2ae6915fa378", + "Date" : "Thu, 11 Nov 2021 05:49:44 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062024Z:fa1241eb-2e18-48ea-951c-33990c891867", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054945Z:9c0ece34-c7e2-4202-b475-2ae6915fa378", "Expires" : "-1", - "x-ms-request-id" : "fa1241eb-2e18-48ea-951c-33990c891867", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587\",\"name\":\"javacsmrg38587\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "9c0ece34-c7e2-4202-b475-2ae6915fa378", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543\",\"name\":\"javacsmrg37543\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d3126f3-1b49-4d93-8283-d40ab9b76020", + "x-ms-client-request-id" : "3aeda251-62ef-4860-ac8f-73af72afee3a", "Content-Type" : "application/json" }, "Response" : { "content-length" : "1308", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "6b5163f0-f49e-43b8-b805-f79a0d31e928", - "Date" : "Mon, 08 Nov 2021 06:20:29 GMT", - "x-ms-arm-service-request-id" : "19ea1d94-19cc-4973-8812-9ecc91285550", + "x-ms-correlation-request-id" : "6c34f38c-c883-43c8-9b8d-bfa40b8e300a", + "Date" : "Thu, 11 Nov 2021 05:49:51 GMT", + "x-ms-arm-service-request-id" : "b09adcf4-82b6-47c8-900f-86f455d05068", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062029Z:6b5163f0-f49e-43b8-b805-f79a0d31e928", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054951Z:6c34f38c-c883-43c8-9b8d-bfa40b8e300a", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9582197b-4b7e-4cdb-b333-a28ce7d4c619?api-version=2021-03-01", - "x-ms-request-id" : "9582197b-4b7e-4cdb-b333-a28ce7d4c619", - "Body" : "{\r\n \"name\": \"vmssvnet17265f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f\",\r\n \"etag\": \"W/\\\"6fdfcf9b-428e-4356-be3d-08529f42792b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"54c6ff80-ae4d-4ecb-95ab-c55e65d642ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\",\r\n \"etag\": \"W/\\\"6fdfcf9b-428e-4356-be3d-08529f42792b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "6d3126f3-1b49-4d93-8283-d40ab9b76020", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8a895608-f2e8-48f5-82b3-5a98d2b2d935?api-version=2021-03-01", + "x-ms-request-id" : "8a895608-f2e8-48f5-82b3-5a98d2b2d935", + "Body" : "{\r\n \"name\": \"vmssvnet35111e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e\",\r\n \"etag\": \"W/\\\"7f869eec-6136-4724-a5fc-ca1306e3be88\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"efb23d33-7de0-4bb3-9525-76cb79eb9381\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\",\r\n \"etag\": \"W/\\\"7f869eec-6136-4724-a5fc-ca1306e3be88\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "3aeda251-62ef-4860-ac8f-73af72afee3a", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9582197b-4b7e-4cdb-b333-a28ce7d4c619?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8a895608-f2e8-48f5-82b3-5a98d2b2d935?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5171517-c937-4d42-b07e-4bc545ff31c2" + "x-ms-client-request-id" : "ccda7ace-8b65-4524-a5e8-41f4f434881d" }, "Response" : { "content-length" : "29", @@ -69,27 +69,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b84e090f-0ce1-4978-8cd5-dad5e87051b1", - "Date" : "Mon, 08 Nov 2021 06:20:32 GMT", - "x-ms-arm-service-request-id" : "f035c666-cee4-4948-91f0-81e2cea1ec05", + "x-ms-correlation-request-id" : "a31f7f6b-9a22-4052-9a84-2ba2fe7e10ac", + "Date" : "Thu, 11 Nov 2021 05:49:54 GMT", + "x-ms-arm-service-request-id" : "7c4139c8-0ab8-4515-a810-b335d7bc1ed1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062033Z:b84e090f-0ce1-4978-8cd5-dad5e87051b1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054955Z:a31f7f6b-9a22-4052-9a84-2ba2fe7e10ac", "Expires" : "-1", - "x-ms-request-id" : "ac7b76ec-d2b6-4802-a2df-4baf7f0e7e8f", + "x-ms-request-id" : "5091246e-08fc-4723-938b-b2f4712313c4", "Body" : "{\r\n \"status\": \"Succeeded\"\r\n}", - "x-ms-client-request-id" : "b5171517-c937-4d42-b07e-4bc545ff31c2", + "x-ms-client-request-id" : "ccda7ace-8b65-4524-a5e8-41f4f434881d", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "f2e9f562-b2b7-4081-be90-1990d5f43202" + "x-ms-client-request-id" : "60da8ef1-0352-4300-a0c2-5a097fb74f9b" }, "Response" : { "content-length" : "1310", @@ -99,55 +99,55 @@ "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f3fec6c2-a6ca-4725-9cd7-cbbc6f5212a2", - "Date" : "Mon, 08 Nov 2021 06:20:33 GMT", - "x-ms-arm-service-request-id" : "ac53ad21-3be2-436f-b21c-011de28f4ecf", + "x-ms-correlation-request-id" : "ac9c5a25-5dda-4751-935c-0cbba6b7c398", + "Date" : "Thu, 11 Nov 2021 05:49:55 GMT", + "x-ms-arm-service-request-id" : "8faaae56-f76a-483e-9d5e-cfa21d07979d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "W/\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062033Z:f3fec6c2-a6ca-4725-9cd7-cbbc6f5212a2", + "ETag" : "W/\"badce62c-027b-44e3-b01a-479f0c552d98\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054955Z:ac9c5a25-5dda-4751-935c-0cbba6b7c398", "Expires" : "-1", - "x-ms-request-id" : "d0e1278a-9835-4236-8732-db7c98149ef6", - "Body" : "{\r\n \"name\": \"vmssvnet17265f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f\",\r\n \"etag\": \"W/\\\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"54c6ff80-ae4d-4ecb-95ab-c55e65d642ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\",\r\n \"etag\": \"W/\\\"eec6f99f-5f7c-47bf-8274-10d5b0e4fb8c\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "f2e9f562-b2b7-4081-be90-1990d5f43202", + "x-ms-request-id" : "8f772ce8-9a31-4e74-a13d-b92b49059881", + "Body" : "{\r\n \"name\": \"vmssvnet35111e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e\",\r\n \"etag\": \"W/\\\"badce62c-027b-44e3-b01a-479f0c552d98\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"efb23d33-7de0-4bb3-9525-76cb79eb9381\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\",\r\n \"etag\": \"W/\\\"badce62c-027b-44e3-b01a-479f0c552d98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "60da8ef1-0352-4300-a0c2-5a097fb74f9b", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e?api-version=2021-04-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d894080-0898-4bd3-8ae1-a17bf8510a05", + "x-ms-client-request-id" : "db630f33-5504-4701-a61c-7ffe4db89801", "Content-Type" : "application/json" }, "Response" : { "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "45415286-d41d-4116-b731-4e02f163afdb", - "Date" : "Mon, 08 Nov 2021 06:20:37 GMT", + "x-ms-correlation-request-id" : "5ed1c02b-a8ff-4e82-ba27-a622b5972410", + "Date" : "Thu, 11 Nov 2021 05:50:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062037Z:45415286-d41d-4116-b731-4e02f163afdb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055000Z:5ed1c02b-a8ff-4e82-ba27-a622b5972410", "Expires" : "-1", - "x-ms-request-id" : "1699178e-da5b-43b6-932f-811a0b0f14f6", + "x-ms-request-id" : "ac5ba991-cca2-4ca2-a4f9-260446ebeac3", "Body" : "", - "x-ms-client-request-id" : "0d894080-0898-4bd3-8ae1-a17bf8510a05", + "x-ms-client-request-id" : "db630f33-5504-4701-a61c-7ffe4db89801", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1699178e-da5b-43b6-932f-811a0b0f14f6?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ac5ba991-cca2-4ca2-a4f9-260446ebeac3?monitor=true&api-version=2021-04-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1699178e-da5b-43b6-932f-811a0b0f14f6?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ac5ba991-cca2-4ca2-a4f9-260446ebeac3?monitor=true&api-version=2021-04-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "aae71036-05f2-435a-92a7-838967021aa2" + "x-ms-client-request-id" : "c7a601ad-9e83-4063-ab62-b58ffec8cb3b" }, "Response" : { "content-length" : "1751", @@ -157,24 +157,24 @@ "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "fb471014-8ed2-40bb-9f6a-0e422a6aeaf9", - "Date" : "Mon, 08 Nov 2021 06:20:54 GMT", + "x-ms-correlation-request-id" : "28a5b409-3fb5-4bf9-8008-fd516c914ce4", + "Date" : "Thu, 11 Nov 2021 05:50:18 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062055Z:fb471014-8ed2-40bb-9f6a-0e422a6aeaf9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055018Z:28a5b409-3fb5-4bf9-8008-fd516c914ce4", "Expires" : "-1", - "x-ms-request-id" : "7008c7ca-be47-4818-994c-61394ea8b499", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426\",\"name\":\"stg76579426\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-08T06:20:35.6412379Z\",\"key2\":\"2021-11-08T06:20:35.6412379Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-08T06:20:35.5787427Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg76579426.dfs.core.windows.net/\",\"web\":\"https://stg76579426.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426.blob.core.windows.net/\",\"queue\":\"https://stg76579426.queue.core.windows.net/\",\"table\":\"https://stg76579426.table.core.windows.net/\",\"file\":\"https://stg76579426.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg76579426-secondary.dfs.core.windows.net/\",\"web\":\"https://stg76579426-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426-secondary.blob.core.windows.net/\",\"queue\":\"https://stg76579426-secondary.queue.core.windows.net/\",\"table\":\"https://stg76579426-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "aae71036-05f2-435a-92a7-838967021aa2", + "x-ms-request-id" : "4437d599-9f85-4199-bd1a-73eb095b783f", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e\",\"name\":\"stg6354893e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-11T05:49:57.6901830Z\",\"key2\":\"2021-11-11T05:49:57.6901830Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-11T05:49:57.6120430Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg6354893e.dfs.core.windows.net/\",\"web\":\"https://stg6354893e.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e.blob.core.windows.net/\",\"queue\":\"https://stg6354893e.queue.core.windows.net/\",\"table\":\"https://stg6354893e.table.core.windows.net/\",\"file\":\"https://stg6354893e.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg6354893e-secondary.dfs.core.windows.net/\",\"web\":\"https://stg6354893e-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e-secondary.blob.core.windows.net/\",\"queue\":\"https://stg6354893e-secondary.queue.core.windows.net/\",\"table\":\"https://stg6354893e-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "c7a601ad-9e83-4063-ab62-b58ffec8cb3b", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e?api-version=2021-04-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f088a2d-55a5-4946-a13b-a85453b5013c", + "x-ms-client-request-id" : "58420d45-b958-4347-afa9-b57bb0494fb4", "Content-Type" : "application/json" }, "Response" : { @@ -183,30 +183,30 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "feece96e-0428-48ae-9383-e6176cf4ff83", - "Date" : "Mon, 08 Nov 2021 06:20:55 GMT", + "x-ms-correlation-request-id" : "47278113-d890-4688-887d-ebb6e05b13d5", + "Date" : "Thu, 11 Nov 2021 05:50:18 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062055Z:feece96e-0428-48ae-9383-e6176cf4ff83", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055019Z:47278113-d890-4688-887d-ebb6e05b13d5", "Expires" : "-1", - "x-ms-request-id" : "67fca457-3617-44f1-96fe-8498b3d954a1", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Storage/storageAccounts/stg76579426\",\"name\":\"stg76579426\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-08T06:20:35.6412379Z\",\"key2\":\"2021-11-08T06:20:35.6412379Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-08T06:20:35.6412379Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-08T06:20:35.5787427Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg76579426.dfs.core.windows.net/\",\"web\":\"https://stg76579426.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426.blob.core.windows.net/\",\"queue\":\"https://stg76579426.queue.core.windows.net/\",\"table\":\"https://stg76579426.table.core.windows.net/\",\"file\":\"https://stg76579426.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg76579426-secondary.dfs.core.windows.net/\",\"web\":\"https://stg76579426-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg76579426-secondary.blob.core.windows.net/\",\"queue\":\"https://stg76579426-secondary.queue.core.windows.net/\",\"table\":\"https://stg76579426-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "3f088a2d-55a5-4946-a13b-a85453b5013c", + "x-ms-request-id" : "4e52bcdb-0d21-498d-ad5a-626488e00606", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e\",\"name\":\"stg6354893e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-11T05:49:57.6901830Z\",\"key2\":\"2021-11-11T05:49:57.6901830Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-11T05:49:57.6120430Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg6354893e.dfs.core.windows.net/\",\"web\":\"https://stg6354893e.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e.blob.core.windows.net/\",\"queue\":\"https://stg6354893e.queue.core.windows.net/\",\"table\":\"https://stg6354893e.table.core.windows.net/\",\"file\":\"https://stg6354893e.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg6354893e-secondary.dfs.core.windows.net/\",\"web\":\"https://stg6354893e-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e-secondary.blob.core.windows.net/\",\"queue\":\"https://stg6354893e-secondary.queue.core.windows.net/\",\"table\":\"https://stg6354893e-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "58420d45-b958-4347-afa9-b57bb0494fb4", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "94c7fc50-8e1a-440d-8c1e-ec2a925baceb", + "x-ms-client-request-id" : "9a2fdb16-d990-4477-8218-2d22f3c5abb5", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2698", + "content-length" : "2960", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "x-ms-request-charge" : "4", "X-Content-Type-Options" : "nosniff", @@ -214,55 +214,55 @@ "Pragma" : "no-cache", "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "bbc8a24c-da87-493d-b6db-372f09f87b45", - "Date" : "Mon, 08 Nov 2021 06:21:08 GMT", + "x-ms-correlation-request-id" : "eb954d65-412a-4556-9448-cc2c21e24304", + "Date" : "Thu, 11 Nov 2021 05:50:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;299,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1196,Microsoft.Compute/VmssQueuedVMOperations;0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062109Z:bbc8a24c-da87-493d-b6db-372f09f87b45", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055031Z:eb954d65-412a-4556-9448-cc2c21e24304", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", - "x-ms-request-id" : "ebea2de7-c137-4626-95d3-99874ba8f6b4", - "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", - "x-ms-client-request-id" : "94c7fc50-8e1a-440d-8c1e-ec2a925baceb", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "x-ms-request-id" : "4d8bd758-f2a1-47a0-be6d-1b6705827af2", + "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", + "x-ms-client-request-id" : "9a2fdb16-d990-4477-8218-2d22f3c5abb5", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "7380fa7c-1dae-4cec-8f46-68269b62af0b" + "x-ms-client-request-id" : "a6a2ece4-5354-4ae3-8d40-9fea10c7b5a6" }, "Response" : { "content-length" : "134", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a8a7eb22-18c3-4891-9451-27114c67e568", - "Date" : "Mon, 08 Nov 2021 06:21:19 GMT", + "x-ms-correlation-request-id" : "02d7c84a-5b31-4cef-af9f-4623d58d1966", + "Date" : "Thu, 11 Nov 2021 05:50:41 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062119Z:a8a7eb22-18c3-4891-9451-27114c67e568", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055042Z:02d7c84a-5b31-4cef-af9f-4623d58d1966", "Expires" : "-1", - "x-ms-request-id" : "979c607c-d706-4f8b-bf33-d0193a16ab16", - "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", - "x-ms-client-request-id" : "7380fa7c-1dae-4cec-8f46-68269b62af0b", + "x-ms-request-id" : "960960b3-e54e-4ca2-82a4-f0986086e3ab", + "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", + "x-ms-client-request-id" : "a6a2ece4-5354-4ae3-8d40-9fea10c7b5a6", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "79ddc9bc-e7ec-4614-8a20-7f1aff361431" + "x-ms-client-request-id" : "9ecf9011-a4d6-45c5-bd7a-f67e057cfd80" }, "Response" : { "content-length" : "134", @@ -272,110 +272,138 @@ "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5b48cf63-8ad2-41bd-a5fc-50b0b1986125", - "Date" : "Mon, 08 Nov 2021 06:22:20 GMT", + "x-ms-correlation-request-id" : "21837c25-7ef1-45d5-a831-1de2cace9b2a", + "Date" : "Thu, 11 Nov 2021 05:51:43 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062221Z:5b48cf63-8ad2-41bd-a5fc-50b0b1986125", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055143Z:21837c25-7ef1-45d5-a831-1de2cace9b2a", "Expires" : "-1", - "x-ms-request-id" : "f919510a-1b58-44c0-b0e5-9a782d392c33", - "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", - "x-ms-client-request-id" : "79ddc9bc-e7ec-4614-8a20-7f1aff361431", + "x-ms-request-id" : "a69a5c64-090c-4f63-bdd3-785fbbe64c1e", + "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", + "x-ms-client-request-id" : "9ecf9011-a4d6-45c5-bd7a-f67e057cfd80", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ebea2de7-c137-4626-95d3-99874ba8f6b4?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "49219ea6-9e00-47bb-93df-fc24bfde2c24" + "x-ms-client-request-id" : "841759dc-cf43-4a68-a2e6-057e113b2dad" }, "Response" : { - "content-length" : "183", + "content-length" : "134", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8fcb94c6-6d23-4c26-8705-8fcbae062033", - "Date" : "Mon, 08 Nov 2021 06:22:51 GMT", + "x-ms-correlation-request-id" : "fc0660f5-0ef2-4bc1-b67d-7641193dddf5", + "Date" : "Thu, 11 Nov 2021 05:52:13 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062251Z:8fcb94c6-6d23-4c26-8705-8fcbae062033", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055213Z:fc0660f5-0ef2-4bc1-b67d-7641193dddf5", "Expires" : "-1", - "x-ms-request-id" : "aa0a2d8c-54f9-4397-90b3-4aa1bdf6e20d", - "Body" : "{\r\n \"startTime\": \"2021-11-08T06:21:07.0460066+00:00\",\r\n \"endTime\": \"2021-11-08T06:22:37.861886+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"ebea2de7-c137-4626-95d3-99874ba8f6b4\"\r\n}", - "x-ms-client-request-id" : "49219ea6-9e00-47bb-93df-fc24bfde2c24", + "x-ms-request-id" : "aae8c43f-3399-440e-96a5-16e4437f15cc", + "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", + "x-ms-client-request-id" : "841759dc-cf43-4a68-a2e6-057e113b2dad", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd3a3bad-fa92-419d-bf39-34f570be45fe" + "x-ms-client-request-id" : "2f318b6a-9219-474a-8083-11bf907f42f5" }, "Response" : { - "content-length" : "2699", + "content-length" : "184", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "cdcacb50-ad13-4364-8e4d-3a7b33d76bc1", - "Date" : "Mon, 08 Nov 2021 06:22:51 GMT", + "x-ms-correlation-request-id" : "ffe9c65c-6245-4ce7-b638-d5bb39fe4507", + "Date" : "Thu, 11 Nov 2021 05:52:43 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29995", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:ffe9c65c-6245-4ce7-b638-d5bb39fe4507", + "Expires" : "-1", + "x-ms-request-id" : "708ae808-ea9a-428d-96ea-36b68569d96e", + "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"endTime\": \"2021-11-11T05:52:30.1221077+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", + "x-ms-client-request-id" : "2f318b6a-9219-474a-8083-11bf907f42f5", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "47c0e1f6-6932-461a-bbbc-c06190f07b8d" + }, + "Response" : { + "content-length" : "2961", + "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "49c56f56-4168-446b-8dd5-bfb0e23b3b53", + "Date" : "Thu, 11 Nov 2021 05:52:43 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;198,Microsoft.Compute/GetVMScaleSet30Min;1298", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062252Z:cdcacb50-ad13-4364-8e4d-3a7b33d76bc1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:49c56f56-4168-446b-8dd5-bfb0e23b3b53", "Expires" : "-1", - "x-ms-request-id" : "11a63269-5b7c-41fe-8f00-6328a7e35e77", - "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", - "x-ms-client-request-id" : "fd3a3bad-fa92-419d-bf39-34f570be45fe", + "x-ms-request-id" : "3e9c0dbb-c272-4edf-9a93-14ec36842e98", + "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", + "x-ms-client-request-id" : "47c0e1f6-6932-461a-bbbc-c06190f07b8d", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "06cbfcb9-8e83-4e41-a8d2-2927d4a82a7f", + "x-ms-client-request-id" : "37b4a734-b49f-4dfa-9610-c60e1ce5ede3", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2699", + "content-length" : "2961", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "534e0855-a1f6-465a-a38c-c78895cd1413", - "Date" : "Mon, 08 Nov 2021 06:22:52 GMT", + "x-ms-correlation-request-id" : "faad80b6-d53f-4177-9654-a38726c2d700", + "Date" : "Thu, 11 Nov 2021 05:52:44 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;197,Microsoft.Compute/GetVMScaleSet30Min;1297", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062252Z:534e0855-a1f6-465a-a38c-c78895cd1413", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:faad80b6-d53f-4177-9654-a38726c2d700", "Expires" : "-1", - "x-ms-request-id" : "fb26c66a-f372-4605-a69c-d048d88fbbf9", - "Body" : "{\r\n \"name\": \"vmss19461\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Compute/virtualMachineScaleSets/vmss19461\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss19461-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCqD3uuTECEXlEllMJwCM4QM/T6iBF1lv9LkeDudPanlMmsZ4twnmiQJv9V2U+vf1aJFHvJJ6r40MlA7OuqRLdx9cAYlmEVqbV8ugtXhJBF9limGORe8tcKbw3XgDHJHz7shaxXoisdhOCR2Srz053zPGFyExJ5Jv9BR/Wt/O1txw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"vhdContainers\": [\r\n \"https://stg76579426.blob.core.windows.net/vhds\"\r\n ],\r\n \"osType\": \"Linux\",\r\n \"name\": \"vmss19461-os-disk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\"\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38587/providers/Microsoft.Network/virtualNetworks/vmssvnet17265f/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"4da843fe-d235-40ee-ab58-f10730ff3788\"\r\n }\r\n}", - "x-ms-client-request-id" : "06cbfcb9-8e83-4e41-a8d2-2927d4a82a7f", + "x-ms-request-id" : "37e9deaf-16c6-4a0a-b2f6-37335d8d6bca", + "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", + "x-ms-client-request-id" : "37b4a734-b49f-4dfa-9610-c60e1ce5ede3", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38587?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg37543?api-version=2021-01-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "6a6b4bf2-5856-4ff1-a58d-2e1485bbb486", + "x-ms-client-request-id" : "b01aef59-3890-4dc7-b9ec-173b19e4f1c2", "Content-Type" : "application/json" }, "Response" : { @@ -384,17 +412,17 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "efe51ffe-b208-4c1d-aff3-86c971d3a79d", - "Date" : "Mon, 08 Nov 2021 06:22:56 GMT", + "x-ms-correlation-request-id" : "e26503e5-1be6-4beb-be24-c7c93e11beac", + "Date" : "Thu, 11 Nov 2021 05:52:48 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211108T062256Z:efe51ffe-b208-4c1d-aff3-86c971d3a79d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055248Z:e26503e5-1be6-4beb-be24-c7c93e11beac", "Expires" : "-1", - "x-ms-request-id" : "efe51ffe-b208-4c1d-aff3-86c971d3a79d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODU4Ny1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" + "x-ms-request-id" : "e26503e5-1be6-4beb-be24-c7c93e11beac", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczNzU0My1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg38587", "vmss19461", "vmssvnet17265f", "stg76579426" ] + "variables" : [ "javacsmrg37543", "vmss80632", "vmssvnet35111e", "stg6354893e" ] } \ No newline at end of file From 77f382e6cc43297887ccc93aebeed8f6fca94e08 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 14:14:37 +0800 Subject: [PATCH 6/8] Remove withNewStorageAccount() in test --- ...VirtualMachineScaleSetOperationsTests.java | 1 - ...OperationsTests.canCreateVMSSWithPlan.json | 320 ++++++------------ 2 files changed, 104 insertions(+), 217 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java index c3d10a285138..61d0e5b3d218 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/java/com/azure/resourcemanager/compute/VirtualMachineScaleSetOperationsTests.java @@ -128,7 +128,6 @@ public void canCreateVMSSWithPlan() { .withRootUsername(uname) .withSsh(sshPublicKey()) .withNewDataDisk(1) - .withNewStorageAccount(generateRandomResourceName("stg", 15)) .withPlan(plan) .create(); diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json index 0f22bec29d51..bf0281c08a00 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg37543?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg04448?api-version=2021-01-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "89a8667c-7b5f-4a40-b013-93026c101668", + "x-ms-client-request-id" : "71111bca-ae92-421f-a927-a2c2bc92cb3c", "Content-Type" : "application/json" }, "Response" : { @@ -14,23 +14,23 @@ "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "9c0ece34-c7e2-4202-b475-2ae6915fa378", - "Date" : "Thu, 11 Nov 2021 05:49:44 GMT", + "x-ms-correlation-request-id" : "9ee4aa05-fb44-49f8-b91f-7da7216dfbb7", + "Date" : "Thu, 11 Nov 2021 06:08:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054945Z:9c0ece34-c7e2-4202-b475-2ae6915fa378", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060850Z:9ee4aa05-fb44-49f8-b91f-7da7216dfbb7", "Expires" : "-1", - "x-ms-request-id" : "9c0ece34-c7e2-4202-b475-2ae6915fa378", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543\",\"name\":\"javacsmrg37543\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "9ee4aa05-fb44-49f8-b91f-7da7216dfbb7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448\",\"name\":\"javacsmrg04448\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "3aeda251-62ef-4860-ac8f-73af72afee3a", + "x-ms-client-request-id" : "cea73107-18d6-43ea-a6fd-0d640aa57da5", "Content-Type" : "application/json" }, "Response" : { @@ -41,27 +41,27 @@ "Pragma" : "no-cache", "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "6c34f38c-c883-43c8-9b8d-bfa40b8e300a", - "Date" : "Thu, 11 Nov 2021 05:49:51 GMT", - "x-ms-arm-service-request-id" : "b09adcf4-82b6-47c8-900f-86f455d05068", + "x-ms-correlation-request-id" : "44561466-79a6-44e3-a516-30b531a46d68", + "Date" : "Thu, 11 Nov 2021 06:08:56 GMT", + "x-ms-arm-service-request-id" : "14043817-1ec7-4e01-91af-8dc6d3539480", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054951Z:6c34f38c-c883-43c8-9b8d-bfa40b8e300a", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060856Z:44561466-79a6-44e3-a516-30b531a46d68", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8a895608-f2e8-48f5-82b3-5a98d2b2d935?api-version=2021-03-01", - "x-ms-request-id" : "8a895608-f2e8-48f5-82b3-5a98d2b2d935", - "Body" : "{\r\n \"name\": \"vmssvnet35111e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e\",\r\n \"etag\": \"W/\\\"7f869eec-6136-4724-a5fc-ca1306e3be88\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"efb23d33-7de0-4bb3-9525-76cb79eb9381\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\",\r\n \"etag\": \"W/\\\"7f869eec-6136-4724-a5fc-ca1306e3be88\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "3aeda251-62ef-4860-ac8f-73af72afee3a", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-03-01", + "x-ms-request-id" : "303037dc-739c-4e55-86c7-78546c590e60", + "Body" : "{\r\n \"name\": \"vmssvnet733677\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677\",\r\n \"etag\": \"W/\\\"77e29d48-0c45-4c66-a2b4-85b84755af74\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"ef27e83c-b31f-4ba0-80ac-9d4da628ae01\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\",\r\n \"etag\": \"W/\\\"77e29d48-0c45-4c66-a2b4-85b84755af74\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "cea73107-18d6-43ea-a6fd-0d640aa57da5", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8a895608-f2e8-48f5-82b3-5a98d2b2d935?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "ccda7ace-8b65-4524-a5e8-41f4f434881d" + "x-ms-client-request-id" : "b6a0e481-6049-490c-8b79-b30520d09675" }, "Response" : { "content-length" : "29", @@ -71,25 +71,25 @@ "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a31f7f6b-9a22-4052-9a84-2ba2fe7e10ac", - "Date" : "Thu, 11 Nov 2021 05:49:54 GMT", - "x-ms-arm-service-request-id" : "7c4139c8-0ab8-4515-a810-b335d7bc1ed1", + "x-ms-correlation-request-id" : "3d8719af-a5a1-44f9-ae57-8ab8c4dacb39", + "Date" : "Thu, 11 Nov 2021 06:08:59 GMT", + "x-ms-arm-service-request-id" : "562a3014-b8fb-4524-a38e-c92308afd375", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054955Z:a31f7f6b-9a22-4052-9a84-2ba2fe7e10ac", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060859Z:3d8719af-a5a1-44f9-ae57-8ab8c4dacb39", "Expires" : "-1", - "x-ms-request-id" : "5091246e-08fc-4723-938b-b2f4712313c4", + "x-ms-request-id" : "4a633321-b4b8-4466-b081-2c1acb05b148", "Body" : "{\r\n \"status\": \"Succeeded\"\r\n}", - "x-ms-client-request-id" : "ccda7ace-8b65-4524-a5e8-41f4f434881d", + "x-ms-client-request-id" : "b6a0e481-6049-490c-8b79-b30520d09675", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-03-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "60da8ef1-0352-4300-a0c2-5a097fb74f9b" + "x-ms-client-request-id" : "4bada6ca-38be-425a-90b0-7f5f1fc64b6a" }, "Response" : { "content-length" : "1310", @@ -99,110 +99,26 @@ "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ac9c5a25-5dda-4751-935c-0cbba6b7c398", - "Date" : "Thu, 11 Nov 2021 05:49:55 GMT", - "x-ms-arm-service-request-id" : "8faaae56-f76a-483e-9d5e-cfa21d07979d", + "x-ms-correlation-request-id" : "97debf2c-fb2b-40e9-9332-39df0f102854", + "Date" : "Thu, 11 Nov 2021 06:08:59 GMT", + "x-ms-arm-service-request-id" : "e2bad407-9f29-49cb-a734-f7a3e9e4b2c4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "W/\"badce62c-027b-44e3-b01a-479f0c552d98\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T054955Z:ac9c5a25-5dda-4751-935c-0cbba6b7c398", + "ETag" : "W/\"9b7c2929-1c8d-414d-8a6c-e3cbc02c1d78\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060900Z:97debf2c-fb2b-40e9-9332-39df0f102854", "Expires" : "-1", - "x-ms-request-id" : "8f772ce8-9a31-4e74-a13d-b92b49059881", - "Body" : "{\r\n \"name\": \"vmssvnet35111e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e\",\r\n \"etag\": \"W/\\\"badce62c-027b-44e3-b01a-479f0c552d98\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"efb23d33-7de0-4bb3-9525-76cb79eb9381\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\",\r\n \"etag\": \"W/\\\"badce62c-027b-44e3-b01a-479f0c552d98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "60da8ef1-0352-4300-a0c2-5a097fb74f9b", + "x-ms-request-id" : "e0059a12-f1ed-4a5f-9c64-751719b3b170", + "Body" : "{\r\n \"name\": \"vmssvnet733677\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677\",\r\n \"etag\": \"W/\\\"9b7c2929-1c8d-414d-8a6c-e3cbc02c1d78\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ef27e83c-b31f-4ba0-80ac-9d4da628ae01\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\",\r\n \"etag\": \"W/\\\"9b7c2929-1c8d-414d-8a6c-e3cbc02c1d78\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "4bada6ca-38be-425a-90b0-7f5f1fc64b6a", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e?api-version=2021-04-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "db630f33-5504-4701-a61c-7ffe4db89801", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "0", - "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "Pragma" : "no-cache", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "5ed1c02b-a8ff-4e82-ba27-a622b5972410", - "Date" : "Thu, 11 Nov 2021 05:50:00 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055000Z:5ed1c02b-a8ff-4e82-ba27-a622b5972410", - "Expires" : "-1", - "x-ms-request-id" : "ac5ba991-cca2-4ca2-a4f9-260446ebeac3", - "Body" : "", - "x-ms-client-request-id" : "db630f33-5504-4701-a61c-7ffe4db89801", - "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ac5ba991-cca2-4ca2-a4f9-260446ebeac3?monitor=true&api-version=2021-04-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ac5ba991-cca2-4ca2-a4f9-260446ebeac3?monitor=true&api-version=2021-04-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7a601ad-9e83-4063-ab62-b58ffec8cb3b" - }, - "Response" : { - "content-length" : "1751", - "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "28a5b409-3fb5-4bf9-8008-fd516c914ce4", - "Date" : "Thu, 11 Nov 2021 05:50:18 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055018Z:28a5b409-3fb5-4bf9-8008-fd516c914ce4", - "Expires" : "-1", - "x-ms-request-id" : "4437d599-9f85-4199-bd1a-73eb095b783f", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e\",\"name\":\"stg6354893e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-11T05:49:57.6901830Z\",\"key2\":\"2021-11-11T05:49:57.6901830Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-11T05:49:57.6120430Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg6354893e.dfs.core.windows.net/\",\"web\":\"https://stg6354893e.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e.blob.core.windows.net/\",\"queue\":\"https://stg6354893e.queue.core.windows.net/\",\"table\":\"https://stg6354893e.table.core.windows.net/\",\"file\":\"https://stg6354893e.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg6354893e-secondary.dfs.core.windows.net/\",\"web\":\"https://stg6354893e-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e-secondary.blob.core.windows.net/\",\"queue\":\"https://stg6354893e-secondary.queue.core.windows.net/\",\"table\":\"https://stg6354893e-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "c7a601ad-9e83-4063-ab62-b58ffec8cb3b", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e?api-version=2021-04-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "58420d45-b958-4347-afa9-b57bb0494fb4", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "1751", - "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "47278113-d890-4688-887d-ebb6e05b13d5", - "Date" : "Thu, 11 Nov 2021 05:50:18 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055019Z:47278113-d890-4688-887d-ebb6e05b13d5", - "Expires" : "-1", - "x-ms-request-id" : "4e52bcdb-0d21-498d-ad5a-626488e00606", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Storage/storageAccounts/stg6354893e\",\"name\":\"stg6354893e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-11-11T05:49:57.6901830Z\",\"key2\":\"2021-11-11T05:49:57.6901830Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-11-11T05:49:57.6901830Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-11-11T05:49:57.6120430Z\",\"primaryEndpoints\":{\"dfs\":\"https://stg6354893e.dfs.core.windows.net/\",\"web\":\"https://stg6354893e.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e.blob.core.windows.net/\",\"queue\":\"https://stg6354893e.queue.core.windows.net/\",\"table\":\"https://stg6354893e.table.core.windows.net/\",\"file\":\"https://stg6354893e.file.core.windows.net/\"},\"primaryLocation\":\"westus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"eastus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://stg6354893e-secondary.dfs.core.windows.net/\",\"web\":\"https://stg6354893e-secondary.z22.web.core.windows.net/\",\"blob\":\"https://stg6354893e-secondary.blob.core.windows.net/\",\"queue\":\"https://stg6354893e-secondary.queue.core.windows.net/\",\"table\":\"https://stg6354893e-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "58420d45-b958-4347-afa9-b57bb0494fb4", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574?api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a2fdb16-d990-4477-8218-2d22f3c5abb5", + "x-ms-client-request-id" : "bdad7d3d-72ec-4ea0-b3fe-03ec1793aee1", "Content-Type" : "application/json" }, "Response" : { @@ -210,87 +126,59 @@ "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "x-ms-request-charge" : "4", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "eb954d65-412a-4556-9448-cc2c21e24304", - "Date" : "Thu, 11 Nov 2021 05:50:31 GMT", + "x-ms-correlation-request-id" : "4fdc7e98-96d8-43a6-baff-125dfebb9d05", + "Date" : "Thu, 11 Nov 2021 06:09:08 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;299,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1196,Microsoft.Compute/VmssQueuedVMOperations;0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055031Z:eb954d65-412a-4556-9448-cc2c21e24304", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;298,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1196,Microsoft.Compute/VmssQueuedVMOperations;0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060908Z:4fdc7e98-96d8-43a6-baff-125dfebb9d05", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", - "x-ms-request-id" : "4d8bd758-f2a1-47a0-be6d-1b6705827af2", - "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", - "x-ms-client-request-id" : "9a2fdb16-d990-4477-8218-2d22f3c5abb5", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b9d884b3-02b5-4219-ad8b-45b163a1d371?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "x-ms-request-id" : "b9d884b3-02b5-4219-ad8b-45b163a1d371", + "Body" : "{\r\n \"name\": \"vmss78574\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss78574-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBKkdS9k7JYD9BmQmGhDDJdm7Cz0AmRud5oi5y7fLK7GuKaP6AUwMAZB932uddQGUcjl+VYlO8UA+539LzB0j8KKWWAtOcxjUHnc5ds9n6FsSKdm4sGhCJxtMILEGhIGTyrzB0q+sP5XmK8a76+GmY67oUFFwqS/kLUqraIWhwaQ==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"c819fae1-a765-4743-92be-2e6cdfc1a6cb\"\r\n }\r\n}", + "x-ms-client-request-id" : "bdad7d3d-72ec-4ea0-b3fe-03ec1793aee1", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b9d884b3-02b5-4219-ad8b-45b163a1d371?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "a6a2ece4-5354-4ae3-8d40-9fea10c7b5a6" + "x-ms-client-request-id" : "e5b6d09f-fa70-40f5-9066-1fae284096d4" }, "Response" : { "content-length" : "134", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "02d7c84a-5b31-4cef-af9f-4623d58d1966", - "Date" : "Thu, 11 Nov 2021 05:50:41 GMT", + "x-ms-correlation-request-id" : "98edda00-c48e-4631-801a-15e335114add", + "Date" : "Thu, 11 Nov 2021 06:09:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055042Z:02d7c84a-5b31-4cef-af9f-4623d58d1966", - "Expires" : "-1", - "x-ms-request-id" : "960960b3-e54e-4ca2-82a4-f0986086e3ab", - "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", - "x-ms-client-request-id" : "a6a2ece4-5354-4ae3-8d40-9fea10c7b5a6", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ecf9011-a4d6-45c5-bd7a-f67e057cfd80" - }, - "Response" : { - "content-length" : "134", - "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "21837c25-7ef1-45d5-a831-1de2cace9b2a", - "Date" : "Thu, 11 Nov 2021 05:51:43 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055143Z:21837c25-7ef1-45d5-a831-1de2cace9b2a", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29989", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060918Z:98edda00-c48e-4631-801a-15e335114add", "Expires" : "-1", - "x-ms-request-id" : "a69a5c64-090c-4f63-bdd3-785fbbe64c1e", - "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", - "x-ms-client-request-id" : "9ecf9011-a4d6-45c5-bd7a-f67e057cfd80", + "x-ms-request-id" : "2bbbb479-a680-49cb-b4f9-ee34a62b3279", + "Body" : "{\r\n \"startTime\": \"2021-11-11T06:09:06.0175033+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"b9d884b3-02b5-4219-ad8b-45b163a1d371\"\r\n}", + "x-ms-client-request-id" : "e5b6d09f-fa70-40f5-9066-1fae284096d4", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b9d884b3-02b5-4219-ad8b-45b163a1d371?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "841759dc-cf43-4a68-a2e6-057e113b2dad" + "x-ms-client-request-id" : "84abe8ab-04ae-468e-bf59-58bf8ff21c5b" }, "Response" : { "content-length" : "134", @@ -298,27 +186,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "fc0660f5-0ef2-4bc1-b67d-7641193dddf5", - "Date" : "Thu, 11 Nov 2021 05:52:13 GMT", + "x-ms-correlation-request-id" : "55a877c7-4b85-4538-a49c-c88132889f4d", + "Date" : "Thu, 11 Nov 2021 06:10:19 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055213Z:fc0660f5-0ef2-4bc1-b67d-7641193dddf5", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29988", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T061019Z:55a877c7-4b85-4538-a49c-c88132889f4d", "Expires" : "-1", - "x-ms-request-id" : "aae8c43f-3399-440e-96a5-16e4437f15cc", - "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", - "x-ms-client-request-id" : "841759dc-cf43-4a68-a2e6-057e113b2dad", + "x-ms-request-id" : "71ad4bee-6786-4765-ab6f-b2d9702fd585", + "Body" : "{\r\n \"startTime\": \"2021-11-11T06:09:06.0175033+00:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"b9d884b3-02b5-4219-ad8b-45b163a1d371\"\r\n}", + "x-ms-client-request-id" : "84abe8ab-04ae-468e-bf59-58bf8ff21c5b", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d8bd758-f2a1-47a0-be6d-1b6705827af2?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b9d884b3-02b5-4219-ad8b-45b163a1d371?p=ce71cbb8-84e0-440e-b69e-9e5ddfe1c24c&api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f318b6a-9219-474a-8083-11bf907f42f5" + "x-ms-client-request-id" : "f79263c2-c944-4eeb-b4dd-2d67babc35e5" }, "Response" : { "content-length" : "184", @@ -326,27 +214,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ffe9c65c-6245-4ce7-b638-d5bb39fe4507", - "Date" : "Thu, 11 Nov 2021 05:52:43 GMT", + "x-ms-correlation-request-id" : "e1a2fb18-3673-48fd-8ce1-73d24bdfa953", + "Date" : "Thu, 11 Nov 2021 06:10:49 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29995", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:ffe9c65c-6245-4ce7-b638-d5bb39fe4507", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29986", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T061050Z:e1a2fb18-3673-48fd-8ce1-73d24bdfa953", "Expires" : "-1", - "x-ms-request-id" : "708ae808-ea9a-428d-96ea-36b68569d96e", - "Body" : "{\r\n \"startTime\": \"2021-11-11T05:50:29.5713991+00:00\",\r\n \"endTime\": \"2021-11-11T05:52:30.1221077+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"4d8bd758-f2a1-47a0-be6d-1b6705827af2\"\r\n}", - "x-ms-client-request-id" : "2f318b6a-9219-474a-8083-11bf907f42f5", + "x-ms-request-id" : "5f00a6c9-c7c8-408c-95d7-a26f0171a43a", + "Body" : "{\r\n \"startTime\": \"2021-11-11T06:09:06.0175033+00:00\",\r\n \"endTime\": \"2021-11-11T06:10:46.4426262+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"b9d884b3-02b5-4219-ad8b-45b163a1d371\"\r\n}", + "x-ms-client-request-id" : "f79263c2-c944-4eeb-b4dd-2d67babc35e5", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574?api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "47c0e1f6-6932-461a-bbbc-c06190f07b8d" + "x-ms-client-request-id" : "a0c0967e-329c-4e8f-8bc1-300f81200ef6" }, "Response" : { "content-length" : "2961", @@ -354,27 +242,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "49c56f56-4168-446b-8dd5-bfb0e23b3b53", - "Date" : "Thu, 11 Nov 2021 05:52:43 GMT", + "x-ms-correlation-request-id" : "bdc46ad2-8d6b-4466-ac1e-1a95f9982859", + "Date" : "Thu, 11 Nov 2021 06:10:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;198,Microsoft.Compute/GetVMScaleSet30Min;1298", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:49c56f56-4168-446b-8dd5-bfb0e23b3b53", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;198,Microsoft.Compute/GetVMScaleSet30Min;1290", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T061050Z:bdc46ad2-8d6b-4466-ac1e-1a95f9982859", "Expires" : "-1", - "x-ms-request-id" : "3e9c0dbb-c272-4edf-9a93-14ec36842e98", - "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", - "x-ms-client-request-id" : "47c0e1f6-6932-461a-bbbc-c06190f07b8d", + "x-ms-request-id" : "8df75fb7-8c68-4666-b337-0249ef939a21", + "Body" : "{\r\n \"name\": \"vmss78574\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss78574-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBKkdS9k7JYD9BmQmGhDDJdm7Cz0AmRud5oi5y7fLK7GuKaP6AUwMAZB932uddQGUcjl+VYlO8UA+539LzB0j8KKWWAtOcxjUHnc5ds9n6FsSKdm4sGhCJxtMILEGhIGTyrzB0q+sP5XmK8a76+GmY67oUFFwqS/kLUqraIWhwaQ==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"c819fae1-a765-4743-92be-2e6cdfc1a6cb\"\r\n }\r\n}", + "x-ms-client-request-id" : "a0c0967e-329c-4e8f-8bc1-300f81200ef6", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632?api-version=2021-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574?api-version=2021-07-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.compute/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "37b4a734-b49f-4dfa-9610-c60e1ce5ede3", + "x-ms-client-request-id" : "616e06aa-1d68-446f-a16a-a3a5bc29fec8", "Content-Type" : "application/json" }, "Response" : { @@ -383,27 +271,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "faad80b6-d53f-4177-9654-a38726c2d700", - "Date" : "Thu, 11 Nov 2021 05:52:44 GMT", + "x-ms-correlation-request-id" : "81e5bf5d-dd7c-4829-9219-42ca3f086516", + "Date" : "Thu, 11 Nov 2021 06:10:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;197,Microsoft.Compute/GetVMScaleSet30Min;1297", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055244Z:faad80b6-d53f-4177-9654-a38726c2d700", + "x-ms-ratelimit-remaining-resource" : "Microsoft.Compute/GetVMScaleSet3Min;197,Microsoft.Compute/GetVMScaleSet30Min;1289", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T061050Z:81e5bf5d-dd7c-4829-9219-42ca3f086516", "Expires" : "-1", - "x-ms-request-id" : "37e9deaf-16c6-4a0a-b2f6-37335d8d6bca", - "Body" : "{\r\n \"name\": \"vmss80632\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Compute/virtualMachineScaleSets/vmss80632\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss80632-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCdUpJtWuk9ik+sNK5abWBudWLe7GAURbJ5EHaQxCzdFfPuTLRov8xCxI3qL0L2/r1Y1BnqrJ7nOnoiiGoNK1Fe4XepA1IYNRYCGNx3fa+hvgI//0y6+QDj0o9drbACdorQFU+AV2hhVbVEdH9XMCuP989+A1LFgBCg12I1ueBzVw==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg37543/providers/Microsoft.Network/virtualNetworks/vmssvnet35111e/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"6c1f93cd-f511-4bc1-8b45-1e13922f063d\"\r\n }\r\n}", - "x-ms-client-request-id" : "37b4a734-b49f-4dfa-9610-c60e1ce5ede3", + "x-ms-request-id" : "2e6b10f2-c508-4747-b602-aeb43053f0d8", + "Body" : "{\r\n \"name\": \"vmss78574\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Compute/virtualMachineScaleSets/vmss78574\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azsecpack\": \"nonprod\",\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\": \"true\"\r\n },\r\n \"plan\": {\r\n \"name\": \"access_server_byol\",\r\n \"publisher\": \"openvpn\",\r\n \"product\": \"openvpnas\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_A0\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Automatic\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss78574-vm\",\r\n \"adminUsername\": \"jvuser\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/jvuser/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDBKkdS9k7JYD9BmQmGhDDJdm7Cz0AmRud5oi5y7fLK7GuKaP6AUwMAZB932uddQGUcjl+VYlO8UA+539LzB0j8KKWWAtOcxjUHnc5ds9n6FsSKdm4sGhCJxtMILEGhIGTyrzB0q+sP5XmK8a76+GmY67oUFFwqS/kLUqraIWhwaQ==\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"openvpn\",\r\n \"offer\": \"openvpnas\",\r\n \"sku\": \"access_server_byol\",\r\n \"version\": \"latest\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": 1\r\n }\r\n ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"primary-nic-cfg\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"primary-nic-ip-cfg\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": \"c819fae1-a765-4743-92be-2e6cdfc1a6cb\"\r\n }\r\n}", + "x-ms-client-request-id" : "616e06aa-1d68-446f-a16a-a3a5bc29fec8", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg37543?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg04448?api-version=2021-01-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", - "x-ms-client-request-id" : "b01aef59-3890-4dc7-b9ec-173b19e4f1c2", + "x-ms-client-request-id" : "4a110f0e-13ba-4b98-97d3-2b5fff0baa4f", "Content-Type" : "application/json" }, "Response" : { @@ -412,17 +300,17 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "e26503e5-1be6-4beb-be24-c7c93e11beac", - "Date" : "Thu, 11 Nov 2021 05:52:48 GMT", + "x-ms-correlation-request-id" : "d5e98902-3f04-4cee-8527-4cb0d5ac0bdb", + "Date" : "Thu, 11 Nov 2021 06:10:53 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T055248Z:e26503e5-1be6-4beb-be24-c7c93e11beac", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T061053Z:d5e98902-3f04-4cee-8527-4cb0d5ac0bdb", "Expires" : "-1", - "x-ms-request-id" : "e26503e5-1be6-4beb-be24-c7c93e11beac", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczNzU0My1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" + "x-ms-request-id" : "d5e98902-3f04-4cee-8527-4cb0d5ac0bdb", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNDQ0OC1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg37543", "vmss80632", "vmssvnet35111e", "stg6354893e" ] + "variables" : [ "javacsmrg04448", "vmss78574", "vmssvnet733677" ] } \ No newline at end of file From 783725041244a21601211d4fec2505339d2c5567 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Thu, 11 Nov 2021 14:17:24 +0800 Subject: [PATCH 7/8] update javadoc --- .../resourcemanager/compute/models/VirtualMachineScaleSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java index bac1209bb7cf..3d10bc35a248 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/VirtualMachineScaleSet.java @@ -383,7 +383,7 @@ PagedFlux listNetworkInterfacesByInstanc AdditionalCapabilities additionalCapabilities(); /** - * @return the plan value + * @return the purchase plan information about marketplace image */ Plan plan(); From 6877eadf6aa66e39a63d92e952620b6970b443f4 Mon Sep 17 00:00:00 2001 From: Haoling Dong Date: Mon, 15 Nov 2021 10:50:51 +0800 Subject: [PATCH 8/8] Update session-records due to network upgrade --- ...eScaleSetOperationsTests.canCreateVMSSWithPlan.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json index bf0281c08a00..3ea0868a8be1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVMSSWithPlan.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-05-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.10.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "cea73107-18d6-43ea-a6fd-0d640aa57da5", @@ -49,7 +49,7 @@ "Retry-After" : "0", "x-ms-routing-request-id" : "SOUTHEASTASIA:20211111T060856Z:44561466-79a6-44e3-a516-30b531a46d68", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-03-01", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-05-01", "x-ms-request-id" : "303037dc-739c-4e55-86c7-78546c590e60", "Body" : "{\r\n \"name\": \"vmssvnet733677\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677\",\r\n \"etag\": \"W/\\\"77e29d48-0c45-4c66-a2b4-85b84755af74\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"ef27e83c-b31f-4ba0-80ac-9d4da628ae01\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677/subnets/subnet1\",\r\n \"etag\": \"W/\\\"77e29d48-0c45-4c66-a2b4-85b84755af74\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", "x-ms-client-request-id" : "cea73107-18d6-43ea-a6fd-0d640aa57da5", @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/303037dc-739c-4e55-86c7-78546c590e60?api-version=2021-05-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "b6a0e481-6049-490c-8b79-b30520d09675" @@ -86,7 +86,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-03-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg04448/providers/Microsoft.Network/virtualNetworks/vmssvnet733677?api-version=2021-05-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "4bada6ca-38be-425a-90b0-7f5f1fc64b6a" @@ -313,4 +313,4 @@ "Exception" : null } ], "variables" : [ "javacsmrg04448", "vmss78574", "vmssvnet733677" ] -} \ No newline at end of file +}