diff --git a/sdk/compute/arm-compute/CHANGELOG.md b/sdk/compute/arm-compute/CHANGELOG.md index f686e7d1c9b7..e0c4815cb045 100644 --- a/sdk/compute/arm-compute/CHANGELOG.md +++ b/sdk/compute/arm-compute/CHANGELOG.md @@ -1,15 +1,101 @@ # Release History + +## 19.1.0 (2022-06-27) + +**Features** -## 19.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Interface AvailabilitySet + - Added Interface AvailabilitySetUpdate + - Added Interface CapacityReservation + - Added Interface CapacityReservationGroup + - Added Interface CapacityReservationGroupUpdate + - Added Interface CapacityReservationInstanceViewWithName + - Added Interface CapacityReservationUpdate + - Added Interface CommunityGallery + - Added Interface CommunityGalleryImage + - Added Interface CommunityGalleryImageVersion + - Added Interface DataDiskImageEncryption + - Added Interface DedicatedHost + - Added Interface DedicatedHostGroup + - Added Interface DedicatedHostGroupUpdate + - Added Interface DedicatedHostInstanceViewWithName + - Added Interface DedicatedHostUpdate + - Added Interface Disk + - Added Interface DiskAccess + - Added Interface DiskEncryptionSet + - Added Interface DiskEncryptionSetParameters + - Added Interface DiskRestorePoint + - Added Interface Gallery + - Added Interface GalleryApplication + - Added Interface GalleryApplicationUpdate + - Added Interface GalleryApplicationVersion + - Added Interface GalleryApplicationVersionPublishingProfile + - Added Interface GalleryApplicationVersionUpdate + - Added Interface GalleryDataDiskImage + - Added Interface GalleryImage + - Added Interface GalleryImageUpdate + - Added Interface GalleryImageVersion + - Added Interface GalleryImageVersionPublishingProfile + - Added Interface GalleryImageVersionUpdate + - Added Interface GalleryOSDiskImage + - Added Interface GalleryUpdate + - Added Interface Image_2 + - Added Interface ImageDataDisk + - Added Interface ImageOSDisk + - Added Interface ImageReference + - Added Interface ImageUpdate + - Added Interface ManagedDiskParameters + - Added Interface NetworkInterfaceReference + - Added Interface OSDiskImageEncryption + - Added Interface PirSharedGalleryResource + - Added Interface ProximityPlacementGroup + - Added Interface ProximityPlacementGroupUpdate + - Added Interface RequestRateByIntervalInput + - Added Interface RestorePoint + - Added Interface RestorePointCollection + - Added Interface RestorePointCollectionUpdate + - Added Interface RollingUpgradeStatusInfo + - Added Interface RunCommandDocument + - Added Interface SharedGallery + - Added Interface SharedGalleryDataDiskImage + - Added Interface SharedGalleryImage + - Added Interface SharedGalleryImageVersion + - Added Interface SharedGalleryOSDiskImage + - Added Interface Snapshot + - Added Interface SshPublicKeyResource + - Added Interface SshPublicKeyUpdateResource + - Added Interface SubResourceWithColocationStatus + - Added Interface SystemData + - Added Interface ThrottledRequestsInput + - Added Interface VirtualMachine + - Added Interface VirtualMachineCaptureResult + - Added Interface VirtualMachineExtension + - Added Interface VirtualMachineExtensionImage + - Added Interface VirtualMachineExtensionUpdate + - Added Interface VirtualMachineImage + - Added Interface VirtualMachineImageResource + - Added Interface VirtualMachineRunCommand + - Added Interface VirtualMachineRunCommandUpdate + - Added Interface VirtualMachineScaleSet + - Added Interface VirtualMachineScaleSetExtension + - Added Interface VirtualMachineScaleSetExtensionUpdate + - Added Interface VirtualMachineScaleSetIPConfiguration + - Added Interface VirtualMachineScaleSetNetworkConfiguration + - Added Interface VirtualMachineScaleSetReimageParameters + - Added Interface VirtualMachineScaleSetUpdate + - Added Interface VirtualMachineScaleSetUpdateIPConfiguration + - Added Interface VirtualMachineScaleSetUpdateNetworkConfiguration + - Added Interface VirtualMachineScaleSetVM + - Added Interface VirtualMachineScaleSetVMExtension + - Added Interface VirtualMachineScaleSetVMExtensionUpdate + - Added Interface VirtualMachineScaleSetVMReimageParameters + - Added Interface VirtualMachineUpdate + - Added Type Alias CloudServiceSlotType + - Interface CloudService has a new optional parameter systemData + - Interface CloudServiceNetworkProfile has a new optional parameter slotType + - Added Enum KnownCloudServiceSlotType + + ## 19.0.0 (2022-06-06) **Features** diff --git a/sdk/compute/arm-compute/_meta.json b/sdk/compute/arm-compute/_meta.json index 9e18a7eef044..e0d49b3045bd 100644 --- a/sdk/compute/arm-compute/_meta.json +++ b/sdk/compute/arm-compute/_meta.json @@ -1,8 +1,8 @@ { - "commit": "7168ecde052e9797d31d74c40ad00ac68c74ec6a", + "commit": "fda2db441da3f1fab31bb235e97da3e33c8e3903", "readme": "specification/compute/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", - "use": "@autorest/typescript@6.0.0-beta.20" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.2", + "use": "@autorest/typescript@6.0.0-rc.1" } \ No newline at end of file diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 1f5a1ed32478..7c42e3ff1b33 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ComputeManagementClient.", - "version": "19.0.1", + "version": "19.1.0", "engines": { "node": ">=12.0.0" }, @@ -99,8 +99,7 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped", - "docs": "echo skipped" + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_create_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_create_test.json index a47ba9fb7759..ec9df2c2cbcf 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_create_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_create_test.json @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "96", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "c400f2d5-ec3e-4cd8-9cd7-98f6e5599569" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "20be791f-94d4-43be-a946-625f3ddd6484" }, "RequestBody": { "location": "eastus", @@ -25,7 +25,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:24 GMT", + "Date": "Mon, 27 Jun 2022 07:39:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -36,11 +36,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fa8d6375-ea73-4007-b197-f58440061b60", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1184", + "x-ms-correlation-request-id": "2eca1250-27de-4757-9520-dd1c29d54123", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1190", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "ad644e83-1510-444b-9678-43ef8f9e7106", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122725Z:fa8d6375-ea73-4007-b197-f58440061b60" + "x-ms-request-id": "59b1678f-3d09-4e28-a1c1-f15edb152b7a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073947Z:2eca1250-27de-4757-9520-dd1c29d54123" }, "ResponseBody": { "name": "availabilitySets123", diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_delete_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_delete_test.json index 811dc23a725a..7d822ee58ad4 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_delete_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_delete_test.json @@ -8,15 +8,15 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "1da39ad2-ab13-42bc-993a-894d1585195a" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "f301a53c-d889-4921-947c-e17420661840" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 07 Jun 2022 12:27:38 GMT", + "Date": "Mon, 27 Jun 2022 07:39:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -25,11 +25,11 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8057aff9-d6ec-4808-97df-5e7e35531b96", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1193", + "x-ms-correlation-request-id": "b6145018-b685-4dcf-9f9c-e6b855e2b1f8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1195", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "2af6508c-0467-4e8a-9f7c-02dab9b11411", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122739Z:8057aff9-d6ec-4808-97df-5e7e35531b96" + "x-ms-request-id": "cb49e750-f61f-44db-899e-6612c5016ecf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073959Z:b6145018-b685-4dcf-9f9c-e6b855e2b1f8" }, "ResponseBody": null }, @@ -41,8 +41,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "38844c9e-53c5-499c-9024-c22b845d249c" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "f8c5d2ad-670f-4497-a627-744f47ffc119" }, "RequestBody": null, "StatusCode": 200, @@ -51,16 +51,16 @@ "Content-Encoding": "gzip", "Content-Length": "12", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:38 GMT", + "Date": "Mon, 27 Jun 2022 07:39:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9fa7bc33-1825-4045-838b-194cc10c4926", + "x-ms-correlation-request-id": "4e974d84-6a55-4da1-bdfb-6a788dff4736", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "9fa7bc33-1825-4045-838b-194cc10c4926", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122739Z:9fa7bc33-1825-4045-838b-194cc10c4926" + "x-ms-request-id": "4e974d84-6a55-4da1-bdfb-6a788dff4736", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073959Z:4e974d84-6a55-4da1-bdfb-6a788dff4736" }, "ResponseBody": { "value": [] diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_get_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_get_test.json index 5636e8249de7..d5d19fb282a8 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_get_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_get_test.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "1035c1f4-4442-47c5-8c4d-3d379f9af0bd" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "fe7ae5d5-1df0-4298-ac2c-01ac5645437f" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:28 GMT", + "Date": "Mon, 27 Jun 2022 07:39:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -28,11 +28,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "73de08cf-63e0-493e-a10d-869f46c46728", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31974", + "x-ms-correlation-request-id": "9ee7289d-eedc-47a2-9316-d1abdce623f3", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31991", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "5b094cba-2997-4705-84ba-25130c359981", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122729Z:73de08cf-63e0-493e-a10d-869f46c46728" + "x-ms-request-id": "9b02292a-2d5a-4978-816b-1132bd69e50f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073950Z:9ee7289d-eedc-47a2-9316-d1abdce623f3" }, "ResponseBody": { "name": "availabilitySets123", diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_list_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_list_test.json index 26f17acaa4c6..31a559c82ba9 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_list_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_list_test.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "44f59369-7d05-4a75-9d03-5dd27ca8d634" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "86642f7f-8112-418a-93c2-2d57ca8e9fc5" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:30 GMT", + "Date": "Mon, 27 Jun 2022 07:39:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -28,11 +28,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3f7d4a4c-fbf5-494b-a112-bd56ea605382", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31973", + "x-ms-correlation-request-id": "f1ef30fa-f9bc-4bf8-b610-bb85d351d7e7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31990", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "6a5e17e0-8059-45ba-be8e-b408be9b6ef6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122731Z:3f7d4a4c-fbf5-494b-a112-bd56ea605382" + "x-ms-request-id": "2d6c7a17-3ef9-45b2-a180-dfaeefcdcb97", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073951Z:f1ef30fa-f9bc-4bf8-b610-bb85d351d7e7" }, "ResponseBody": { "value": [ diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_update_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_update_test.json index 5bcacf186951..9f7d2eb076c7 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_update_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_availabilitysets_update_test.json @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "76", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "d313470d-24c3-465a-bcf5-61599a363d04" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "5f9dff4b-6b48-40bf-b4c1-050b80b816c5" }, "RequestBody": { "properties": { @@ -24,7 +24,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:27 GMT", + "Date": "Mon, 27 Jun 2022 07:39:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -35,11 +35,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9a5a43cd-d5f2-4efe-a235-523bc152df5d", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1183", + "x-ms-correlation-request-id": "75e04dc1-3aaf-40a2-9a6a-86607bbcf838", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1189", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "6c403f94-95d3-41e9-818d-2e303dc6ff8b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122727Z:9a5a43cd-d5f2-4efe-a235-523bc152df5d" + "x-ms-request-id": "fbf65590-e989-452e-bd64-84bee2bb700e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T073949Z:75e04dc1-3aaf-40a2-9a6a-86607bbcf838" }, "ResponseBody": { "name": "availabilitySets123", diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_create_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_create_test.json index d7610c200d66..639e97861ebf 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_create_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_create_test.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx?api-version=2021-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "87", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "09718d62-0a63-4d28-ad37-ce00c0aaa163" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "e6aac8ad-705e-4c50-b78e-334d6027f49c" }, "RequestBody": { "location": "eastus", @@ -26,11 +26,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/cf5eae6c-4159-4070-8cce-9804ad09a060?api-version=2021-05-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/0f665ed1-337e-4b82-8bcb-47085ca8dba1?api-version=2021-05-01", "Cache-Control": "no-cache", - "Content-Length": "595", + "Content-Length": "597", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:45 GMT", + "Date": "Mon, 27 Jun 2022 07:40:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -40,21 +40,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a7a68462-7c4b-4711-bac9-689ccb809587", - "x-ms-correlation-request-id": "75a4bcd9-4911-4ed7-b844-5a80e39e1daf", + "x-ms-arm-service-request-id": "833541c0-2896-4c07-87f4-6a6bdd2cf85e", + "x-ms-correlation-request-id": "d0e8aebe-d26f-4153-9dd8-bd9ab71b0a38", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "cf5eae6c-4159-4070-8cce-9804ad09a060", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122745Z:75a4bcd9-4911-4ed7-b844-5a80e39e1daf" + "x-ms-request-id": "0f665ed1-337e-4b82-8bcb-47085ca8dba1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074006Z:d0e8aebe-d26f-4153-9dd8-bd9ab71b0a38" }, "ResponseBody": { - "name": "networknamex", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex", - "etag": "W/\u002203e56e74-dfe9-41a8-aff3-20e2e78c1799\u0022", + "name": "networknamexx", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx", + "etag": "W/\u0022bb3cdaf0-5bc5-4f8c-a46b-c2569995305b\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "d6fa55da-33d5-4799-937a-b3617cca1c65", + "resourceGuid": "1f3ac60b-3977-44b4-9558-39e90e426e78", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -67,7 +67,7 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/cf5eae6c-4159-4070-8cce-9804ad09a060?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/0f665ed1-337e-4b82-8bcb-47085ca8dba1?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -75,8 +75,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "fcbc4fcf-e76f-43ac-adb8-e2def535d723" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "f45e5f6c-476b-45a3-ae67-1af75d47ec10" }, "RequestBody": null, "StatusCode": 200, @@ -84,10 +84,9 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:45 GMT", + "Date": "Mon, 27 Jun 2022 07:40:06 GMT", "Expires": "-1", "Pragma": "no-cache", - "Retry-After": "10", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -96,111 +95,112 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b2bde62e-cc81-43ba-8bea-15f28d38615a", - "x-ms-correlation-request-id": "6ae5e6fe-9f92-4965-91d8-c50a04719328", + "x-ms-arm-service-request-id": "4e393511-53f2-4b08-a977-e1cc65c58b28", + "x-ms-correlation-request-id": "efcfdd30-1470-4829-84a9-c99da67da27d", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "b254faa6-ce89-43e3-8938-a9370802aea6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122745Z:6ae5e6fe-9f92-4965-91d8-c50a04719328" + "x-ms-request-id": "0a0923e9-e626-4dc5-b87e-bb864cb0794a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074006Z:efcfdd30-1470-4829-84a9-c99da67da27d" }, "ResponseBody": { - "status": "InProgress" + "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/cf5eae6c-4159-4070-8cce-9804ad09a060?api-version=2021-05-01", - "RequestMethod": "GET", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx/subnets/subnetnamexx?api-version=2021-05-01", + "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", + "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "42f09684-7553-49a5-b4ed-b1e3c3dfc512" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "e6f6b45a-6418-4439-81d7-c08d3aa960ec" }, - "RequestBody": null, - "StatusCode": 200, + "RequestBody": { + "properties": { + "addressPrefix": "10.0.0.0/24" + } + }, + "StatusCode": 201, "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/6d60a250-2a51-4310-bb61-6c9a56f38973?api-version=2021-05-01", "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "521", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:27:56 GMT", + "Date": "Mon, 27 Jun 2022 07:40:09 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "3", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f274bd8c-8187-4912-9682-65d67c6c90dc", - "x-ms-correlation-request-id": "4148ae53-ae05-4e4a-a08d-380d3bfe7138", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "70bed9e1-365c-4e39-be36-c7c47083e401", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122756Z:4148ae53-ae05-4e4a-a08d-380d3bfe7138" + "x-ms-arm-service-request-id": "91aa7c1c-3eef-4883-8e04-83ffe0619d24", + "x-ms-correlation-request-id": "cfd47da5-a48f-45bc-92d7-e3fc6dc198c7", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "6d60a250-2a51-4310-bb61-6c9a56f38973", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074009Z:cfd47da5-a48f-45bc-92d7-e3fc6dc198c7" }, "ResponseBody": { - "status": "Succeeded" + "name": "subnetnamexx", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx/subnets/subnetnamexx", + "etag": "W/\u0022cd23c592-ea5e-4941-a4fb-429fd87a5692\u0022", + "properties": { + "provisioningState": "Updating", + "addressPrefix": "10.0.0.0/24", + "delegations": [], + "privateEndpointNetworkPolicies": "Enabled", + "privateLinkServiceNetworkPolicies": "Enabled" + }, + "type": "Microsoft.Network/virtualNetworks/subnets" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex/subnets/subnetnamex?api-version=2021-05-01", - "RequestMethod": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/6d60a250-2a51-4310-bb61-6c9a56f38973?api-version=2021-05-01", + "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "466a5557-39dc-4472-956d-f4441bbf6477" - }, - "RequestBody": { - "properties": { - "addressPrefix": "10.0.0.0/24" - } + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "d27c8f69-74b3-4d4c-a0a5-c5161aa13a58" }, - "StatusCode": 201, + "RequestBody": null, + "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/187ec7b0-7401-4d5f-ac7e-6689fc4dd96e?api-version=2021-05-01", "Cache-Control": "no-cache", - "Content-Length": "518", + "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:07 GMT", + "Date": "Mon, 27 Jun 2022 07:40:09 GMT", "Expires": "-1", "Pragma": "no-cache", - "Retry-After": "3", + "Retry-After": "10", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a4e09c3c-e0f2-4a39-bb5c-890d4d0e991c", - "x-ms-correlation-request-id": "99f098ab-c4af-4e25-b760-680fb50c222f", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "187ec7b0-7401-4d5f-ac7e-6689fc4dd96e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122807Z:99f098ab-c4af-4e25-b760-680fb50c222f" + "x-ms-arm-service-request-id": "9ff75106-2aae-421e-be71-77bbe9ebe372", + "x-ms-correlation-request-id": "64e93ee7-74bd-409e-b4ab-ad9c6d11042b", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "6f02e1d3-1c69-4aa4-97b1-7c237b0d9680", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074010Z:64e93ee7-74bd-409e-b4ab-ad9c6d11042b" }, "ResponseBody": { - "name": "subnetnamex", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex/subnets/subnetnamex", - "etag": "W/\u002265870852-78db-4f0f-bb3b-c69abc7106ec\u0022", - "properties": { - "provisioningState": "Updating", - "addressPrefix": "10.0.0.0/24", - "delegations": [], - "privateEndpointNetworkPolicies": "Enabled", - "privateLinkServiceNetworkPolicies": "Enabled" - }, - "type": "Microsoft.Network/virtualNetworks/subnets" + "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/187ec7b0-7401-4d5f-ac7e-6689fc4dd96e?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/6d60a250-2a51-4310-bb61-6c9a56f38973?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -208,8 +208,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "8db4e152-665d-47b6-9153-243f5bbb1a5c" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "4c6d27a0-1075-4a1a-a46c-0a5e15caf351" }, "RequestBody": null, "StatusCode": 200, @@ -217,7 +217,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:07 GMT", + "Date": "Mon, 27 Jun 2022 07:40:19 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -228,11 +228,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9873a62e-c686-4858-9568-8caa0aa049fa", - "x-ms-correlation-request-id": "01fe88d4-2bae-4717-a33c-b443541e42f7", + "x-ms-arm-service-request-id": "80fd620b-fd67-4fec-86ae-ac4a4879205d", + "x-ms-correlation-request-id": "b92608da-9e91-44e7-8cbe-9711077e5c0c", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "2afecbc9-5bd4-4511-a0d0-d1aa2fdfb26e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122807Z:01fe88d4-2bae-4717-a33c-b443541e42f7" + "x-ms-request-id": "14c73c20-8ada-4f31-9332-753679107a0c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074020Z:b92608da-9e91-44e7-8cbe-9711077e5c0c" }, "ResponseBody": { "status": "Succeeded" @@ -246,10 +246,10 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "266", + "Content-Length": "268", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "bf18be04-27ba-4576-8eed-db1ae4630a80" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "7231c70d-183e-477f-813c-552a0b5570aa" }, "RequestBody": { "location": "eastus", @@ -259,7 +259,7 @@ "name": "MyIpConfig", "properties": { "subnet": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex/subnets/subnetnamex", + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx/subnets/subnetnamexx", "properties": {} } } @@ -270,11 +270,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/51ae7950-b23e-45ec-bff9-11b8409e32e1?api-version=2021-05-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/a6233437-5b82-44e5-be00-6d48aaa3ac64?api-version=2021-05-01", "Cache-Control": "no-cache", - "Content-Length": "1620", + "Content-Length": "1622", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:13 GMT", + "Date": "Mon, 27 Jun 2022 07:40:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -283,32 +283,32 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4deac863-3ae4-4778-af8a-e9bf813dcc4a", - "x-ms-correlation-request-id": "642f580e-aa27-41d5-935b-5dc538b52a81", + "x-ms-arm-service-request-id": "1a35854b-8545-4c23-8aa6-4e83b7d123e4", + "x-ms-correlation-request-id": "6288b233-76c7-4a96-9fd7-02b30da5a92a", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "51ae7950-b23e-45ec-bff9-11b8409e32e1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122814Z:642f580e-aa27-41d5-935b-5dc538b52a81" + "x-ms-request-id": "a6233437-5b82-44e5-be00-6d48aaa3ac64", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074033Z:6288b233-76c7-4a96-9fd7-02b30da5a92a" }, "ResponseBody": { "name": "interfacex", "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/networkInterfaces/interfacex", - "etag": "W/\u0022990a01b8-53ab-41a0-81b3-28b7be7db067\u0022", + "etag": "W/\u0022f5d5350c-a231-412b-94ff-655c71583358\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "8b1bc954-4098-46ed-ac09-a3696e1a914f", + "resourceGuid": "5e85151b-883d-4f19-9a7d-b952544e9d83", "ipConfigurations": [ { "name": "MyIpConfig", "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/networkInterfaces/interfacex/ipConfigurations/MyIpConfig", - "etag": "W/\u0022990a01b8-53ab-41a0-81b3-28b7be7db067\u0022", + "etag": "W/\u0022f5d5350c-a231-412b-94ff-655c71583358\u0022", "type": "Microsoft.Network/networkInterfaces/ipConfigurations", "properties": { "provisioningState": "Succeeded", "privateIPAddress": "10.0.0.4", "privateIPAllocationMethod": "Dynamic", "subnet": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex/subnets/subnetnamex" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx/subnets/subnetnamexx" }, "primary": true, "privateIPAddressVersion": "IPv4" @@ -318,7 +318,7 @@ "dnsSettings": { "dnsServers": [], "appliedDnsServers": [], - "internalDomainNameSuffix": "1jk5vvwvgomupe10wnqxzsq2mf.bx.internal.cloudapp.net" + "internalDomainNameSuffix": "bpdduh1xhg0ejfkyhhuq2qtopa.bx.internal.cloudapp.net" }, "enableAcceleratedNetworking": false, "vnetEncryptionSupported": false, @@ -331,7 +331,7 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/51ae7950-b23e-45ec-bff9-11b8409e32e1?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/a6233437-5b82-44e5-be00-6d48aaa3ac64?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -339,8 +339,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "f8a15d9c-4378-4d20-806c-062fc045e998" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "c4c808d7-1a85-4d06-ab16-d5bc5d13c9b7" }, "RequestBody": null, "StatusCode": 200, @@ -348,7 +348,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:14 GMT", + "Date": "Mon, 27 Jun 2022 07:40:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -359,11 +359,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9a7728e6-d827-4e21-8718-70f65c21463e", - "x-ms-correlation-request-id": "c9443f32-face-402f-891a-ac7e3d5fe2c3", + "x-ms-arm-service-request-id": "6322e956-6804-43aa-9569-a284cc238893", + "x-ms-correlation-request-id": "038ab435-6515-4e61-aade-abdf7c29cfad", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "bb9b199d-e9cb-4872-bfe5-f7ac00eb20e4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122814Z:c9443f32-face-402f-891a-ac7e3d5fe2c3" + "x-ms-request-id": "bf456e01-8bb1-4bd6-945b-91b08b2d3655", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074034Z:038ab435-6515-4e61-aade-abdf7c29cfad" }, "ResponseBody": { "status": "Succeeded" @@ -377,10 +377,10 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "831", + "Content-Length": "827", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "45f5fbc6-fab5-4898-9e9a-dd23c4042b07" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "bcc94d24-8157-409e-b730-607221d26f89" }, "RequestBody": { "location": "eastus", @@ -419,7 +419,7 @@ "osProfile": { "computerName": "myVM", "adminUsername": "testuser", - "adminPassword": "SecretPlaceholder", + "adminPassword": "SecretPlaceholder123", "windowsConfiguration": { "enableAutomaticUpdates": true } @@ -439,11 +439,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/b50f7a48-b459-4868-a923-032fea9883bd?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/e4e09bb5-ba9d-4212-ba22-a9b4cd88332f?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "Cache-Control": "no-cache", "Content-Length": "2520", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:20 GMT", + "Date": "Mon, 27 Jun 2022 07:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -453,11 +453,11 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4deccd62-c096-4450-982e-f9874cfdd29c", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1182", + "x-ms-correlation-request-id": "f3c735b0-9a4d-4a94-8601-62f1943130c8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1188", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "b50f7a48-b459-4868-a923-032fea9883bd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122821Z:4deccd62-c096-4450-982e-f9874cfdd29c" + "x-ms-request-id": "e4e09bb5-ba9d-4212-ba22-a9b4cd88332f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074043Z:f3c735b0-9a4d-4a94-8601-62f1943130c8" }, "ResponseBody": { "name": "virtualmachinex", @@ -469,7 +469,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -479,7 +479,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -544,12 +544,12 @@ ] }, "provisioningState": "Creating", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/b50f7a48-b459-4868-a923-032fea9883bd?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/e4e09bb5-ba9d-4212-ba22-a9b4cd88332f?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -557,8 +557,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "d4bc661d-290e-452f-adbd-36f866c51d8c" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "7377625c-6ac7-4822-9584-2d9d30944260" }, "RequestBody": null, "StatusCode": 200, @@ -566,7 +566,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:21 GMT", + "Date": "Mon, 27 Jun 2022 07:40:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "50", @@ -578,20 +578,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cd33e18e-2a68-4448-8da9-38d3a61ddb93", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29984", + "x-ms-correlation-request-id": "b96dae25-336e-405b-8c73-91347cbc2c46", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "fd4b5697-4ff1-40ed-b448-90cda74f7614", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122821Z:cd33e18e-2a68-4448-8da9-38d3a61ddb93" + "x-ms-request-id": "c83cc4e9-cf41-4e40-b212-338c00b9d00f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074043Z:b96dae25-336e-405b-8c73-91347cbc2c46" }, "ResponseBody": { - "startTime": "2022-06-07T12:28:18.7432489\u002B00:00", + "startTime": "2022-06-27T07:40:39.6385843\u002B00:00", "status": "InProgress", - "name": "b50f7a48-b459-4868-a923-032fea9883bd" + "name": "e4e09bb5-ba9d-4212-ba22-a9b4cd88332f" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/b50f7a48-b459-4868-a923-032fea9883bd?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/e4e09bb5-ba9d-4212-ba22-a9b4cd88332f?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -599,8 +599,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "8da15d69-881c-4364-9426-d222c0cfb615" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "b48498a9-1a7f-4f98-b73f-1132808b718b" }, "RequestBody": null, "StatusCode": 200, @@ -608,7 +608,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:28:21 GMT", + "Date": "Mon, 27 Jun 2022 07:40:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -619,20 +619,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4a227926-748d-4fa0-8641-4aa71f262fd2", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29983", + "x-ms-correlation-request-id": "51a0f4ef-76d4-4f3f-b38d-46e7d979430d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "0548e7c4-a9ac-4d40-a898-c396c1dbc96b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122822Z:4a227926-748d-4fa0-8641-4aa71f262fd2" + "x-ms-request-id": "c460163b-efc3-4de8-aa6c-95277e77ba95", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074044Z:51a0f4ef-76d4-4f3f-b38d-46e7d979430d" }, "ResponseBody": { - "startTime": "2022-06-07T12:28:18.7432489\u002B00:00", + "startTime": "2022-06-27T07:40:39.6385843\u002B00:00", "status": "InProgress", - "name": "b50f7a48-b459-4868-a923-032fea9883bd" + "name": "e4e09bb5-ba9d-4212-ba22-a9b4cd88332f" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/b50f7a48-b459-4868-a923-032fea9883bd?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/e4e09bb5-ba9d-4212-ba22-a9b4cd88332f?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -640,8 +640,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "08049d13-f0ec-4719-816d-71f44cc54fa6" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "628ec42f-4a19-4c3f-aef2-1f583b9c7581" }, "RequestBody": null, "StatusCode": 200, @@ -649,7 +649,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:29:12 GMT", + "Date": "Mon, 27 Jun 2022 07:41:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -660,20 +660,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6499cf18-abd3-4a9f-8ac9-b1d56fe030a4", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29982", + "x-ms-correlation-request-id": "00d2404f-b392-47a7-8a69-5518807f9e9d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "a410f5f9-5661-4306-96fa-4e55263319c1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T122912Z:6499cf18-abd3-4a9f-8ac9-b1d56fe030a4" + "x-ms-request-id": "1ba69a33-027b-4310-90e3-42013f706067", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074134Z:00d2404f-b392-47a7-8a69-5518807f9e9d" }, "ResponseBody": { - "startTime": "2022-06-07T12:28:18.7432489\u002B00:00", + "startTime": "2022-06-27T07:40:39.6385843\u002B00:00", "status": "InProgress", - "name": "b50f7a48-b459-4868-a923-032fea9883bd" + "name": "e4e09bb5-ba9d-4212-ba22-a9b4cd88332f" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/b50f7a48-b459-4868-a923-032fea9883bd?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/e4e09bb5-ba9d-4212-ba22-a9b4cd88332f?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", @@ -681,8 +681,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "f0d062e6-c6b4-4438-a70e-3930fd9f4adf" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "e4489111-3c42-43a3-b493-44bb7d1fb9ff" }, "RequestBody": null, "StatusCode": 200, @@ -690,7 +690,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:30:02 GMT", + "Date": "Mon, 27 Jun 2022 07:42:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -701,17 +701,17 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "90c011ef-239a-4c35-b026-68a30e8dd48f", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29986", + "x-ms-correlation-request-id": "c4b4a17d-271c-453a-bab7-c6b28380e846", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996", "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "a285b23e-d729-40e1-8ded-d711cd69b935", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123002Z:90c011ef-239a-4c35-b026-68a30e8dd48f" + "x-ms-request-id": "6e375a37-e3de-4029-890b-a60736597bfa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074224Z:c4b4a17d-271c-453a-bab7-c6b28380e846" }, "ResponseBody": { - "startTime": "2022-06-07T12:28:18.7432489\u002B00:00", - "endTime": "2022-06-07T12:29:21.1963862\u002B00:00", + "startTime": "2022-06-27T07:40:39.6385843\u002B00:00", + "endTime": "2022-06-27T07:41:54.4827633\u002B00:00", "status": "Succeeded", - "name": "b50f7a48-b459-4868-a923-032fea9883bd" + "name": "e4e09bb5-ba9d-4212-ba22-a9b4cd88332f" } }, { @@ -723,8 +723,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "59fb83c7-de1f-4098-9f9c-a7f803386f85" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "98a34b40-8ee1-4bd5-a74c-833b02473454" }, "RequestBody": null, "StatusCode": 200, @@ -732,7 +732,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:30:53 GMT", + "Date": "Mon, 27 Jun 2022 07:43:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -743,11 +743,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "56379f15-f2f3-4edb-889a-312915779a72", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31973", + "x-ms-correlation-request-id": "f17ff8d3-0101-419e-b943-f33e573df6fb", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31987", "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "bfffc422-9417-4e1d-a0fb-f710c6ffb1b3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123053Z:56379f15-f2f3-4edb-889a-312915779a72" + "x-ms-request-id": "6a831c4c-6a53-48c7-b02d-43914fab165c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074315Z:f17ff8d3-0101-419e-b943-f33e573df6fb" }, "ResponseBody": { "name": "virtualmachinex", @@ -759,7 +759,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -769,7 +769,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -786,12 +786,12 @@ "dataDisks": [ { "lun": 0, - "name": "virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0", + "name": "virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -799,12 +799,12 @@ }, { "lun": 1, - "name": "virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7", + "name": "virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -839,7 +839,7 @@ ] }, "provisioningState": "Succeeded", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } } diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_delete_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_delete_test.json index 09ccf712c980..2a840dfdf23a 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_delete_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_delete_test.json @@ -8,19 +8,19 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "ef365642-ada9-44f4-bbab-587bfd47ccb8" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "3a243c4b-11c6-40ca-93de-2c11d332d7a5" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 07 Jun 2022 12:31:02 GMT", + "Date": "Mon, 27 Jun 2022 07:43:25 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026monitor=true\u0026api-version=2022-03-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026monitor=true\u0026api-version=2022-03-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -29,24 +29,24 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "455640be-9cc8-4227-a0bf-dd27f0d2292f", + "x-ms-correlation-request-id": "1509b4a2-1d23-46e8-9221-b1a7ba732a23", "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1194", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "c3b82c0f-4385-4e95-9909-d54e6bbbdc4d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123102Z:455640be-9cc8-4227-a0bf-dd27f0d2292f" + "x-ms-request-id": "08fd53f0-83c2-40ed-9e4c-c6c72099894e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074325Z:1509b4a2-1d23-46e8-9221-b1a7ba732a23" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "18b24301-eb8e-4c92-868c-1ba1a448b5dd" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "39fbbcff-4328-4fea-bbc7-03f07efc25fd" }, "RequestBody": null, "StatusCode": 200, @@ -54,7 +54,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:31:02 GMT", + "Date": "Mon, 27 Jun 2022 07:43:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "30", @@ -66,28 +66,28 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5f0d835b-caf0-4a6a-a535-663e43d36273", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29984", + "x-ms-correlation-request-id": "884e5320-aa70-412a-a23d-d77fdc95e320", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29994", "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "73dbd7f0-39f9-4590-9390-37181cae57e8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123102Z:5f0d835b-caf0-4a6a-a535-663e43d36273" + "x-ms-request-id": "7cfca21e-2c49-43bf-9da5-4d064d280db3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074325Z:884e5320-aa70-412a-a23d-d77fdc95e320" }, "ResponseBody": { - "startTime": "2022-06-07T12:31:02.2275543\u002B00:00", + "startTime": "2022-06-27T07:43:25.2957815\u002B00:00", "status": "InProgress", - "name": "c3b82c0f-4385-4e95-9909-d54e6bbbdc4d" + "name": "08fd53f0-83c2-40ed-9e4c-c6c72099894e" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "0fd8a421-d8e9-4c82-95e7-b5c104064190" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "8c164792-707c-4d3b-87ba-9a25fcd671c9" }, "RequestBody": null, "StatusCode": 200, @@ -95,7 +95,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:31:02 GMT", + "Date": "Mon, 27 Jun 2022 07:43:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -106,28 +106,28 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "43ea9ba4-5728-46cd-b91a-c425ae8d3958", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29983", + "x-ms-correlation-request-id": "806fa5d7-0689-41c5-86fb-cae288facbdf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29993", "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "3024768e-0f21-421d-aaaa-c2ad95b67bb3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123103Z:43ea9ba4-5728-46cd-b91a-c425ae8d3958" + "x-ms-request-id": "b7165d0f-9ad8-48ba-95ca-cfb40a0ac2ed", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074326Z:806fa5d7-0689-41c5-86fb-cae288facbdf" }, "ResponseBody": { - "startTime": "2022-06-07T12:31:02.2275543\u002B00:00", + "startTime": "2022-06-27T07:43:25.2957815\u002B00:00", "status": "InProgress", - "name": "c3b82c0f-4385-4e95-9909-d54e6bbbdc4d" + "name": "08fd53f0-83c2-40ed-9e4c-c6c72099894e" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "4774f494-226a-4a1d-99a7-83f6e328ebdf" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "399304f8-ac65-4c7e-b1a0-747ad1d46b68" }, "RequestBody": null, "StatusCode": 200, @@ -135,7 +135,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:31:32 GMT", + "Date": "Mon, 27 Jun 2022 07:43:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -146,28 +146,28 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fb9da2bb-d1e8-4376-a576-2df9dad9642d", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29982", + "x-ms-correlation-request-id": "1307d4a8-40ae-4296-a4e7-7c83087a830d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29992", "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "00172eb4-e805-417d-8ea5-2ce90bd9cb5d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123133Z:fb9da2bb-d1e8-4376-a576-2df9dad9642d" + "x-ms-request-id": "7c9f9273-b03f-48fe-b8f9-f8c70869a4ba", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074356Z:1307d4a8-40ae-4296-a4e7-7c83087a830d" }, "ResponseBody": { - "startTime": "2022-06-07T12:31:02.2275543\u002B00:00", + "startTime": "2022-06-27T07:43:25.2957815\u002B00:00", "status": "InProgress", - "name": "c3b82c0f-4385-4e95-9909-d54e6bbbdc4d" + "name": "08fd53f0-83c2-40ed-9e4c-c6c72099894e" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/c3b82c0f-4385-4e95-9909-d54e6bbbdc4d?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Compute/locations/eastus/operations/08fd53f0-83c2-40ed-9e4c-c6c72099894e?p=f8cfeb74-5cf7-40e0-89b1-3d95a1060fe7\u0026api-version=2022-03-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "cabcbf87-171b-49e6-a3ce-76699051f0b7" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "bd102458-62f8-47b4-b52a-efec89b72d64" }, "RequestBody": null, "StatusCode": 200, @@ -175,7 +175,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:32:02 GMT", + "Date": "Mon, 27 Jun 2022 07:44:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -186,17 +186,17 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bb7da990-6335-4901-a567-44260d8a9e9a", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29981", + "x-ms-correlation-request-id": "ac7cf81a-6edd-48ba-82e5-c9b2bac2d703", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29991", "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "97786e4b-dd64-476a-8eff-ce61ac031a57", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123203Z:bb7da990-6335-4901-a567-44260d8a9e9a" + "x-ms-request-id": "beb2f4aa-5d10-4f97-a4c2-11d9bccbfd97", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074426Z:ac7cf81a-6edd-48ba-82e5-c9b2bac2d703" }, "ResponseBody": { - "startTime": "2022-06-07T12:31:02.2275543\u002B00:00", - "endTime": "2022-06-07T12:31:36.133777\u002B00:00", + "startTime": "2022-06-27T07:43:25.2957815\u002B00:00", + "endTime": "2022-06-27T07:44:18.405456\u002B00:00", "status": "Succeeded", - "name": "c3b82c0f-4385-4e95-9909-d54e6bbbdc4d" + "name": "08fd53f0-83c2-40ed-9e4c-c6c72099894e" } }, { @@ -207,26 +207,31 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "e56c35d1-e656-4884-a265-8091d697d862" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "3fef6810-9000-4259-b750-b6200eff5989" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Encoding": "gzip", - "Content-Length": "12", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:32:02 GMT", + "Date": "Mon, 27 Jun 2022 07:44:26 GMT", "Expires": "-1", "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e3bdffbd-89dd-482d-9b1b-f0264ddeb7ad", + "x-ms-correlation-request-id": "7e2b609d-b9eb-4c66-9fc9-6f71901591cd", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostGet3Min;138,Microsoft.Compute/HighCostGet30Min;698", "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "e3bdffbd-89dd-482d-9b1b-f0264ddeb7ad", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123203Z:e3bdffbd-89dd-482d-9b1b-f0264ddeb7ad" + "x-ms-request-id": "738a5d81-c44e-41e3-bb13-db6de5eed24d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074427Z:7e2b609d-b9eb-4c66-9fc9-6f71901591cd" }, "ResponseBody": { "value": [] @@ -240,19 +245,19 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "f91b1786-d92e-4e77-b4cb-dd5b828514a9" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "22d1cce8-5ff3-462c-ad72-3e9752ccc6ef" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/b6005be8-4b91-4aaa-ae09-2e3f626ea41d?api-version=2021-05-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/3aa7e7e4-cbc8-481e-9008-a4a93b3e80f1?api-version=2021-05-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 07 Jun 2022 12:32:04 GMT", + "Date": "Mon, 27 Jun 2022 07:44:27 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/b6005be8-4b91-4aaa-ae09-2e3f626ea41d?api-version=2021-05-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/3aa7e7e4-cbc8-481e-9008-a4a93b3e80f1?api-version=2021-05-01", "Pragma": "no-cache", "Retry-After": "4", "Server": [ @@ -261,24 +266,24 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b73af071-3e55-45f4-893f-37b151167c74", - "x-ms-correlation-request-id": "1014d1a4-08cb-47e1-afb2-2951d3e100f0", + "x-ms-arm-service-request-id": "746d1b14-4e21-40b0-b8d0-7987d1988900", + "x-ms-correlation-request-id": "4a942498-4335-427e-b07e-4ff5e3dced2d", "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "b6005be8-4b91-4aaa-ae09-2e3f626ea41d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123205Z:1014d1a4-08cb-47e1-afb2-2951d3e100f0" + "x-ms-request-id": "3aa7e7e4-cbc8-481e-9008-a4a93b3e80f1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074428Z:4a942498-4335-427e-b07e-4ff5e3dced2d" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/b6005be8-4b91-4aaa-ae09-2e3f626ea41d?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/3aa7e7e4-cbc8-481e-9008-a4a93b3e80f1?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "06d032e1-d37c-4f9f-a45b-b4bd8abe5105" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "386826a5-98e8-4964-aba9-b689438b19fb" }, "RequestBody": null, "StatusCode": 200, @@ -286,7 +291,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:32:04 GMT", + "Date": "Mon, 27 Jun 2022 07:44:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -297,36 +302,36 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "83c8e106-427b-4469-af4e-87415ed48aa9", - "x-ms-correlation-request-id": "669d788a-4d98-4530-a775-e7295b4594d4", + "x-ms-arm-service-request-id": "27431135-5311-4dd2-9990-c77c8c10571e", + "x-ms-correlation-request-id": "1c9fdf7e-9f42-4dd3-af4d-9fb8ba9eaff4", "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "1629656e-131c-4b18-9b62-7a0fce5f3d47", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123205Z:669d788a-4d98-4530-a775-e7295b4594d4" + "x-ms-request-id": "d60f1fed-46d7-486e-9485-3cb8ffc1aea6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074428Z:1c9fdf7e-9f42-4dd3-af4d-9fb8ba9eaff4" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex/subnets/subnetnamex?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx/subnets/subnetnamexx?api-version=2021-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "f573492d-0bc9-420b-8d56-40ca679d263a" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "87df8df3-1642-4a3b-b3ad-548e4b44e4a0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/b399e8f4-2853-4965-ac13-3039b4262d1b?api-version=2021-05-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/c833f09d-2a21-41dc-b8a4-46495429d50c?api-version=2021-05-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 07 Jun 2022 12:32:05 GMT", + "Date": "Mon, 27 Jun 2022 07:44:28 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/b399e8f4-2853-4965-ac13-3039b4262d1b?api-version=2021-05-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/c833f09d-2a21-41dc-b8a4-46495429d50c?api-version=2021-05-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -335,24 +340,24 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7ccde86f-6b09-4f65-b852-d27bf298b552", - "x-ms-correlation-request-id": "2f611989-245b-4ed8-b069-4ff5a3bfde9d", + "x-ms-arm-service-request-id": "33a5e6a1-95cd-4593-90d1-28bd240a9406", + "x-ms-correlation-request-id": "a4bc6963-47ef-446e-9a04-22069b51d970", "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "b399e8f4-2853-4965-ac13-3039b4262d1b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123206Z:2f611989-245b-4ed8-b069-4ff5a3bfde9d" + "x-ms-request-id": "c833f09d-2a21-41dc-b8a4-46495429d50c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074429Z:a4bc6963-47ef-446e-9a04-22069b51d970" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/b399e8f4-2853-4965-ac13-3039b4262d1b?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/c833f09d-2a21-41dc-b8a4-46495429d50c?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "24f57579-8921-4767-9173-4ed2eddacf11" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "753de03e-dd62-45e3-8399-4fc0ec670053" }, "RequestBody": null, "StatusCode": 200, @@ -360,9 +365,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:32:05 GMT", + "Date": "Mon, 27 Jun 2022 07:44:29 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "10", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -371,37 +377,75 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "24c95b99-b681-416b-9672-9d72ac372218", - "x-ms-correlation-request-id": "a10c033c-6d77-43ab-b18c-c4b3b18d6448", + "x-ms-arm-service-request-id": "392593bd-b8b7-4a56-a139-75e76543adf5", + "x-ms-correlation-request-id": "0b758ce1-da54-48fb-b819-bc47d68ebc79", "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "ad6f9961-c0bc-4a65-8b2d-f2602fbb7700", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123206Z:a10c033c-6d77-43ab-b18c-c4b3b18d6448" + "x-ms-request-id": "1c40bb68-7882-483c-a6e1-aa54f570e1cf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074429Z:0b758ce1-da54-48fb-b819-bc47d68ebc79" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/c833f09d-2a21-41dc-b8a4-46495429d50c?api-version=2021-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "588b0d39-cd7c-4681-9550-481bbac3d80e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 27 Jun 2022 07:44:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "f06accee-88cb-4fab-89ff-26d787b3f85b", + "x-ms-correlation-request-id": "5d2b319c-b95c-4276-8c62-ce8c45fb2859", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "0d2ef9e5-4187-40cc-8542-490f25e083c9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074439Z:5d2b319c-b95c-4276-8c62-ce8c45fb2859" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamex?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/networknamexx?api-version=2021-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "d0aa5020-75a1-4659-b2c1-a8e44141daa6" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "c760a36b-f8d4-4e51-afe7-773bead5aece" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e198b7eb-c159-480e-bfc2-bec9d5503ea0?api-version=2021-05-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e4da206f-e314-4acf-90f5-0c06e9db453e?api-version=2021-05-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Tue, 07 Jun 2022 12:32:06 GMT", + "Date": "Mon, 27 Jun 2022 07:44:40 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/e198b7eb-c159-480e-bfc2-bec9d5503ea0?api-version=2021-05-01", + "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operationResults/e4da206f-e314-4acf-90f5-0c06e9db453e?api-version=2021-05-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -410,24 +454,24 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4aad8adb-0e17-4f51-929f-23c51636717c", - "x-ms-correlation-request-id": "cac00588-ede3-408b-8bc5-e6883bd04804", + "x-ms-arm-service-request-id": "3678a8f1-172c-416d-bf77-a97c19919cf6", + "x-ms-correlation-request-id": "a2756587-5689-4e69-9c80-fc7998301993", "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-request-id": "e198b7eb-c159-480e-bfc2-bec9d5503ea0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123207Z:cac00588-ede3-408b-8bc5-e6883bd04804" + "x-ms-request-id": "e4da206f-e314-4acf-90f5-0c06e9db453e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074440Z:a2756587-5689-4e69-9c80-fc7998301993" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e198b7eb-c159-480e-bfc2-bec9d5503ea0?api-version=2021-05-01", + "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Network/locations/eastus/operations/e4da206f-e314-4acf-90f5-0c06e9db453e?api-version=2021-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "79c38f4a-e0c9-426f-8146-cd0d711f8194" + "User-Agent": "azsdk-js-arm-network/26.0.0 core-rest-pipeline/1.8.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "0cab0aa2-bab4-48e2-8d2a-3f1e8fd21141" }, "RequestBody": null, "StatusCode": 200, @@ -435,7 +479,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:32:07 GMT", + "Date": "Mon, 27 Jun 2022 07:44:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -446,11 +490,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b387165b-9113-43cb-928b-59eefbca7006", - "x-ms-correlation-request-id": "9af85058-7510-45d7-92f8-6590696f70ad", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "7eac155c-94fc-4eef-8199-975837a8179c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123207Z:9af85058-7510-45d7-92f8-6590696f70ad" + "x-ms-arm-service-request-id": "78cb3d85-ebde-45b1-ba2a-7f138a541fd5", + "x-ms-correlation-request-id": "5a4b041e-8ef7-4f00-a2d3-3d603e3583f0", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "66a21603-497d-47f1-bb0a-478443988469", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074441Z:5a4b041e-8ef7-4f00-a2d3-3d603e3583f0" }, "ResponseBody": { "status": "Succeeded" diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_get_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_get_test.json index 6b6d66066539..a29cf54fd599 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_get_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_get_test.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "379c80db-c029-4fd5-8512-d80f61c6d194" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "956e192f-1566-4a1d-a779-d307624418ed" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:30:54 GMT", + "Date": "Mon, 27 Jun 2022 07:43:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -28,11 +28,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4acac2ec-5419-429b-b329-7095c8a9ff0a", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31972", + "x-ms-correlation-request-id": "72b8e423-96d1-49dd-a5d2-3845591370bc", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31986", "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "9b495dd0-bd89-4087-b589-e0b33d88fd85", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123055Z:4acac2ec-5419-429b-b329-7095c8a9ff0a" + "x-ms-request-id": "34d1e27d-5263-4993-b430-59fd800e6e23", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074316Z:72b8e423-96d1-49dd-a5d2-3845591370bc" }, "ResponseBody": { "name": "virtualmachinex", @@ -44,7 +44,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -54,7 +54,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -71,12 +71,12 @@ "dataDisks": [ { "lun": 0, - "name": "virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0", + "name": "virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -84,12 +84,12 @@ }, { "lun": 1, - "name": "virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7", + "name": "virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -124,7 +124,7 @@ ] }, "provisioningState": "Succeeded", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } } diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_list_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_list_test.json index addcc7c0755f..f9dfe5f5baa5 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_list_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_list_test.json @@ -8,8 +8,8 @@ "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "be941edf-74a4-4f22-bf00-440287c59ab4" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "d98cf188-170e-4fbc-8f6f-597641c04bde" }, "RequestBody": null, "StatusCode": 200, @@ -17,7 +17,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:30:55 GMT", + "Date": "Mon, 27 Jun 2022 07:43:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -28,11 +28,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "57cd9e29-5ecf-475d-ae23-f3b6195a6b5c", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostGet3Min;139,Microsoft.Compute/HighCostGet30Min;696", + "x-ms-correlation-request-id": "db7fbac6-356e-4b60-b21b-771f3de6d82f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostGet3Min;139,Microsoft.Compute/HighCostGet30Min;699", "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "77cf258f-0df6-4a25-835f-8a8b2deef886", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123056Z:57cd9e29-5ecf-475d-ae23-f3b6195a6b5c" + "x-ms-request-id": "f977c1be-8041-490c-b88c-af5b54ac07c9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074317Z:db7fbac6-356e-4b60-b21b-771f3de6d82f" }, "ResponseBody": { "value": [ @@ -46,7 +46,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -56,7 +56,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -73,12 +73,12 @@ "dataDisks": [ { "lun": 0, - "name": "virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0", + "name": "virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -86,12 +86,12 @@ }, { "lun": 1, - "name": "virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7", + "name": "virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -126,7 +126,7 @@ ] }, "provisioningState": "Succeeded", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } ] diff --git a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_update_test.json b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_update_test.json index b049956f8732..c9fe5dfcc550 100644 --- a/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_update_test.json +++ b/sdk/compute/arm-compute/recordings/node/compute_test/recording_virtualmachines_update_test.json @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "214", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "4b5f4da1-1379-4871-a311-e156e19d6f55" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "57c64635-a678-44e3-bfa8-66262205b09c" }, "RequestBody": { "properties": { @@ -32,7 +32,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:30:59 GMT", + "Date": "Mon, 27 Jun 2022 07:43:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -43,11 +43,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fbcee25a-4aa0-406b-8fff-1234019c15c6", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1186", + "x-ms-correlation-request-id": "f756f78b-ddd5-4328-8e09-2f3084311ca5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1187", "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "9780dc33-2a78-4cb6-8a3b-9c7111c752ba", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123100Z:fbcee25a-4aa0-406b-8fff-1234019c15c6" + "x-ms-request-id": "b756b2ae-34a4-48a6-a56f-fbc84b0a7399", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074322Z:f756f78b-ddd5-4328-8e09-2f3084311ca5" }, "ResponseBody": { "name": "virtualmachinex", @@ -59,7 +59,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -69,7 +69,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -86,12 +86,12 @@ "dataDisks": [ { "lun": 0, - "name": "virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0", + "name": "virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -99,12 +99,12 @@ }, { "lun": 1, - "name": "virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7", + "name": "virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -139,7 +139,7 @@ ] }, "provisioningState": "Updating", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } }, @@ -152,8 +152,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-compute/19.0.0 core-rest-pipeline/1.9.0 Node/v16.13.2 OS/(x64-Windows_NT-10.0.19044)", - "x-ms-client-request-id": "f3e961ba-edc7-4662-85c0-f44b0c262829" + "User-Agent": "azsdk-js-arm-compute/19.1.0 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", + "x-ms-client-request-id": "41d696f1-f7d0-4361-b092-2c58fae819f5" }, "RequestBody": null, "StatusCode": 200, @@ -161,7 +161,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 07 Jun 2022 12:31:00 GMT", + "Date": "Mon, 27 Jun 2022 07:43:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -172,11 +172,11 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ffb5ec89-109f-4ffa-af4f-e152ed3b3f21", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31970", + "x-ms-correlation-request-id": "97278fa5-cb49-4be1-af4a-de9efb371faf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31984", "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "f0877cbb-c4ad-4214-a5ae-35a11095cb4a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220607T123100Z:ffb5ec89-109f-4ffa-af4f-e152ed3b3f21" + "x-ms-request-id": "ccaa925d-acae-449a-ba8e-3c9fa682a772", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220627T074323Z:97278fa5-cb49-4be1-af4a-de9efb371faf" }, "ResponseBody": { "name": "virtualmachinex", @@ -188,7 +188,7 @@ "platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true" }, "properties": { - "vmId": "0c70f162-363c-4fd7-9199-065e6e2b4bcd", + "vmId": "1716fcad-9750-4b6a-a92c-cb590422849b", "hardwareProfile": { "vmSize": "Standard_D2_v2" }, @@ -198,7 +198,7 @@ "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest", - "exactVersion": "14393.5125.220505" + "exactVersion": "14393.5192.220612" }, "osDisk": { "osType": "Windows", @@ -215,12 +215,12 @@ "dataDisks": [ { "lun": 0, - "name": "virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0", + "name": "virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_769d5a6c89d9420daa98102a2d962fa0" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk2_1f02e8e7bfda4b19a8733ed3964460ad" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -228,12 +228,12 @@ }, { "lun": 1, - "name": "virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7", + "name": "virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92", "createOption": "Empty", "caching": "None", "managedDisk": { "storageAccountType": "Standard_LRS", - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_8a6e05b0f9e94358b66064dfe86443a7" + "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Compute/disks/virtualmachinex_disk3_f6791349105b4f41b28e782bb1bc0e92" }, "deleteOption": "Detach", "diskSizeGB": 1023, @@ -268,7 +268,7 @@ ] }, "provisioningState": "Succeeded", - "timeCreated": "2022-06-07T12:28:20.0244792\u002B00:00" + "timeCreated": "2022-06-27T07:40:40.6698336\u002B00:00" } } } diff --git a/sdk/compute/arm-compute/review/arm-compute.api.md b/sdk/compute/arm-compute/review/arm-compute.api.md index 1be28f1b6b70..700a1f1cbb7e 100644 --- a/sdk/compute/arm-compute/review/arm-compute.api.md +++ b/sdk/compute/arm-compute/review/arm-compute.api.md @@ -90,14 +90,14 @@ export interface AutomaticRepairsPolicy { } // @public -export type AvailabilitySet = Resource & { - sku?: Sku; - platformUpdateDomainCount?: number; +export interface AvailabilitySet extends Resource { platformFaultDomainCount?: number; - virtualMachines?: SubResource[]; + platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResource; + sku?: Sku; readonly statuses?: InstanceViewStatus[]; -}; + virtualMachines?: SubResource[]; +} // @public export interface AvailabilitySetListResult { @@ -182,14 +182,14 @@ export interface AvailabilitySetsUpdateOptionalParams extends coreClient.Operati export type AvailabilitySetsUpdateResponse = AvailabilitySet; // @public -export type AvailabilitySetUpdate = UpdateResource & { - sku?: Sku; - platformUpdateDomainCount?: number; +export interface AvailabilitySetUpdate extends UpdateResource { platformFaultDomainCount?: number; - virtualMachines?: SubResource[]; + platformUpdateDomainCount?: number; proximityPlacementGroup?: SubResource; + sku?: Sku; readonly statuses?: InstanceViewStatus[]; -}; + virtualMachines?: SubResource[]; +} // @public export interface AvailablePatchSummary { @@ -225,24 +225,24 @@ export interface BootDiagnosticsInstanceView { export type CachingTypes = "None" | "ReadOnly" | "ReadWrite"; // @public -export type CapacityReservation = Resource & { - sku: Sku; - zones?: string[]; - readonly reservationId?: string; - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; - readonly provisioningTime?: Date; - readonly provisioningState?: string; +export interface CapacityReservation extends Resource { readonly instanceView?: CapacityReservationInstanceView; + readonly provisioningState?: string; + readonly provisioningTime?: Date; + readonly reservationId?: string; + sku: Sku; readonly timeCreated?: Date; -}; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + zones?: string[]; +} // @public -export type CapacityReservationGroup = Resource & { - zones?: string[]; +export interface CapacityReservationGroup extends Resource { readonly capacityReservations?: SubResourceReadOnly[]; - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; readonly instanceView?: CapacityReservationGroupInstanceView; -}; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; + zones?: string[]; +} // @public (undocumented) export interface CapacityReservationGroupInstanceView { @@ -327,11 +327,11 @@ export interface CapacityReservationGroupsUpdateOptionalParams extends coreClien export type CapacityReservationGroupsUpdateResponse = CapacityReservationGroup; // @public -export type CapacityReservationGroupUpdate = UpdateResource & { +export interface CapacityReservationGroupUpdate extends UpdateResource { readonly capacityReservations?: SubResourceReadOnly[]; - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; readonly instanceView?: CapacityReservationGroupInstanceView; -}; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; +} // @public export interface CapacityReservationInstanceView { @@ -343,9 +343,9 @@ export interface CapacityReservationInstanceView { export type CapacityReservationInstanceViewTypes = string; // @public -export type CapacityReservationInstanceViewWithName = CapacityReservationInstanceView & { +export interface CapacityReservationInstanceViewWithName extends CapacityReservationInstanceView { readonly name?: string; -}; +} // @public export interface CapacityReservationListResult { @@ -417,15 +417,15 @@ export interface CapacityReservationsUpdateOptionalParams extends coreClient.Ope export type CapacityReservationsUpdateResponse = CapacityReservation; // @public -export type CapacityReservationUpdate = UpdateResource & { - sku?: Sku; - readonly reservationId?: string; - readonly virtualMachinesAssociated?: SubResourceReadOnly[]; - readonly provisioningTime?: Date; - readonly provisioningState?: string; +export interface CapacityReservationUpdate extends UpdateResource { readonly instanceView?: CapacityReservationInstanceView; + readonly provisioningState?: string; + readonly provisioningTime?: Date; + readonly reservationId?: string; + sku?: Sku; readonly timeCreated?: Date; -}; + readonly virtualMachinesAssociated?: SubResourceReadOnly[]; +} // @public export interface CapacityReservationUtilization { @@ -443,6 +443,7 @@ export interface CloudService { location: string; readonly name?: string; properties?: CloudServiceProperties; + systemData?: SystemData; tags?: { [propertyName: string]: string; }; @@ -458,13 +459,12 @@ export interface CloudServiceExtensionProfile { export interface CloudServiceExtensionProperties { autoUpgradeMinorVersion?: boolean; forceUpdateTag?: string; - protectedSettings?: string; - // (undocumented) + protectedSettings?: any; protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; readonly provisioningState?: string; publisher?: string; rolesAppliedTo?: string[]; - settings?: string; + settings?: any; type?: string; typeHandlerVersion?: string; } @@ -477,17 +477,16 @@ export interface CloudServiceInstanceView { readonly statuses?: ResourceInstanceViewStatus[]; } -// @public (undocumented) +// @public export interface CloudServiceListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: CloudService[]; } // @public export interface CloudServiceNetworkProfile { loadBalancerConfigurations?: LoadBalancerConfiguration[]; + slotType?: CloudServiceSlotType; swappableCloudService?: SubResource; } @@ -567,7 +566,6 @@ export interface CloudServiceRole { readonly id?: string; readonly location?: string; readonly name?: string; - // (undocumented) properties?: CloudServiceRoleProperties; sku?: CloudServiceRoleSku; readonly type?: string; @@ -654,11 +652,9 @@ export interface CloudServiceRoleInstancesRestartOptionalParams extends coreClie updateIntervalInMs?: number; } -// @public (undocumented) +// @public export interface CloudServiceRoleListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: CloudServiceRole[]; } @@ -673,7 +669,7 @@ export interface CloudServiceRoleProfileProperties { sku?: CloudServiceRoleSku; } -// @public (undocumented) +// @public export interface CloudServiceRoleProperties { readonly uniqueId?: string; } @@ -803,6 +799,9 @@ export interface CloudServicesListOptionalParams extends coreClient.OperationOpt // @public export type CloudServicesListResponse = CloudServiceListResult; +// @public +export type CloudServiceSlotType = string; + // @public export interface CloudServicesPowerOffOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -892,11 +891,9 @@ export interface CloudServiceUpdate { // @public export type CloudServiceUpgradeMode = string; -// @public (undocumented) +// @public export interface CloudServiceVaultAndSecretReference { - // (undocumented) secretUrl?: string; - // (undocumented) sourceVault?: SubResource; } @@ -924,23 +921,24 @@ export interface CommunityGalleriesGetOptionalParams extends coreClient.Operatio export type CommunityGalleriesGetResponse = CommunityGallery; // @public -export type CommunityGallery = PirCommunityGalleryResource; +export interface CommunityGallery extends PirCommunityGalleryResource { +} // @public -export type CommunityGalleryImage = PirCommunityGalleryResource & { - osType?: OperatingSystemTypes; - osState?: OperatingSystemStateTypes; - endOfLifeDate?: Date; - identifier?: GalleryImageIdentifier; - recommended?: RecommendedMachineConfiguration; +export interface CommunityGalleryImage extends PirCommunityGalleryResource { + architecture?: Architecture; disallowed?: Disallowed; - hyperVGeneration?: HyperVGeneration; + endOfLifeDate?: Date; + eula?: string; features?: GalleryImageFeature[]; - purchasePlan?: ImagePurchasePlan; - architecture?: Architecture; + hyperVGeneration?: HyperVGeneration; + identifier?: GalleryImageIdentifier; + osState?: OperatingSystemStateTypes; + osType?: OperatingSystemTypes; privacyStatementUri?: string; - eula?: string; -}; + purchasePlan?: ImagePurchasePlan; + recommended?: RecommendedMachineConfiguration; +} // @public export interface CommunityGalleryImageList { @@ -976,12 +974,12 @@ export interface CommunityGalleryImagesListOptionalParams extends coreClient.Ope export type CommunityGalleryImagesListResponse = CommunityGalleryImageList; // @public -export type CommunityGalleryImageVersion = PirCommunityGalleryResource & { - publishedDate?: Date; +export interface CommunityGalleryImageVersion extends PirCommunityGalleryResource { endOfLifeDate?: Date; excludeFromLatest?: boolean; + publishedDate?: Date; storageProfile?: SharedGalleryImageVersionStorageProfile; -}; +} // @public export interface CommunityGalleryImageVersionList { @@ -1210,23 +1208,23 @@ export interface DataDiskImage { } // @public -export type DataDiskImageEncryption = DiskImageEncryption & { +export interface DataDiskImageEncryption extends DiskImageEncryption { lun: number; -}; +} // @public -export type DedicatedHost = Resource & { - sku: Sku; - platformFaultDomain?: number; +export interface DedicatedHost extends Resource { autoReplaceOnFailure?: boolean; readonly hostId?: string; - readonly virtualMachines?: SubResourceReadOnly[]; + readonly instanceView?: DedicatedHostInstanceView; licenseType?: DedicatedHostLicenseTypes; - readonly provisioningTime?: Date; + platformFaultDomain?: number; readonly provisioningState?: string; - readonly instanceView?: DedicatedHostInstanceView; + readonly provisioningTime?: Date; + sku: Sku; readonly timeCreated?: Date; -}; + readonly virtualMachines?: SubResourceReadOnly[]; +} // @public export interface DedicatedHostAllocatableVM { @@ -1240,14 +1238,14 @@ export interface DedicatedHostAvailableCapacity { } // @public -export type DedicatedHostGroup = Resource & { - zones?: string[]; - platformFaultDomainCount?: number; +export interface DedicatedHostGroup extends Resource { + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; readonly hosts?: SubResourceReadOnly[]; readonly instanceView?: DedicatedHostGroupInstanceView; + platformFaultDomainCount?: number; supportAutomaticPlacement?: boolean; - additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; -}; + zones?: string[]; +} // @public (undocumented) export interface DedicatedHostGroupInstanceView { @@ -1330,14 +1328,14 @@ export interface DedicatedHostGroupsUpdateOptionalParams extends coreClient.Oper export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup; // @public -export type DedicatedHostGroupUpdate = UpdateResource & { - zones?: string[]; - platformFaultDomainCount?: number; +export interface DedicatedHostGroupUpdate extends UpdateResource { + additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; readonly hosts?: SubResourceReadOnly[]; readonly instanceView?: DedicatedHostGroupInstanceView; + platformFaultDomainCount?: number; supportAutomaticPlacement?: boolean; - additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; -}; + zones?: string[]; +} // @public export interface DedicatedHostInstanceView { @@ -1347,9 +1345,9 @@ export interface DedicatedHostInstanceView { } // @public -export type DedicatedHostInstanceViewWithName = DedicatedHostInstanceView & { +export interface DedicatedHostInstanceViewWithName extends DedicatedHostInstanceView { readonly name?: string; -}; +} // @public export type DedicatedHostLicenseTypes = "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"; @@ -1427,17 +1425,17 @@ export interface DedicatedHostsUpdateOptionalParams extends coreClient.Operation export type DedicatedHostsUpdateResponse = DedicatedHost; // @public -export type DedicatedHostUpdate = UpdateResource & { - platformFaultDomain?: number; +export interface DedicatedHostUpdate extends UpdateResource { autoReplaceOnFailure?: boolean; readonly hostId?: string; - readonly virtualMachines?: SubResourceReadOnly[]; + readonly instanceView?: DedicatedHostInstanceView; licenseType?: DedicatedHostLicenseTypes; - readonly provisioningTime?: Date; + platformFaultDomain?: number; readonly provisioningState?: string; - readonly instanceView?: DedicatedHostInstanceView; + readonly provisioningTime?: Date; readonly timeCreated?: Date; -}; + readonly virtualMachines?: SubResourceReadOnly[]; +} // @public export type DeleteOptions = string; @@ -1470,50 +1468,50 @@ export interface DisallowedConfiguration { } // @public -export type Disk = Resource & { - readonly managedBy?: string; - readonly managedByExtended?: string[]; - sku?: DiskSku; - zones?: string[]; - extendedLocation?: ExtendedLocation; - readonly timeCreated?: Date; - osType?: OperatingSystemTypes; - hyperVGeneration?: HyperVGeneration; - purchasePlan?: PurchasePlanAutoGenerated; - supportedCapabilities?: SupportedCapabilities; +export interface Disk extends Resource { + burstingEnabled?: boolean; + completionPercent?: number; creationData?: CreationData; - diskSizeGB?: number; - readonly diskSizeBytes?: number; - readonly uniqueId?: string; - encryptionSettingsCollection?: EncryptionSettingsCollection; - readonly provisioningState?: string; - diskIopsReadWrite?: number; - diskMBpsReadWrite?: number; + dataAccessAuthMode?: DataAccessAuthMode; + diskAccessId?: string; diskIopsReadOnly?: number; + diskIopsReadWrite?: number; diskMBpsReadOnly?: number; + diskMBpsReadWrite?: number; + readonly diskSizeBytes?: number; + diskSizeGB?: number; readonly diskState?: DiskState; encryption?: Encryption; + encryptionSettingsCollection?: EncryptionSettingsCollection; + extendedLocation?: ExtendedLocation; + hyperVGeneration?: HyperVGeneration; + readonly managedBy?: string; + readonly managedByExtended?: string[]; maxShares?: number; - readonly shareInfo?: ShareInfoElement[]; networkAccessPolicy?: NetworkAccessPolicy; - diskAccessId?: string; - tier?: string; - burstingEnabled?: boolean; + osType?: OperatingSystemTypes; readonly propertyUpdatesInProgress?: PropertyUpdatesInProgress; - supportsHibernation?: boolean; - securityProfile?: DiskSecurityProfile; - completionPercent?: number; + readonly provisioningState?: string; publicNetworkAccess?: PublicNetworkAccess; - dataAccessAuthMode?: DataAccessAuthMode; -}; + purchasePlan?: PurchasePlanAutoGenerated; + securityProfile?: DiskSecurityProfile; + readonly shareInfo?: ShareInfoElement[]; + sku?: DiskSku; + supportedCapabilities?: SupportedCapabilities; + supportsHibernation?: boolean; + tier?: string; + readonly timeCreated?: Date; + readonly uniqueId?: string; + zones?: string[]; +} // @public -export type DiskAccess = Resource & { +export interface DiskAccess extends Resource { extendedLocation?: ExtendedLocation; readonly privateEndpointConnections?: PrivateEndpointConnection[]; readonly provisioningState?: string; readonly timeCreated?: Date; -}; +} // @public export interface DiskAccesses { @@ -1663,17 +1661,17 @@ export type DiskDeleteOptionTypes = string; export type DiskDetachOptionTypes = string; // @public -export type DiskEncryptionSet = Resource & { - identity?: EncryptionSetIdentity; - encryptionType?: DiskEncryptionSetType; +export interface DiskEncryptionSet extends Resource { activeKey?: KeyForDiskEncryptionSet; + readonly autoKeyRotationError?: ApiError; + encryptionType?: DiskEncryptionSetType; + federatedClientId?: string; + identity?: EncryptionSetIdentity; + readonly lastKeyRotationTimestamp?: Date; readonly previousKeys?: KeyForDiskEncryptionSet[]; readonly provisioningState?: string; rotationToLatestKeyVersionEnabled?: boolean; - readonly lastKeyRotationTimestamp?: Date; - readonly autoKeyRotationError?: ApiError; - federatedClientId?: string; -}; +} // @public export type DiskEncryptionSetIdentityType = string; @@ -1685,7 +1683,8 @@ export interface DiskEncryptionSetList { } // @public -export type DiskEncryptionSetParameters = SubResource; +export interface DiskEncryptionSetParameters extends SubResource { +} // @public export interface DiskEncryptionSets { @@ -1815,25 +1814,25 @@ export interface DiskList { } // @public -export type DiskRestorePoint = ProxyOnlyResource & { - readonly timeCreated?: Date; - readonly sourceResourceId?: string; - readonly osType?: OperatingSystemTypes; - hyperVGeneration?: HyperVGeneration; - purchasePlan?: PurchasePlanAutoGenerated; - supportedCapabilities?: SupportedCapabilities; - readonly familyId?: string; - readonly sourceUniqueId?: string; +export interface DiskRestorePoint extends ProxyOnlyResource { + completionPercent?: number; + diskAccessId?: string; readonly encryption?: Encryption; - supportsHibernation?: boolean; + readonly familyId?: string; + hyperVGeneration?: HyperVGeneration; networkAccessPolicy?: NetworkAccessPolicy; + readonly osType?: OperatingSystemTypes; publicNetworkAccess?: PublicNetworkAccess; - diskAccessId?: string; - completionPercent?: number; + purchasePlan?: PurchasePlanAutoGenerated; readonly replicationState?: string; - readonly sourceResourceLocation?: string; securityProfile?: DiskSecurityProfile; -}; + readonly sourceResourceId?: string; + readonly sourceResourceLocation?: string; + readonly sourceUniqueId?: string; + supportedCapabilities?: SupportedCapabilities; + supportsHibernation?: boolean; + readonly timeCreated?: Date; +} // @public export interface DiskRestorePointGetOptionalParams extends coreClient.OperationOptions { @@ -2178,24 +2177,24 @@ export interface GalleriesUpdateOptionalParams extends coreClient.OperationOptio export type GalleriesUpdateResponse = Gallery; // @public -export type Gallery = Resource & { +export interface Gallery extends Resource { description?: string; identifier?: GalleryIdentifier; readonly provisioningState?: GalleryProvisioningState; sharingProfile?: SharingProfile; - softDeletePolicy?: SoftDeletePolicy; readonly sharingStatus?: SharingStatus; -}; + softDeletePolicy?: SoftDeletePolicy; +} // @public -export type GalleryApplication = Resource & { +export interface GalleryApplication extends Resource { description?: string; + endOfLifeDate?: Date; eula?: string; privacyStatementUri?: string; releaseNoteUri?: string; - endOfLifeDate?: Date; supportedOSType?: OperatingSystemTypes; -}; +} // @public export interface GalleryApplicationList { @@ -2261,21 +2260,21 @@ export interface GalleryApplicationsUpdateOptionalParams extends coreClient.Oper export type GalleryApplicationsUpdateResponse = GalleryApplication; // @public -export type GalleryApplicationUpdate = UpdateResourceDefinition & { +export interface GalleryApplicationUpdate extends UpdateResourceDefinition { description?: string; + endOfLifeDate?: Date; eula?: string; privacyStatementUri?: string; releaseNoteUri?: string; - endOfLifeDate?: Date; supportedOSType?: OperatingSystemTypes; -}; +} // @public -export type GalleryApplicationVersion = Resource & { - publishingProfile?: GalleryApplicationVersionPublishingProfile; +export interface GalleryApplicationVersion extends Resource { readonly provisioningState?: GalleryProvisioningState; + publishingProfile?: GalleryApplicationVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; -}; +} // @public export interface GalleryApplicationVersionList { @@ -2284,19 +2283,20 @@ export interface GalleryApplicationVersionList { } // @public -export type GalleryApplicationVersionPublishingProfile = GalleryArtifactPublishingProfileBase & { - source: UserArtifactSource; - manageActions?: UserArtifactManage; - settings?: UserArtifactSettings; +export interface GalleryApplicationVersionPublishingProfile extends GalleryArtifactPublishingProfileBase { advancedSettings?: { [propertyName: string]: string; }; enableHealthCheck?: boolean; -}; - -// @public -export interface GalleryApplicationVersions { - beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, galleryApplicationVersion: GalleryApplicationVersion, options?: GalleryApplicationVersionsCreateOrUpdateOptionalParams): Promise, GalleryApplicationVersionsCreateOrUpdateResponse>>; + // (undocumented) + manageActions?: UserArtifactManage; + settings?: UserArtifactSettings; + source: UserArtifactSource; +} + +// @public +export interface GalleryApplicationVersions { + beginCreateOrUpdate(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, galleryApplicationVersion: GalleryApplicationVersion, options?: GalleryApplicationVersionsCreateOrUpdateOptionalParams): Promise, GalleryApplicationVersionsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, galleryApplicationVersion: GalleryApplicationVersion, options?: GalleryApplicationVersionsCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, options?: GalleryApplicationVersionsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, galleryName: string, galleryApplicationName: string, galleryApplicationVersionName: string, options?: GalleryApplicationVersionsDeleteOptionalParams): Promise; @@ -2353,11 +2353,11 @@ export interface GalleryApplicationVersionsUpdateOptionalParams extends coreClie export type GalleryApplicationVersionsUpdateResponse = GalleryApplicationVersion; // @public -export type GalleryApplicationVersionUpdate = UpdateResourceDefinition & { - publishingProfile?: GalleryApplicationVersionPublishingProfile; +export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinition { readonly provisioningState?: GalleryProvisioningState; + publishingProfile?: GalleryApplicationVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; -}; +} // @public export interface GalleryArtifactPublishingProfileBase { @@ -2383,9 +2383,9 @@ export interface GalleryArtifactVersionSource { } // @public -export type GalleryDataDiskImage = GalleryDiskImage & { +export interface GalleryDataDiskImage extends GalleryDiskImage { lun: number; -}; +} // @public export interface GalleryDiskImage { @@ -2413,23 +2413,23 @@ export interface GalleryIdentifier { } // @public -export type GalleryImage = Resource & { +export interface GalleryImage extends Resource { + architecture?: Architecture; description?: string; + disallowed?: Disallowed; + endOfLifeDate?: Date; eula?: string; - privacyStatementUri?: string; - releaseNoteUri?: string; - osType?: OperatingSystemTypes; - osState?: OperatingSystemStateTypes; + features?: GalleryImageFeature[]; hyperVGeneration?: HyperVGeneration; - endOfLifeDate?: Date; identifier?: GalleryImageIdentifier; - recommended?: RecommendedMachineConfiguration; - disallowed?: Disallowed; - purchasePlan?: ImagePurchasePlan; + osState?: OperatingSystemStateTypes; + osType?: OperatingSystemTypes; + privacyStatementUri?: string; readonly provisioningState?: GalleryProvisioningState; - features?: GalleryImageFeature[]; - architecture?: Architecture; -}; + purchasePlan?: ImagePurchasePlan; + recommended?: RecommendedMachineConfiguration; + releaseNoteUri?: string; +} // @public export interface GalleryImageFeature { @@ -2508,31 +2508,31 @@ export interface GalleryImagesUpdateOptionalParams extends coreClient.OperationO export type GalleryImagesUpdateResponse = GalleryImage; // @public -export type GalleryImageUpdate = UpdateResourceDefinition & { +export interface GalleryImageUpdate extends UpdateResourceDefinition { + architecture?: Architecture; description?: string; + disallowed?: Disallowed; + endOfLifeDate?: Date; eula?: string; - privacyStatementUri?: string; - releaseNoteUri?: string; - osType?: OperatingSystemTypes; - osState?: OperatingSystemStateTypes; + features?: GalleryImageFeature[]; hyperVGeneration?: HyperVGeneration; - endOfLifeDate?: Date; identifier?: GalleryImageIdentifier; - recommended?: RecommendedMachineConfiguration; - disallowed?: Disallowed; - purchasePlan?: ImagePurchasePlan; + osState?: OperatingSystemStateTypes; + osType?: OperatingSystemTypes; + privacyStatementUri?: string; readonly provisioningState?: GalleryProvisioningState; - features?: GalleryImageFeature[]; - architecture?: Architecture; -}; + purchasePlan?: ImagePurchasePlan; + recommended?: RecommendedMachineConfiguration; + releaseNoteUri?: string; +} // @public -export type GalleryImageVersion = Resource & { - publishingProfile?: GalleryImageVersionPublishingProfile; +export interface GalleryImageVersion extends Resource { readonly provisioningState?: GalleryProvisioningState; - storageProfile?: GalleryImageVersionStorageProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; -}; + storageProfile?: GalleryImageVersionStorageProfile; +} // @public export interface GalleryImageVersionList { @@ -2541,7 +2541,8 @@ export interface GalleryImageVersionList { } // @public -export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase; +export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase { +} // @public export interface GalleryImageVersions { @@ -2609,12 +2610,12 @@ export interface GalleryImageVersionsUpdateOptionalParams extends coreClient.Ope export type GalleryImageVersionsUpdateResponse = GalleryImageVersion; // @public -export type GalleryImageVersionUpdate = UpdateResourceDefinition & { - publishingProfile?: GalleryImageVersionPublishingProfile; +export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { readonly provisioningState?: GalleryProvisioningState; - storageProfile?: GalleryImageVersionStorageProfile; + publishingProfile?: GalleryImageVersionPublishingProfile; readonly replicationStatus?: ReplicationStatus; -}; + storageProfile?: GalleryImageVersionStorageProfile; +} // @public export interface GalleryList { @@ -2623,7 +2624,8 @@ export interface GalleryList { } // @public -export type GalleryOSDiskImage = GalleryDiskImage; +export interface GalleryOSDiskImage extends GalleryDiskImage { +} // @public export type GalleryProvisioningState = string; @@ -2656,14 +2658,14 @@ export interface GalleryTargetExtendedLocation { } // @public -export type GalleryUpdate = UpdateResourceDefinition & { +export interface GalleryUpdate extends UpdateResourceDefinition { description?: string; identifier?: GalleryIdentifier; readonly provisioningState?: GalleryProvisioningState; sharingProfile?: SharingProfile; - softDeletePolicy?: SoftDeletePolicy; readonly sharingStatus?: SharingStatus; -}; + softDeletePolicy?: SoftDeletePolicy; +} // @public export interface GrantAccessData { @@ -2692,19 +2694,19 @@ export type HyperVGenerationType = string; export type HyperVGenerationTypes = string; // @public -type Image_2 = Resource & { +interface Image_2 extends Resource { extendedLocation?: ExtendedLocation; + hyperVGeneration?: HyperVGenerationTypes; + readonly provisioningState?: string; sourceVirtualMachine?: SubResource; storageProfile?: ImageStorageProfile; - readonly provisioningState?: string; - hyperVGeneration?: HyperVGenerationTypes; -}; +} export { Image_2 as Image } // @public -export type ImageDataDisk = ImageDisk & { +export interface ImageDataDisk extends ImageDisk { lun: number; -}; +} // @public export interface ImageDisk { @@ -2732,10 +2734,10 @@ export interface ImageListResult { } // @public -export type ImageOSDisk = ImageDisk & { - osType: OperatingSystemTypes; +export interface ImageOSDisk extends ImageDisk { osState: OperatingSystemStateTypes; -}; + osType: OperatingSystemTypes; +} // @public export interface ImagePurchasePlan { @@ -2745,15 +2747,15 @@ export interface ImagePurchasePlan { } // @public -export type ImageReference = SubResource & { - publisher?: string; +export interface ImageReference extends SubResource { + communityGalleryImageId?: string; + readonly exactVersion?: string; offer?: string; + publisher?: string; + sharedGalleryImageId?: string; sku?: string; version?: string; - readonly exactVersion?: string; - sharedGalleryImageId?: string; - communityGalleryImageId?: string; -}; +} // @public export interface Images { @@ -2836,12 +2838,12 @@ export interface ImagesUpdateOptionalParams extends coreClient.OperationOptions export type ImagesUpdateResponse = Image_2; // @public -export type ImageUpdate = UpdateResource & { +export interface ImageUpdate extends UpdateResource { + hyperVGeneration?: HyperVGenerationTypes; + readonly provisioningState?: string; sourceVirtualMachine?: SubResource; storageProfile?: ImageStorageProfile; - readonly provisioningState?: string; - hyperVGeneration?: HyperVGenerationTypes; -}; +} // @public export interface InnerError { @@ -2849,7 +2851,7 @@ export interface InnerError { exceptiontype?: string; } -// @public (undocumented) +// @public export interface InstanceSku { readonly name?: string; readonly tier?: string; @@ -2913,89 +2915,71 @@ export interface KeyVaultSecretReference { // @public export enum KnownAccessLevel { - // (undocumented) None = "None", - // (undocumented) Read = "Read", - // (undocumented) Write = "Write" } // @public export enum KnownAggregatedReplicationState { - // (undocumented) Completed = "Completed", - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownArchitecture { - // (undocumented) Arm64 = "Arm64", - // (undocumented) X64 = "x64" } // @public export enum KnownArchitectureTypes { - // (undocumented) Arm64 = "Arm64", - // (undocumented) X64 = "x64" } // @public export enum KnownAvailabilitySetSkuTypes { - // (undocumented) Aligned = "Aligned", - // (undocumented) Classic = "Classic" } // @public export enum KnownCapacityReservationGroupInstanceViewTypes { - // (undocumented) InstanceView = "instanceView" } // @public export enum KnownCapacityReservationInstanceViewTypes { - // (undocumented) InstanceView = "instanceView" } +// @public +export enum KnownCloudServiceSlotType { + Production = "Production", + Staging = "Staging" +} + // @public export enum KnownCloudServiceUpgradeMode { - // (undocumented) Auto = "Auto", - // (undocumented) Manual = "Manual", - // (undocumented) Simultaneous = "Simultaneous" } // @public export enum KnownConfidentialVMEncryptionType { - // (undocumented) EncryptedVMGuestStateOnlyWithPmk = "EncryptedVMGuestStateOnlyWithPmk", - // (undocumented) EncryptedWithCmk = "EncryptedWithCmk", - // (undocumented) EncryptedWithPmk = "EncryptedWithPmk" } // @public export enum KnownConsistencyModeTypes { - // (undocumented) ApplicationConsistent = "ApplicationConsistent", - // (undocumented) CrashConsistent = "CrashConsistent", - // (undocumented) FileSystemConsistent = "FileSystemConsistent" } @@ -3012,23 +2996,18 @@ export enum KnownDataAccessAuthMode { // @public export enum KnownDeleteOptions { - // (undocumented) Delete = "Delete", - // (undocumented) Detach = "Detach" } // @public export enum KnownDiffDiskOptions { - // (undocumented) Local = "Local" } // @public export enum KnownDiffDiskPlacement { - // (undocumented) CacheDisk = "CacheDisk", - // (undocumented) ResourceDisk = "ResourceDisk" } @@ -3048,37 +3027,27 @@ export enum KnownDiskCreateOption { // @public export enum KnownDiskCreateOptionTypes { - // (undocumented) Attach = "Attach", - // (undocumented) Empty = "Empty", - // (undocumented) FromImage = "FromImage" } // @public export enum KnownDiskDeleteOptionTypes { - // (undocumented) Delete = "Delete", - // (undocumented) Detach = "Detach" } // @public export enum KnownDiskDetachOptionTypes { - // (undocumented) ForceDetach = "ForceDetach" } // @public export enum KnownDiskEncryptionSetIdentityType { - // (undocumented) None = "None", - // (undocumented) SystemAssigned = "SystemAssigned", - // (undocumented) SystemAssignedUserAssigned = "SystemAssigned, UserAssigned", - // (undocumented) UserAssigned = "UserAssigned" } @@ -3129,153 +3098,111 @@ export enum KnownEncryptionType { // @public export enum KnownExecutionState { - // (undocumented) Canceled = "Canceled", - // (undocumented) Failed = "Failed", - // (undocumented) Pending = "Pending", - // (undocumented) Running = "Running", - // (undocumented) Succeeded = "Succeeded", - // (undocumented) TimedOut = "TimedOut", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownExpandTypesForGetCapacityReservationGroups { - // (undocumented) VirtualMachineScaleSetVMsRef = "virtualMachineScaleSetVMs/$ref", - // (undocumented) VirtualMachinesRef = "virtualMachines/$ref" } // @public export enum KnownExpandTypesForGetVMScaleSets { - // (undocumented) UserData = "userData" } // @public export enum KnownExtendedLocationType { - // (undocumented) EdgeZone = "EdgeZone" } // @public export enum KnownExtendedLocationTypes { - // (undocumented) EdgeZone = "EdgeZone" } // @public export enum KnownGalleryExpandParams { - // (undocumented) SharingProfileGroups = "SharingProfile/Groups" } // @public export enum KnownGalleryExtendedLocationType { - // (undocumented) EdgeZone = "EdgeZone", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownGalleryProvisioningState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Migrating = "Migrating", - // (undocumented) Succeeded = "Succeeded", - // (undocumented) Updating = "Updating" } // @public export enum KnownGallerySharingPermissionTypes { - // (undocumented) Community = "Community", - // (undocumented) Groups = "Groups", - // (undocumented) Private = "Private" } // @public export enum KnownHyperVGeneration { - // (undocumented) V1 = "V1", - // (undocumented) V2 = "V2" } // @public export enum KnownHyperVGenerationType { - // (undocumented) V1 = "V1", - // (undocumented) V2 = "V2" } // @public export enum KnownHyperVGenerationTypes { - // (undocumented) V1 = "V1", - // (undocumented) V2 = "V2" } // @public export enum KnownIPVersion { - // (undocumented) IPv4 = "IPv4", - // (undocumented) IPv6 = "IPv6" } // @public export enum KnownIPVersions { - // (undocumented) IPv4 = "IPv4", - // (undocumented) IPv6 = "IPv6" } // @public export enum KnownLinuxPatchAssessmentMode { - // (undocumented) AutomaticByPlatform = "AutomaticByPlatform", - // (undocumented) ImageDefault = "ImageDefault" } // @public export enum KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting { - // (undocumented) Always = "Always", - // (undocumented) IfRequired = "IfRequired", - // (undocumented) Never = "Never", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownLinuxVMGuestPatchMode { - // (undocumented) AutomaticByPlatform = "AutomaticByPlatform", - // (undocumented) ImageDefault = "ImageDefault" } @@ -3288,141 +3215,101 @@ export enum KnownNetworkAccessPolicy { // @public export enum KnownNetworkApiVersion { - // (undocumented) TwoThousandTwenty1101 = "2020-11-01" } // @public export enum KnownOperatingSystemType { - // (undocumented) Linux = "Linux", - // (undocumented) Windows = "Windows" } // @public export enum KnownOrchestrationMode { - // (undocumented) Flexible = "Flexible", - // (undocumented) Uniform = "Uniform" } // @public export enum KnownOrchestrationServiceNames { - // (undocumented) AutomaticRepairs = "AutomaticRepairs", - // (undocumented) DummyOrchestrationServiceName = "DummyOrchestrationServiceName" } // @public export enum KnownOrchestrationServiceState { - // (undocumented) NotRunning = "NotRunning", - // (undocumented) Running = "Running", - // (undocumented) Suspended = "Suspended" } // @public export enum KnownOrchestrationServiceStateAction { - // (undocumented) Resume = "Resume", - // (undocumented) Suspend = "Suspend" } // @public export enum KnownPatchAssessmentState { - // (undocumented) Available = "Available", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownPatchInstallationState { - // (undocumented) Excluded = "Excluded", - // (undocumented) Failed = "Failed", - // (undocumented) Installed = "Installed", - // (undocumented) NotSelected = "NotSelected", - // (undocumented) Pending = "Pending", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownPatchOperationStatus { - // (undocumented) CompletedWithWarnings = "CompletedWithWarnings", - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Succeeded = "Succeeded", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownPrivateEndpointConnectionProvisioningState { - // (undocumented) Creating = "Creating", - // (undocumented) Deleting = "Deleting", - // (undocumented) Failed = "Failed", - // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownPrivateEndpointServiceConnectionStatus { - // (undocumented) Approved = "Approved", - // (undocumented) Pending = "Pending", - // (undocumented) Rejected = "Rejected" } // @public export enum KnownProximityPlacementGroupType { - // (undocumented) Standard = "Standard", - // (undocumented) Ultra = "Ultra" } // @public export enum KnownPublicIPAddressSkuName { - // (undocumented) Basic = "Basic", - // (undocumented) Standard = "Standard" } // @public export enum KnownPublicIPAddressSkuTier { - // (undocumented) Global = "Global", - // (undocumented) Regional = "Regional" } // @public export enum KnownPublicIPAllocationMethod { - // (undocumented) Dynamic = "Dynamic", - // (undocumented) Static = "Static" } @@ -3434,119 +3321,88 @@ export enum KnownPublicNetworkAccess { // @public export enum KnownRepairAction { - // (undocumented) Reimage = "Reimage", - // (undocumented) Replace = "Replace", - // (undocumented) Restart = "Restart" } // @public export enum KnownReplicationMode { - // (undocumented) Full = "Full", - // (undocumented) Shallow = "Shallow" } // @public export enum KnownReplicationState { - // (undocumented) Completed = "Completed", - // (undocumented) Failed = "Failed", - // (undocumented) Replicating = "Replicating", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownReplicationStatusTypes { - // (undocumented) ReplicationStatus = "ReplicationStatus" } // @public export enum KnownRestorePointCollectionExpandOptions { - // (undocumented) RestorePoints = "restorePoints" } // @public export enum KnownRestorePointExpandOptions { - // (undocumented) InstanceView = "instanceView" } // @public export enum KnownSecurityEncryptionTypes { - // (undocumented) DiskWithVMGuestState = "DiskWithVMGuestState", - // (undocumented) VMGuestStateOnly = "VMGuestStateOnly" } // @public export enum KnownSecurityTypes { - // (undocumented) ConfidentialVM = "ConfidentialVM", - // (undocumented) TrustedLaunch = "TrustedLaunch" } // @public export enum KnownSelectPermissions { - // (undocumented) Permissions = "Permissions" } // @public export enum KnownSharedGalleryHostCaching { - // (undocumented) None = "None", - // (undocumented) ReadOnly = "ReadOnly", - // (undocumented) ReadWrite = "ReadWrite" } // @public export enum KnownSharedToValues { - // (undocumented) Tenant = "tenant" } // @public export enum KnownSharingProfileGroupTypes { - // (undocumented) AADTenants = "AADTenants", - // (undocumented) Subscriptions = "Subscriptions" } // @public export enum KnownSharingState { - // (undocumented) Failed = "Failed", - // (undocumented) InProgress = "InProgress", - // (undocumented) Succeeded = "Succeeded", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownSharingUpdateOperationTypes { - // (undocumented) Add = "Add", - // (undocumented) EnableCommunity = "EnableCommunity", - // (undocumented) Remove = "Remove", - // (undocumented) Reset = "Reset" } @@ -3559,499 +3415,280 @@ export enum KnownSnapshotStorageAccountTypes { // @public export enum KnownStorageAccountType { - // (undocumented) PremiumLRS = "Premium_LRS", - // (undocumented) StandardLRS = "Standard_LRS", - // (undocumented) StandardZRS = "Standard_ZRS" } // @public export enum KnownStorageAccountTypes { - // (undocumented) PremiumLRS = "Premium_LRS", - // (undocumented) PremiumV2LRS = "PremiumV2_LRS", - // (undocumented) PremiumZRS = "Premium_ZRS", - // (undocumented) StandardLRS = "Standard_LRS", - // (undocumented) StandardSSDLRS = "StandardSSD_LRS", - // (undocumented) StandardSSDZRS = "StandardSSD_ZRS", - // (undocumented) UltraSSDLRS = "UltraSSD_LRS" } // @public export enum KnownVirtualMachineEvictionPolicyTypes { - // (undocumented) Deallocate = "Deallocate", - // (undocumented) Delete = "Delete" } // @public export enum KnownVirtualMachinePriorityTypes { - // (undocumented) Low = "Low", - // (undocumented) Regular = "Regular", - // (undocumented) Spot = "Spot" } // @public export enum KnownVirtualMachineScaleSetScaleInRules { - // (undocumented) Default = "Default", - // (undocumented) NewestVM = "NewestVM", - // (undocumented) OldestVM = "OldestVM" } // @public export enum KnownVirtualMachineSizeTypes { - // (undocumented) BasicA0 = "Basic_A0", - // (undocumented) BasicA1 = "Basic_A1", - // (undocumented) BasicA2 = "Basic_A2", - // (undocumented) BasicA3 = "Basic_A3", - // (undocumented) BasicA4 = "Basic_A4", - // (undocumented) StandardA0 = "Standard_A0", - // (undocumented) StandardA1 = "Standard_A1", - // (undocumented) StandardA10 = "Standard_A10", - // (undocumented) StandardA11 = "Standard_A11", - // (undocumented) StandardA1V2 = "Standard_A1_v2", - // (undocumented) StandardA2 = "Standard_A2", - // (undocumented) StandardA2MV2 = "Standard_A2m_v2", - // (undocumented) StandardA2V2 = "Standard_A2_v2", - // (undocumented) StandardA3 = "Standard_A3", - // (undocumented) StandardA4 = "Standard_A4", - // (undocumented) StandardA4MV2 = "Standard_A4m_v2", - // (undocumented) StandardA4V2 = "Standard_A4_v2", - // (undocumented) StandardA5 = "Standard_A5", - // (undocumented) StandardA6 = "Standard_A6", - // (undocumented) StandardA7 = "Standard_A7", - // (undocumented) StandardA8 = "Standard_A8", - // (undocumented) StandardA8MV2 = "Standard_A8m_v2", - // (undocumented) StandardA8V2 = "Standard_A8_v2", - // (undocumented) StandardA9 = "Standard_A9", - // (undocumented) StandardB1Ms = "Standard_B1ms", - // (undocumented) StandardB1S = "Standard_B1s", - // (undocumented) StandardB2Ms = "Standard_B2ms", - // (undocumented) StandardB2S = "Standard_B2s", - // (undocumented) StandardB4Ms = "Standard_B4ms", - // (undocumented) StandardB8Ms = "Standard_B8ms", - // (undocumented) StandardD1 = "Standard_D1", - // (undocumented) StandardD11 = "Standard_D11", - // (undocumented) StandardD11V2 = "Standard_D11_v2", - // (undocumented) StandardD12 = "Standard_D12", - // (undocumented) StandardD12V2 = "Standard_D12_v2", - // (undocumented) StandardD13 = "Standard_D13", - // (undocumented) StandardD13V2 = "Standard_D13_v2", - // (undocumented) StandardD14 = "Standard_D14", - // (undocumented) StandardD14V2 = "Standard_D14_v2", - // (undocumented) StandardD15V2 = "Standard_D15_v2", - // (undocumented) StandardD16SV3 = "Standard_D16s_v3", - // (undocumented) StandardD16V3 = "Standard_D16_v3", - // (undocumented) StandardD1V2 = "Standard_D1_v2", - // (undocumented) StandardD2 = "Standard_D2", - // (undocumented) StandardD2SV3 = "Standard_D2s_v3", - // (undocumented) StandardD2V2 = "Standard_D2_v2", - // (undocumented) StandardD2V3 = "Standard_D2_v3", - // (undocumented) StandardD3 = "Standard_D3", - // (undocumented) StandardD32SV3 = "Standard_D32s_v3", - // (undocumented) StandardD32V3 = "Standard_D32_v3", - // (undocumented) StandardD3V2 = "Standard_D3_v2", - // (undocumented) StandardD4 = "Standard_D4", - // (undocumented) StandardD4SV3 = "Standard_D4s_v3", - // (undocumented) StandardD4V2 = "Standard_D4_v2", - // (undocumented) StandardD4V3 = "Standard_D4_v3", - // (undocumented) StandardD5V2 = "Standard_D5_v2", - // (undocumented) StandardD64SV3 = "Standard_D64s_v3", - // (undocumented) StandardD64V3 = "Standard_D64_v3", - // (undocumented) StandardD8SV3 = "Standard_D8s_v3", - // (undocumented) StandardD8V3 = "Standard_D8_v3", - // (undocumented) StandardDS1 = "Standard_DS1", - // (undocumented) StandardDS11 = "Standard_DS11", - // (undocumented) StandardDS11V2 = "Standard_DS11_v2", - // (undocumented) StandardDS12 = "Standard_DS12", - // (undocumented) StandardDS12V2 = "Standard_DS12_v2", - // (undocumented) StandardDS13 = "Standard_DS13", - // (undocumented) StandardDS132V2 = "Standard_DS13-2_v2", - // (undocumented) StandardDS134V2 = "Standard_DS13-4_v2", - // (undocumented) StandardDS13V2 = "Standard_DS13_v2", - // (undocumented) StandardDS14 = "Standard_DS14", - // (undocumented) StandardDS144V2 = "Standard_DS14-4_v2", - // (undocumented) StandardDS148V2 = "Standard_DS14-8_v2", - // (undocumented) StandardDS14V2 = "Standard_DS14_v2", - // (undocumented) StandardDS15V2 = "Standard_DS15_v2", - // (undocumented) StandardDS1V2 = "Standard_DS1_v2", - // (undocumented) StandardDS2 = "Standard_DS2", - // (undocumented) StandardDS2V2 = "Standard_DS2_v2", - // (undocumented) StandardDS3 = "Standard_DS3", - // (undocumented) StandardDS3V2 = "Standard_DS3_v2", - // (undocumented) StandardDS4 = "Standard_DS4", - // (undocumented) StandardDS4V2 = "Standard_DS4_v2", - // (undocumented) StandardDS5V2 = "Standard_DS5_v2", - // (undocumented) StandardE16SV3 = "Standard_E16s_v3", - // (undocumented) StandardE16V3 = "Standard_E16_v3", - // (undocumented) StandardE2SV3 = "Standard_E2s_v3", - // (undocumented) StandardE2V3 = "Standard_E2_v3", - // (undocumented) StandardE3216V3 = "Standard_E32-16_v3", - // (undocumented) StandardE328SV3 = "Standard_E32-8s_v3", - // (undocumented) StandardE32SV3 = "Standard_E32s_v3", - // (undocumented) StandardE32V3 = "Standard_E32_v3", - // (undocumented) StandardE4SV3 = "Standard_E4s_v3", - // (undocumented) StandardE4V3 = "Standard_E4_v3", - // (undocumented) StandardE6416SV3 = "Standard_E64-16s_v3", - // (undocumented) StandardE6432SV3 = "Standard_E64-32s_v3", - // (undocumented) StandardE64SV3 = "Standard_E64s_v3", - // (undocumented) StandardE64V3 = "Standard_E64_v3", - // (undocumented) StandardE8SV3 = "Standard_E8s_v3", - // (undocumented) StandardE8V3 = "Standard_E8_v3", - // (undocumented) StandardF1 = "Standard_F1", - // (undocumented) StandardF16 = "Standard_F16", - // (undocumented) StandardF16S = "Standard_F16s", - // (undocumented) StandardF16SV2 = "Standard_F16s_v2", - // (undocumented) StandardF1S = "Standard_F1s", - // (undocumented) StandardF2 = "Standard_F2", - // (undocumented) StandardF2S = "Standard_F2s", - // (undocumented) StandardF2SV2 = "Standard_F2s_v2", - // (undocumented) StandardF32SV2 = "Standard_F32s_v2", - // (undocumented) StandardF4 = "Standard_F4", - // (undocumented) StandardF4S = "Standard_F4s", - // (undocumented) StandardF4SV2 = "Standard_F4s_v2", - // (undocumented) StandardF64SV2 = "Standard_F64s_v2", - // (undocumented) StandardF72SV2 = "Standard_F72s_v2", - // (undocumented) StandardF8 = "Standard_F8", - // (undocumented) StandardF8S = "Standard_F8s", - // (undocumented) StandardF8SV2 = "Standard_F8s_v2", - // (undocumented) StandardG1 = "Standard_G1", - // (undocumented) StandardG2 = "Standard_G2", - // (undocumented) StandardG3 = "Standard_G3", - // (undocumented) StandardG4 = "Standard_G4", - // (undocumented) StandardG5 = "Standard_G5", - // (undocumented) StandardGS1 = "Standard_GS1", - // (undocumented) StandardGS2 = "Standard_GS2", - // (undocumented) StandardGS3 = "Standard_GS3", - // (undocumented) StandardGS4 = "Standard_GS4", - // (undocumented) StandardGS44 = "Standard_GS4-4", - // (undocumented) StandardGS48 = "Standard_GS4-8", - // (undocumented) StandardGS5 = "Standard_GS5", - // (undocumented) StandardGS516 = "Standard_GS5-16", - // (undocumented) StandardGS58 = "Standard_GS5-8", - // (undocumented) StandardH16 = "Standard_H16", - // (undocumented) StandardH16M = "Standard_H16m", - // (undocumented) StandardH16Mr = "Standard_H16mr", - // (undocumented) StandardH16R = "Standard_H16r", - // (undocumented) StandardH8 = "Standard_H8", - // (undocumented) StandardH8M = "Standard_H8m", - // (undocumented) StandardL16S = "Standard_L16s", - // (undocumented) StandardL32S = "Standard_L32s", - // (undocumented) StandardL4S = "Standard_L4s", - // (undocumented) StandardL8S = "Standard_L8s", - // (undocumented) StandardM12832Ms = "Standard_M128-32ms", - // (undocumented) StandardM12864Ms = "Standard_M128-64ms", - // (undocumented) StandardM128Ms = "Standard_M128ms", - // (undocumented) StandardM128S = "Standard_M128s", - // (undocumented) StandardM6416Ms = "Standard_M64-16ms", - // (undocumented) StandardM6432Ms = "Standard_M64-32ms", - // (undocumented) StandardM64Ms = "Standard_M64ms", - // (undocumented) StandardM64S = "Standard_M64s", - // (undocumented) StandardNC12 = "Standard_NC12", - // (undocumented) StandardNC12SV2 = "Standard_NC12s_v2", - // (undocumented) StandardNC12SV3 = "Standard_NC12s_v3", - // (undocumented) StandardNC24 = "Standard_NC24", - // (undocumented) StandardNC24R = "Standard_NC24r", - // (undocumented) StandardNC24RsV2 = "Standard_NC24rs_v2", - // (undocumented) StandardNC24RsV3 = "Standard_NC24rs_v3", - // (undocumented) StandardNC24SV2 = "Standard_NC24s_v2", - // (undocumented) StandardNC24SV3 = "Standard_NC24s_v3", - // (undocumented) StandardNC6 = "Standard_NC6", - // (undocumented) StandardNC6SV2 = "Standard_NC6s_v2", - // (undocumented) StandardNC6SV3 = "Standard_NC6s_v3", - // (undocumented) StandardND12S = "Standard_ND12s", - // (undocumented) StandardND24Rs = "Standard_ND24rs", - // (undocumented) StandardND24S = "Standard_ND24s", - // (undocumented) StandardND6S = "Standard_ND6s", - // (undocumented) StandardNV12 = "Standard_NV12", - // (undocumented) StandardNV24 = "Standard_NV24", - // (undocumented) StandardNV6 = "Standard_NV6" } // @public export enum KnownVmDiskTypes { - // (undocumented) None = "None", - // (undocumented) Unmanaged = "Unmanaged" } // @public export enum KnownVMGuestPatchClassificationLinux { - // (undocumented) Critical = "Critical", - // (undocumented) Other = "Other", - // (undocumented) Security = "Security" } // @public export enum KnownVMGuestPatchClassificationWindows { - // (undocumented) Critical = "Critical", - // (undocumented) Definition = "Definition", - // (undocumented) FeaturePack = "FeaturePack", - // (undocumented) Security = "Security", - // (undocumented) ServicePack = "ServicePack", - // (undocumented) Tools = "Tools", - // (undocumented) UpdateRollUp = "UpdateRollUp", - // (undocumented) Updates = "Updates" } // @public export enum KnownVMGuestPatchRebootBehavior { - // (undocumented) AlwaysRequiresReboot = "AlwaysRequiresReboot", - // (undocumented) CanRequestReboot = "CanRequestReboot", - // (undocumented) NeverReboots = "NeverReboots", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownVMGuestPatchRebootSetting { - // (undocumented) Always = "Always", - // (undocumented) IfRequired = "IfRequired", - // (undocumented) Never = "Never" } // @public export enum KnownVMGuestPatchRebootStatus { - // (undocumented) Completed = "Completed", - // (undocumented) Failed = "Failed", - // (undocumented) NotNeeded = "NotNeeded", - // (undocumented) Required = "Required", - // (undocumented) Started = "Started", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownWindowsPatchAssessmentMode { - // (undocumented) AutomaticByPlatform = "AutomaticByPlatform", - // (undocumented) ImageDefault = "ImageDefault" } // @public export enum KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting { - // (undocumented) Always = "Always", - // (undocumented) IfRequired = "IfRequired", - // (undocumented) Never = "Never", - // (undocumented) Unknown = "Unknown" } // @public export enum KnownWindowsVMGuestPatchMode { - // (undocumented) AutomaticByOS = "AutomaticByOS", - // (undocumented) AutomaticByPlatform = "AutomaticByPlatform", - // (undocumented) Manual = "Manual" } @@ -4120,12 +3757,12 @@ export interface LoadBalancerConfiguration { properties: LoadBalancerConfigurationProperties; } -// @public (undocumented) +// @public export interface LoadBalancerConfigurationProperties { frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[]; } -// @public (undocumented) +// @public export interface LoadBalancerFrontendIPConfiguration { name: string; properties: LoadBalancerFrontendIPConfigurationProperties; @@ -4206,11 +3843,11 @@ export interface ManagedArtifact { } // @public -export type ManagedDiskParameters = SubResource & { - storageAccountType?: StorageAccountTypes; +export interface ManagedDiskParameters extends SubResource { diskEncryptionSet?: DiskEncryptionSetParameters; securityProfile?: VMDiskSecurityProfile; -}; + storageAccountType?: StorageAccountTypes; +} // @public export type NetworkAccessPolicy = string; @@ -4219,10 +3856,10 @@ export type NetworkAccessPolicy = string; export type NetworkApiVersion = string; // @public -export type NetworkInterfaceReference = SubResource & { - primary?: boolean; +export interface NetworkInterfaceReference extends SubResource { deleteOption?: DeleteOptions; -}; + primary?: boolean; +} // @public export interface NetworkProfile { @@ -4298,9 +3935,9 @@ export interface OSDiskImage { } // @public -export type OSDiskImageEncryption = DiskImageEncryption & { +export interface OSDiskImageEncryption extends DiskImageEncryption { securityProfile?: OSDiskImageSecurityProfile; -}; +} // @public export interface OSDiskImageSecurityProfile { @@ -4317,11 +3954,9 @@ export interface OSFamily { readonly type?: string; } -// @public (undocumented) +// @public export interface OSFamilyListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: OSFamily[]; } @@ -4354,11 +3989,9 @@ export interface OSVersion { readonly type?: string; } -// @public (undocumented) +// @public export interface OSVersionListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: OSVersion[]; } @@ -4422,9 +4055,9 @@ export interface PirResource { } // @public -export type PirSharedGalleryResource = PirResource & { +export interface PirSharedGalleryResource extends PirResource { uniqueId?: string; -}; +} // @public export interface Plan { @@ -4492,15 +4125,15 @@ export interface PropertyUpdatesInProgress { export type ProtocolTypes = "Http" | "Https"; // @public -export type ProximityPlacementGroup = Resource & { - zones?: string[]; - proximityPlacementGroupType?: ProximityPlacementGroupType; - readonly virtualMachines?: SubResourceWithColocationStatus[]; - readonly virtualMachineScaleSets?: SubResourceWithColocationStatus[]; +export interface ProximityPlacementGroup extends Resource { readonly availabilitySets?: SubResourceWithColocationStatus[]; colocationStatus?: InstanceViewStatus; intent?: ProximityPlacementGroupPropertiesIntent; -}; + proximityPlacementGroupType?: ProximityPlacementGroupType; + readonly virtualMachines?: SubResourceWithColocationStatus[]; + readonly virtualMachineScaleSets?: SubResourceWithColocationStatus[]; + zones?: string[]; +} // @public export interface ProximityPlacementGroupListResult { @@ -4581,7 +4214,8 @@ export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup; export type ProximityPlacementGroupType = string; // @public -export type ProximityPlacementGroupUpdate = UpdateResource; +export interface ProximityPlacementGroupUpdate extends UpdateResource { +} // @public export interface ProxyOnlyResource { @@ -4676,9 +4310,9 @@ export interface ReplicationStatus { export type ReplicationStatusTypes = string; // @public -export type RequestRateByIntervalInput = LogAnalyticsInputBase & { +export interface RequestRateByIntervalInput extends LogAnalyticsInputBase { intervalLength: IntervalInMins; -}; +} // @public export interface Resource { @@ -4832,23 +4466,23 @@ export interface ResourceWithOptionalLocation { } // @public -export type RestorePoint = ProxyResource & { +export interface RestorePoint extends ProxyResource { + consistencyMode?: ConsistencyModeTypes; excludeDisks?: ApiEntityReference[]; - readonly sourceMetadata?: RestorePointSourceMetadata; + readonly instanceView?: RestorePointInstanceView; readonly provisioningState?: string; - consistencyMode?: ConsistencyModeTypes; - timeCreated?: Date; + readonly sourceMetadata?: RestorePointSourceMetadata; sourceRestorePoint?: ApiEntityReference; - readonly instanceView?: RestorePointInstanceView; -}; + timeCreated?: Date; +} // @public -export type RestorePointCollection = Resource & { - source?: RestorePointCollectionSourceProperties; +export interface RestorePointCollection extends Resource { readonly provisioningState?: string; readonly restorePointCollectionId?: string; readonly restorePoints?: RestorePoint[]; -}; + source?: RestorePointCollectionSourceProperties; +} // @public export type RestorePointCollectionExpandOptions = string; @@ -4933,12 +4567,12 @@ export interface RestorePointCollectionsUpdateOptionalParams extends coreClient. export type RestorePointCollectionsUpdateResponse = RestorePointCollection; // @public -export type RestorePointCollectionUpdate = UpdateResource & { - source?: RestorePointCollectionSourceProperties; +export interface RestorePointCollectionUpdate extends UpdateResource { readonly provisioningState?: string; readonly restorePointCollectionId?: string; readonly restorePoints?: RestorePoint[]; -}; + source?: RestorePointCollectionSourceProperties; +} // @public export type RestorePointExpandOptions = string; @@ -5026,14 +4660,12 @@ export interface RetrieveBootDiagnosticsDataResult { readonly serialConsoleLogBlobUri?: string; } -// @public (undocumented) +// @public export interface RoleInstance { readonly id?: string; readonly location?: string; readonly name?: string; - // (undocumented) properties?: RoleInstanceProperties; - // (undocumented) sku?: InstanceSku; readonly tags?: { [propertyName: string]: string; @@ -5041,11 +4673,9 @@ export interface RoleInstance { readonly type?: string; } -// @public (undocumented) +// @public export interface RoleInstanceListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: RoleInstance[]; } @@ -5054,7 +4684,7 @@ export interface RoleInstanceNetworkProfile { readonly networkInterfaces?: SubResource[]; } -// @public (undocumented) +// @public export interface RoleInstanceProperties { instanceView?: RoleInstanceView; networkProfile?: RoleInstanceNetworkProfile; @@ -5113,18 +4743,18 @@ export interface RollingUpgradeRunningStatus { export type RollingUpgradeStatusCode = "RollingForward" | "Cancelled" | "Completed" | "Faulted"; // @public -export type RollingUpgradeStatusInfo = Resource & { +export interface RollingUpgradeStatusInfo extends Resource { + readonly error?: ApiError; readonly policy?: RollingUpgradePolicy; - readonly runningStatus?: RollingUpgradeRunningStatus; readonly progress?: RollingUpgradeProgressInfo; - readonly error?: ApiError; -}; + readonly runningStatus?: RollingUpgradeRunningStatus; +} // @public -export type RunCommandDocument = RunCommandDocumentBase & { - script: string[]; +export interface RunCommandDocument extends RunCommandDocumentBase { parameters?: RunCommandParameterDefinition[]; -}; + script: string[]; +} // @public export interface RunCommandDocumentBase { @@ -5227,12 +4857,13 @@ export interface SharedGalleriesListOptionalParams extends coreClient.OperationO export type SharedGalleriesListResponse = SharedGalleryList; // @public -export type SharedGallery = PirSharedGalleryResource; +export interface SharedGallery extends PirSharedGalleryResource { +} // @public -export type SharedGalleryDataDiskImage = SharedGalleryDiskImage & { +export interface SharedGalleryDataDiskImage extends SharedGalleryDiskImage { lun: number; -}; +} // @public export interface SharedGalleryDiskImage { @@ -5244,18 +4875,18 @@ export interface SharedGalleryDiskImage { export type SharedGalleryHostCaching = string; // @public -export type SharedGalleryImage = PirSharedGalleryResource & { - osType?: OperatingSystemTypes; - osState?: OperatingSystemStateTypes; - endOfLifeDate?: Date; - identifier?: GalleryImageIdentifier; - recommended?: RecommendedMachineConfiguration; +export interface SharedGalleryImage extends PirSharedGalleryResource { + architecture?: Architecture; disallowed?: Disallowed; - hyperVGeneration?: HyperVGeneration; + endOfLifeDate?: Date; features?: GalleryImageFeature[]; + hyperVGeneration?: HyperVGeneration; + identifier?: GalleryImageIdentifier; + osState?: OperatingSystemStateTypes; + osType?: OperatingSystemTypes; purchasePlan?: ImagePurchasePlan; - architecture?: Architecture; -}; + recommended?: RecommendedMachineConfiguration; +} // @public export interface SharedGalleryImageList { @@ -5293,12 +4924,12 @@ export interface SharedGalleryImagesListOptionalParams extends coreClient.Operat export type SharedGalleryImagesListResponse = SharedGalleryImageList; // @public -export type SharedGalleryImageVersion = PirSharedGalleryResource & { - publishedDate?: Date; +export interface SharedGalleryImageVersion extends PirSharedGalleryResource { endOfLifeDate?: Date; excludeFromLatest?: boolean; + publishedDate?: Date; storageProfile?: SharedGalleryImageVersionStorageProfile; -}; +} // @public export interface SharedGalleryImageVersionList { @@ -5348,7 +4979,8 @@ export interface SharedGalleryList { } // @public -export type SharedGalleryOSDiskImage = SharedGalleryDiskImage; +export interface SharedGalleryOSDiskImage extends SharedGalleryDiskImage { +} // @public export type SharedToValues = string; @@ -5400,33 +5032,33 @@ export interface Sku { } // @public -export type Snapshot = Resource & { - readonly managedBy?: string; - sku?: SnapshotSku; - extendedLocation?: ExtendedLocation; - readonly timeCreated?: Date; - osType?: OperatingSystemTypes; - hyperVGeneration?: HyperVGeneration; - purchasePlan?: PurchasePlanAutoGenerated; - supportedCapabilities?: SupportedCapabilities; +export interface Snapshot extends Resource { + completionPercent?: number; + copyCompletionError?: CopyCompletionError; creationData?: CreationData; - diskSizeGB?: number; + dataAccessAuthMode?: DataAccessAuthMode; + diskAccessId?: string; readonly diskSizeBytes?: number; + diskSizeGB?: number; readonly diskState?: DiskState; - readonly uniqueId?: string; + encryption?: Encryption; encryptionSettingsCollection?: EncryptionSettingsCollection; - readonly provisioningState?: string; + extendedLocation?: ExtendedLocation; + hyperVGeneration?: HyperVGeneration; incremental?: boolean; - encryption?: Encryption; + readonly managedBy?: string; networkAccessPolicy?: NetworkAccessPolicy; - diskAccessId?: string; + osType?: OperatingSystemTypes; + readonly provisioningState?: string; + publicNetworkAccess?: PublicNetworkAccess; + purchasePlan?: PurchasePlanAutoGenerated; securityProfile?: DiskSecurityProfile; + sku?: SnapshotSku; + supportedCapabilities?: SupportedCapabilities; supportsHibernation?: boolean; - publicNetworkAccess?: PublicNetworkAccess; - completionPercent?: number; - copyCompletionError?: CopyCompletionError; - dataAccessAuthMode?: DataAccessAuthMode; -}; + readonly timeCreated?: Date; + readonly uniqueId?: string; +} // @public export interface SnapshotList { @@ -5587,9 +5219,9 @@ export interface SshPublicKeyGenerateKeyPairResult { } // @public -export type SshPublicKeyResource = Resource & { +export interface SshPublicKeyResource extends Resource { publicKey?: string; -}; +} // @public export interface SshPublicKeys { @@ -5669,11 +5301,11 @@ export interface SshPublicKeysUpdateOptionalParams extends coreClient.OperationO export type SshPublicKeysUpdateResponse = SshPublicKeyResource; // @public -export type SshPublicKeyUpdateResource = UpdateResource & { +export interface SshPublicKeyUpdateResource extends UpdateResource { publicKey?: string; -}; +} -// @public (undocumented) +// @public export interface StatusCodeCount { readonly code?: string; readonly count?: number; @@ -5706,9 +5338,9 @@ export interface SubResourceReadOnly { } // @public (undocumented) -export type SubResourceWithColocationStatus = SubResource & { +export interface SubResourceWithColocationStatus extends SubResource { colocationStatus?: InstanceViewStatus; -}; +} // @public export interface SupportedCapabilities { @@ -5716,6 +5348,12 @@ export interface SupportedCapabilities { architecture?: Architecture; } +// @public +export interface SystemData { + readonly createdAt?: Date; + readonly lastModifiedAt?: Date; +} + // @public export interface TargetRegion { encryption?: EncryptionImages; @@ -5731,7 +5369,8 @@ export interface TerminateNotificationProfile { } // @public -export type ThrottledRequestsInput = LogAnalyticsInputBase; +export interface ThrottledRequestsInput extends LogAnalyticsInputBase { +} // @public export interface UefiSettings { @@ -5745,11 +5384,9 @@ export interface UpdateDomain { readonly name?: string; } -// @public (undocumented) +// @public export interface UpdateDomainListResult { - // (undocumented) nextLink?: string; - // (undocumented) value: UpdateDomain[]; } @@ -5886,39 +5523,39 @@ export interface VirtualHardDisk { } // @public -export type VirtualMachine = Resource & { - plan?: Plan; - readonly resources?: VirtualMachineExtension[]; - identity?: VirtualMachineIdentity; - zones?: string[]; - extendedLocation?: ExtendedLocation; - hardwareProfile?: HardwareProfile; - storageProfile?: StorageProfile; +export interface VirtualMachine extends Resource { additionalCapabilities?: AdditionalCapabilities; - osProfile?: OSProfile; - networkProfile?: NetworkProfile; - securityProfile?: SecurityProfile; - diagnosticsProfile?: DiagnosticsProfile; + applicationProfile?: ApplicationProfile; availabilitySet?: SubResource; - virtualMachineScaleSet?: SubResource; - proximityPlacementGroup?: SubResource; - priority?: VirtualMachinePriorityTypes; - evictionPolicy?: VirtualMachineEvictionPolicyTypes; billingProfile?: BillingProfile; + capacityReservation?: CapacityReservationProfile; + diagnosticsProfile?: DiagnosticsProfile; + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + extendedLocation?: ExtendedLocation; + extensionsTimeBudget?: string; + hardwareProfile?: HardwareProfile; host?: SubResource; hostGroup?: SubResource; - readonly provisioningState?: string; + identity?: VirtualMachineIdentity; readonly instanceView?: VirtualMachineInstanceView; licenseType?: string; - readonly vmId?: string; - extensionsTimeBudget?: string; + networkProfile?: NetworkProfile; + osProfile?: OSProfile; + plan?: Plan; platformFaultDomain?: number; + priority?: VirtualMachinePriorityTypes; + readonly provisioningState?: string; + proximityPlacementGroup?: SubResource; + readonly resources?: VirtualMachineExtension[]; scheduledEventsProfile?: ScheduledEventsProfile; - userData?: string; - capacityReservation?: CapacityReservationProfile; - applicationProfile?: ApplicationProfile; + securityProfile?: SecurityProfile; + storageProfile?: StorageProfile; readonly timeCreated?: Date; -}; + userData?: string; + virtualMachineScaleSet?: SubResource; + readonly vmId?: string; + zones?: string[]; +} // @public export interface VirtualMachineAgentInstanceView { @@ -5947,31 +5584,31 @@ export interface VirtualMachineCaptureParameters { } // @public -export type VirtualMachineCaptureResult = SubResource & { - readonly schema?: string; +export interface VirtualMachineCaptureResult extends SubResource { readonly contentVersion?: string; - readonly parameters?: Record; - readonly resources?: Record[]; -}; + readonly parameters?: any; + readonly resources?: any[]; + readonly schema?: string; +} // @public export type VirtualMachineEvictionPolicyTypes = string; // @public -export type VirtualMachineExtension = ResourceWithOptionalLocation & { - forceUpdateTag?: string; - publisher?: string; - typePropertiesType?: string; - typeHandlerVersion?: string; +export interface VirtualMachineExtension extends ResourceWithOptionalLocation { autoUpgradeMinorVersion?: boolean; enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; - readonly provisioningState?: string; + forceUpdateTag?: string; instanceView?: VirtualMachineExtensionInstanceView; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; + readonly provisioningState?: string; + publisher?: string; + settings?: any; suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; + typeHandlerVersion?: string; + typePropertiesType?: string; +} // @public export interface VirtualMachineExtensionHandlerInstanceView { @@ -5981,13 +5618,13 @@ export interface VirtualMachineExtensionHandlerInstanceView { } // @public -export type VirtualMachineExtensionImage = Resource & { - operatingSystem?: string; +export interface VirtualMachineExtensionImage extends Resource { computeRole?: string; handlerSchema?: string; - vmScaleSetEnabled?: boolean; + operatingSystem?: string; supportsMultipleExtensions?: boolean; -}; + vmScaleSetEnabled?: boolean; +} // @public export interface VirtualMachineExtensionImages { @@ -6089,18 +5726,18 @@ export interface VirtualMachineExtensionsUpdateOptionalParams extends coreClient export type VirtualMachineExtensionsUpdateResponse = VirtualMachineExtension; // @public -export type VirtualMachineExtensionUpdate = UpdateResource & { +export interface VirtualMachineExtensionUpdate extends UpdateResource { + autoUpgradeMinorVersion?: boolean; + enableAutomaticUpgrade?: boolean; forceUpdateTag?: string; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; publisher?: string; + settings?: any; + suppressFailures?: boolean; type?: string; typeHandlerVersion?: string; - autoUpgradeMinorVersion?: boolean; - enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; - suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; +} // @public export interface VirtualMachineHealthStatus { @@ -6118,16 +5755,18 @@ export interface VirtualMachineIdentity { } // @public -export type VirtualMachineImage = VirtualMachineImageResource & { - plan?: PurchasePlan; - osDiskImage?: OSDiskImage; - dataDiskImages?: DataDiskImage[]; +export interface VirtualMachineImage extends VirtualMachineImageResource { + architecture?: ArchitectureTypes; automaticOSUpgradeProperties?: AutomaticOSUpgradeProperties; - hyperVGeneration?: HyperVGenerationTypes; + // (undocumented) + dataDiskImages?: DataDiskImage[]; disallowed?: DisallowedConfiguration; + // (undocumented) features?: VirtualMachineImageFeature[]; - architecture?: ArchitectureTypes; -}; + hyperVGeneration?: HyperVGenerationTypes; + osDiskImage?: OSDiskImage; + plan?: PurchasePlan; +} // @public export interface VirtualMachineImageFeature { @@ -6136,14 +5775,14 @@ export interface VirtualMachineImageFeature { } // @public -export type VirtualMachineImageResource = SubResource & { - name: string; +export interface VirtualMachineImageResource extends SubResource { + extendedLocation?: ExtendedLocation; location: string; + name: string; tags?: { [propertyName: string]: string; }; - extendedLocation?: ExtendedLocation; -}; +} // @public export interface VirtualMachineImages { @@ -6371,19 +6010,19 @@ export interface VirtualMachineReimageParameters { } // @public -export type VirtualMachineRunCommand = Resource & { - source?: VirtualMachineRunCommandScriptSource; +export interface VirtualMachineRunCommand extends Resource { + asyncExecution?: boolean; + errorBlobUri?: string; + readonly instanceView?: VirtualMachineRunCommandInstanceView; + outputBlobUri?: string; parameters?: RunCommandInputParameter[]; protectedParameters?: RunCommandInputParameter[]; - asyncExecution?: boolean; - runAsUser?: string; + readonly provisioningState?: string; runAsPassword?: string; + runAsUser?: string; + source?: VirtualMachineRunCommandScriptSource; timeoutInSeconds?: number; - outputBlobUri?: string; - errorBlobUri?: string; - readonly provisioningState?: string; - readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; +} // @public export interface VirtualMachineRunCommandInstanceView { @@ -6494,19 +6133,19 @@ export interface VirtualMachineRunCommandsUpdateOptionalParams extends coreClien export type VirtualMachineRunCommandsUpdateResponse = VirtualMachineRunCommand; // @public -export type VirtualMachineRunCommandUpdate = UpdateResource & { - source?: VirtualMachineRunCommandScriptSource; +export interface VirtualMachineRunCommandUpdate extends UpdateResource { + asyncExecution?: boolean; + errorBlobUri?: string; + readonly instanceView?: VirtualMachineRunCommandInstanceView; + outputBlobUri?: string; parameters?: RunCommandInputParameter[]; protectedParameters?: RunCommandInputParameter[]; - asyncExecution?: boolean; - runAsUser?: string; + readonly provisioningState?: string; runAsPassword?: string; + runAsUser?: string; + source?: VirtualMachineRunCommandScriptSource; timeoutInSeconds?: number; - outputBlobUri?: string; - errorBlobUri?: string; - readonly provisioningState?: string; - readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; +} // @public export interface VirtualMachines { @@ -6563,30 +6202,30 @@ export interface VirtualMachinesAssessPatchesOptionalParams extends coreClient.O export type VirtualMachinesAssessPatchesResponse = VirtualMachineAssessPatchesResult; // @public -export type VirtualMachineScaleSet = Resource & { - sku?: Sku; - plan?: Plan; - identity?: VirtualMachineScaleSetIdentity; - zones?: string[]; - extendedLocation?: ExtendedLocation; - upgradePolicy?: UpgradePolicy; +export interface VirtualMachineScaleSet extends Resource { + additionalCapabilities?: AdditionalCapabilities; automaticRepairsPolicy?: AutomaticRepairsPolicy; - virtualMachineProfile?: VirtualMachineScaleSetVMProfile; - readonly provisioningState?: string; - overprovision?: boolean; doNotRunExtensionsOnOverprovisionedVMs?: boolean; - readonly uniqueId?: string; - singlePlacementGroup?: boolean; - zoneBalance?: boolean; + extendedLocation?: ExtendedLocation; + hostGroup?: SubResource; + identity?: VirtualMachineScaleSetIdentity; + orchestrationMode?: OrchestrationMode; + overprovision?: boolean; + plan?: Plan; platformFaultDomainCount?: number; + readonly provisioningState?: string; proximityPlacementGroup?: SubResource; - hostGroup?: SubResource; - additionalCapabilities?: AdditionalCapabilities; scaleInPolicy?: ScaleInPolicy; - orchestrationMode?: OrchestrationMode; + singlePlacementGroup?: boolean; + sku?: Sku; spotRestorePolicy?: SpotRestorePolicy; readonly timeCreated?: Date; -}; + readonly uniqueId?: string; + upgradePolicy?: UpgradePolicy; + virtualMachineProfile?: VirtualMachineScaleSetVMProfile; + zoneBalance?: boolean; + zones?: string[]; +} // @public export interface VirtualMachineScaleSetDataDisk { @@ -6603,22 +6242,22 @@ export interface VirtualMachineScaleSetDataDisk { } // @public -export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { - name?: string; - readonly type?: string; - forceUpdateTag?: string; - publisher?: string; - typePropertiesType?: string; - typeHandlerVersion?: string; +export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { autoUpgradeMinorVersion?: boolean; enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; - readonly provisioningState?: string; + forceUpdateTag?: string; + name?: string; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; provisionAfterExtensions?: string[]; + readonly provisioningState?: string; + publisher?: string; + settings?: any; suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; + readonly type?: string; + typeHandlerVersion?: string; + typePropertiesType?: string; +} // @public export interface VirtualMachineScaleSetExtensionListResult { @@ -6691,22 +6330,22 @@ export interface VirtualMachineScaleSetExtensionsUpdateOptionalParams extends co export type VirtualMachineScaleSetExtensionsUpdateResponse = VirtualMachineScaleSetExtension; // @public -export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { - readonly name?: string; - readonly type?: string; - forceUpdateTag?: string; - publisher?: string; - typePropertiesType?: string; - typeHandlerVersion?: string; +export interface VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly { autoUpgradeMinorVersion?: boolean; enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; - readonly provisioningState?: string; + forceUpdateTag?: string; + readonly name?: string; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; provisionAfterExtensions?: string[]; + readonly provisioningState?: string; + publisher?: string; + settings?: any; suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; + readonly type?: string; + typeHandlerVersion?: string; + typePropertiesType?: string; +} // @public export interface VirtualMachineScaleSetHardwareProfile { @@ -6737,17 +6376,17 @@ export interface VirtualMachineScaleSetInstanceViewStatusesSummary { } // @public -export type VirtualMachineScaleSetIPConfiguration = SubResource & { - name: string; - subnet?: ApiEntityReference; - primary?: boolean; - publicIPAddressConfiguration?: VirtualMachineScaleSetPublicIPAddressConfiguration; - privateIPAddressVersion?: IPVersion; +export interface VirtualMachineScaleSetIPConfiguration extends SubResource { applicationGatewayBackendAddressPools?: SubResource[]; applicationSecurityGroups?: SubResource[]; loadBalancerBackendAddressPools?: SubResource[]; loadBalancerInboundNatPools?: SubResource[]; -}; + name: string; + primary?: boolean; + privateIPAddressVersion?: IPVersion; + publicIPAddressConfiguration?: VirtualMachineScaleSetPublicIPAddressConfiguration; + subnet?: ApiEntityReference; +} // @public export interface VirtualMachineScaleSetIpTag { @@ -6787,17 +6426,17 @@ export interface VirtualMachineScaleSetManagedDiskParameters { } // @public -export type VirtualMachineScaleSetNetworkConfiguration = SubResource & { - name: string; - primary?: boolean; +export interface VirtualMachineScaleSetNetworkConfiguration extends SubResource { + deleteOption?: DeleteOptions; + dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings; enableAcceleratedNetworking?: boolean; enableFpga?: boolean; - networkSecurityGroup?: SubResource; - dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings; - ipConfigurations?: VirtualMachineScaleSetIPConfiguration[]; enableIPForwarding?: boolean; - deleteOption?: DeleteOptions; -}; + ipConfigurations?: VirtualMachineScaleSetIPConfiguration[]; + name: string; + networkSecurityGroup?: SubResource; + primary?: boolean; +} // @public export interface VirtualMachineScaleSetNetworkConfigurationDnsSettings { @@ -6856,9 +6495,9 @@ export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings { } // @public -export type VirtualMachineScaleSetReimageParameters = VirtualMachineScaleSetVMReimageParameters & { +export interface VirtualMachineScaleSetReimageParameters extends VirtualMachineScaleSetVMReimageParameters { instanceIds?: string[]; -}; +} // @public export interface VirtualMachineScaleSetRollingUpgrades { @@ -7165,46 +6804,46 @@ export interface VirtualMachineScaleSetsUpdateOptionalParams extends coreClient. export type VirtualMachineScaleSetsUpdateResponse = VirtualMachineScaleSet; // @public -export type VirtualMachineScaleSetUpdate = UpdateResource & { - sku?: Sku; - plan?: Plan; - identity?: VirtualMachineScaleSetIdentity; - upgradePolicy?: UpgradePolicy; +export interface VirtualMachineScaleSetUpdate extends UpdateResource { + additionalCapabilities?: AdditionalCapabilities; automaticRepairsPolicy?: AutomaticRepairsPolicy; - virtualMachineProfile?: VirtualMachineScaleSetUpdateVMProfile; - overprovision?: boolean; doNotRunExtensionsOnOverprovisionedVMs?: boolean; - singlePlacementGroup?: boolean; - additionalCapabilities?: AdditionalCapabilities; - scaleInPolicy?: ScaleInPolicy; + identity?: VirtualMachineScaleSetIdentity; + overprovision?: boolean; + plan?: Plan; proximityPlacementGroup?: SubResource; -}; + scaleInPolicy?: ScaleInPolicy; + singlePlacementGroup?: boolean; + sku?: Sku; + upgradePolicy?: UpgradePolicy; + virtualMachineProfile?: VirtualMachineScaleSetUpdateVMProfile; +} // @public -export type VirtualMachineScaleSetUpdateIPConfiguration = SubResource & { - name?: string; - subnet?: ApiEntityReference; - primary?: boolean; - publicIPAddressConfiguration?: VirtualMachineScaleSetUpdatePublicIPAddressConfiguration; - privateIPAddressVersion?: IPVersion; +export interface VirtualMachineScaleSetUpdateIPConfiguration extends SubResource { applicationGatewayBackendAddressPools?: SubResource[]; applicationSecurityGroups?: SubResource[]; loadBalancerBackendAddressPools?: SubResource[]; loadBalancerInboundNatPools?: SubResource[]; -}; - -// @public -export type VirtualMachineScaleSetUpdateNetworkConfiguration = SubResource & { name?: string; primary?: boolean; + privateIPAddressVersion?: IPVersion; + publicIPAddressConfiguration?: VirtualMachineScaleSetUpdatePublicIPAddressConfiguration; + subnet?: ApiEntityReference; +} + +// @public +export interface VirtualMachineScaleSetUpdateNetworkConfiguration extends SubResource { + deleteOption?: DeleteOptions; + dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings; enableAcceleratedNetworking?: boolean; enableFpga?: boolean; - networkSecurityGroup?: SubResource; - dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings; - ipConfigurations?: VirtualMachineScaleSetUpdateIPConfiguration[]; enableIPForwarding?: boolean; - deleteOption?: DeleteOptions; -}; + ipConfigurations?: VirtualMachineScaleSetUpdateIPConfiguration[]; + name?: string; + networkSecurityGroup?: SubResource; + primary?: boolean; +} // @public export interface VirtualMachineScaleSetUpdateNetworkProfile { @@ -7263,49 +6902,49 @@ export interface VirtualMachineScaleSetUpdateVMProfile { } // @public -export type VirtualMachineScaleSetVM = Resource & { - readonly instanceId?: string; - readonly sku?: Sku; - plan?: Plan; - readonly resources?: VirtualMachineExtension[]; - readonly zones?: string[]; - identity?: VirtualMachineIdentity; - readonly latestModelApplied?: boolean; - readonly vmId?: string; - readonly instanceView?: VirtualMachineScaleSetVMInstanceView; - hardwareProfile?: HardwareProfile; - storageProfile?: StorageProfile; +export interface VirtualMachineScaleSetVM extends Resource { additionalCapabilities?: AdditionalCapabilities; - osProfile?: OSProfile; - securityProfile?: SecurityProfile; - networkProfile?: NetworkProfile; - networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfiguration; - diagnosticsProfile?: DiagnosticsProfile; availabilitySet?: SubResource; - readonly provisioningState?: string; + diagnosticsProfile?: DiagnosticsProfile; + hardwareProfile?: HardwareProfile; + identity?: VirtualMachineIdentity; + readonly instanceId?: string; + readonly instanceView?: VirtualMachineScaleSetVMInstanceView; + readonly latestModelApplied?: boolean; licenseType?: string; readonly modelDefinitionApplied?: string; + networkProfile?: NetworkProfile; + networkProfileConfiguration?: VirtualMachineScaleSetVMNetworkProfileConfiguration; + osProfile?: OSProfile; + plan?: Plan; protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; + readonly provisioningState?: string; + readonly resources?: VirtualMachineExtension[]; + securityProfile?: SecurityProfile; + readonly sku?: Sku; + storageProfile?: StorageProfile; userData?: string; -}; + readonly vmId?: string; + readonly zones?: string[]; +} // @public -export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { - readonly name?: string; - readonly type?: string; - forceUpdateTag?: string; - publisher?: string; - typePropertiesType?: string; - typeHandlerVersion?: string; +export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { autoUpgradeMinorVersion?: boolean; enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; - readonly provisioningState?: string; + forceUpdateTag?: string; instanceView?: VirtualMachineExtensionInstanceView; + readonly name?: string; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; + readonly provisioningState?: string; + publisher?: string; + settings?: any; suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; + readonly type?: string; + typeHandlerVersion?: string; + typePropertiesType?: string; +} // @public export interface VirtualMachineScaleSetVMExtensions { @@ -7371,20 +7010,20 @@ export interface VirtualMachineScaleSetVMExtensionsUpdateOptionalParams extends export type VirtualMachineScaleSetVMExtensionsUpdateResponse = VirtualMachineScaleSetVMExtension; // @public -export type VirtualMachineScaleSetVMExtensionUpdate = SubResourceReadOnly & { - readonly name?: string; - readonly type?: string; - forceUpdateTag?: string; - publisher?: string; - typePropertiesType?: string; - typeHandlerVersion?: string; +export interface VirtualMachineScaleSetVMExtensionUpdate extends SubResourceReadOnly { autoUpgradeMinorVersion?: boolean; enableAutomaticUpgrade?: boolean; - settings?: Record; - protectedSettings?: Record; + forceUpdateTag?: string; + readonly name?: string; + protectedSettings?: any; + protectedSettingsFromKeyVault?: any; + publisher?: string; + settings?: any; suppressFailures?: boolean; - protectedSettingsFromKeyVault?: Record; -}; + readonly type?: string; + typeHandlerVersion?: string; + typePropertiesType?: string; +} // @public export interface VirtualMachineScaleSetVMInstanceIDs { @@ -7449,7 +7088,8 @@ export interface VirtualMachineScaleSetVMProtectionPolicy { } // @public -export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters; +export interface VirtualMachineScaleSetVMReimageParameters extends VirtualMachineReimageParameters { +} // @public export interface VirtualMachineScaleSetVMRunCommands { @@ -7910,37 +7550,37 @@ export interface VirtualMachinesUpdateOptionalParams extends coreClient.Operatio export type VirtualMachinesUpdateResponse = VirtualMachine; // @public -export type VirtualMachineUpdate = UpdateResource & { - plan?: Plan; - identity?: VirtualMachineIdentity; - zones?: string[]; - hardwareProfile?: HardwareProfile; - storageProfile?: StorageProfile; +export interface VirtualMachineUpdate extends UpdateResource { additionalCapabilities?: AdditionalCapabilities; - osProfile?: OSProfile; - networkProfile?: NetworkProfile; - securityProfile?: SecurityProfile; - diagnosticsProfile?: DiagnosticsProfile; + applicationProfile?: ApplicationProfile; availabilitySet?: SubResource; - virtualMachineScaleSet?: SubResource; - proximityPlacementGroup?: SubResource; - priority?: VirtualMachinePriorityTypes; - evictionPolicy?: VirtualMachineEvictionPolicyTypes; billingProfile?: BillingProfile; + capacityReservation?: CapacityReservationProfile; + diagnosticsProfile?: DiagnosticsProfile; + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + extensionsTimeBudget?: string; + hardwareProfile?: HardwareProfile; host?: SubResource; hostGroup?: SubResource; - readonly provisioningState?: string; + identity?: VirtualMachineIdentity; readonly instanceView?: VirtualMachineInstanceView; licenseType?: string; - readonly vmId?: string; - extensionsTimeBudget?: string; + networkProfile?: NetworkProfile; + osProfile?: OSProfile; + plan?: Plan; platformFaultDomain?: number; + priority?: VirtualMachinePriorityTypes; + readonly provisioningState?: string; + proximityPlacementGroup?: SubResource; scheduledEventsProfile?: ScheduledEventsProfile; - userData?: string; - capacityReservation?: CapacityReservationProfile; - applicationProfile?: ApplicationProfile; + securityProfile?: SecurityProfile; + storageProfile?: StorageProfile; readonly timeCreated?: Date; -}; + userData?: string; + virtualMachineScaleSet?: SubResource; + readonly vmId?: string; + zones?: string[]; +} // @public export interface VMDiskSecurityProfile { diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts index 7303242eaea6..7aa81e7085f9 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSFamily.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json */ async function getCloudServiceOSFamily() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts index 942efead48fe..724d96ec262a 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSVersion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json */ async function getCloudServiceOSVersion() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts index 1a94753a9157..5e7cf531caa8 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. * * @summary Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSFamilies.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json */ async function listCloudServiceOSFamiliesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts index fd887a48f283..19ef0ce6f93e 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. * * @summary Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSVersions.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json */ async function listCloudServiceOSVersionsInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesDeleteSample.ts index d12d75cbe235..563f8aaaa705 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a role instance from a cloud service. * * @summary Deletes a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json */ async function deleteCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts index 29dde7020336..bd79da123ac7 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. * * @summary Retrieves information about the run-time state of a role instance in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetInstanceViewOfCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json */ async function getInstanceViewOfCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts new file mode 100644 index 000000000000..0016568be4cb --- /dev/null +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -0,0 +1,35 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ComputeManagementClient } from "@azure/arm-compute"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. + * + * @summary Gets a remote desktop file for a role instance in a cloud service. + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json + */ +async function getCloudServiceRole() { + const subscriptionId = "{subscription-id}"; + const roleInstanceName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; + const resourceGroupName = "rgcloudService"; + const cloudServiceName = "aaaa"; + const credential = new DefaultAzureCredential(); + const client = new ComputeManagementClient(credential, subscriptionId); + const result = await client.cloudServiceRoleInstances.getRemoteDesktopFile( + roleInstanceName, + resourceGroupName, + cloudServiceName + ); + console.log(result); +} + +getCloudServiceRole().catch(console.error); diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetSample.ts index ad9cf89bc0d0..d1dfa5ed7e00 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a role instance from a cloud service. * * @summary Gets a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json */ async function getCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesListSample.ts index f0982c570d4b..1e658e8d8b3f 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. * * @summary Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRolesInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json */ async function listRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRebuildSample.ts index c4bca9550654..42fc426f8a9e 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRebuildSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. * * @summary The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json */ async function rebuildCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesReimageSample.ts index 2f139fab570b..aeac1b799c98 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesReimageSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json */ async function reimageCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRestartSample.ts index 4adca254441b..05eeb55ed732 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRoleInstancesRestartSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. * * @summary The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json */ async function restartCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRolesGetSample.ts index 11e9a7c6ee1c..1df6bb1ad4a2 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRolesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a role from a cloud service. * * @summary Gets a role from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json */ async function getCloudServiceRole() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServiceRolesListSample.ts index 76dad03f9061..41f61cd4e87c 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServiceRolesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. * * @summary Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRoles.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json */ async function listRolesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesCreateOrUpdateSample.ts index 61b54f135395..d194b960d9a2 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesCreateOrUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json */ async function createNewCloudServiceWithMultipleRoles() { const subscriptionId = "{subscription-id}"; @@ -82,7 +82,7 @@ createNewCloudServiceWithMultipleRoles().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json */ async function createNewCloudServiceWithSingleRole() { const subscriptionId = "{subscription-id}"; @@ -141,7 +141,7 @@ createNewCloudServiceWithSingleRole().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndCertificate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json */ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { const subscriptionId = "{subscription-id}"; @@ -218,7 +218,7 @@ createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch( * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json */ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { const subscriptionId = "{subscription-id}"; @@ -240,7 +240,7 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { publisher: "Microsoft.Windows.Azure.Extensions", settings: "UserAzure10/22/2021 15:05:45", - typeHandlerVersion: "1.2.1" + typeHandlerVersion: "1.2" } } ] diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteInstancesSample.ts index eea25b6aef18..875e5945d22f 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteInstancesSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes role instances in a cloud service. * * @summary Deletes role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json */ -async function deleteCloudServiceRoleInstances() { +async function deleteCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function deleteCloudServiceRoleInstances() { console.log(result); } -deleteCloudServiceRoleInstances().catch(console.error); +deleteCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteSample.ts index 963effacd472..8e2b3c4ddcf5 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a cloud service. * * @summary Deletes a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json */ async function deleteCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesGetInstanceViewSample.ts index f0c480bbd3fa..08f70a371c7b 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesGetInstanceViewSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the status of a cloud service. * * @summary Gets the status of a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceInstanceViewWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json */ async function getCloudServiceInstanceViewWithMultipleRoles() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesGetSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesGetSample.ts index 62013e2868dd..7c24c3cf67f5 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Display information about a cloud service. * * @summary Display information about a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceWithMultiRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json */ async function getCloudServiceWithMultipleRolesAndRdpExtension() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesListAllSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesListAllSample.ts index 07ba26444b1c..da7efb2199b9 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesListAllSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json */ async function listCloudServicesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesListSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesListSample.ts index cc6338f6d446..6e7a994a612b 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json */ async function listCloudServicesInAResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesPowerOffSample.ts index a5708506b2e5..ca6f08774e1d 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesPowerOffSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. * * @summary Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/PowerOffCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json */ async function stopOrPowerOffCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesRebuildSample.ts index 405f4d92cd04..ae8c17cb336c 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesRebuildSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. * * @summary Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json */ -async function rebuildCloudServiceRoleInstances() { +async function rebuildCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function rebuildCloudServiceRoleInstances() { console.log(result); } -rebuildCloudServiceRoleInstances().catch(console.error); +rebuildCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesReimageSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesReimageSample.ts index 5eaaa3c310e5..c6f253b1e674 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesReimageSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json */ -async function reimageCloudServiceRoleInstances() { +async function reimageCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function reimageCloudServiceRoleInstances() { console.log(result); } -reimageCloudServiceRoleInstances().catch(console.error); +reimageCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesRestartSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesRestartSample.ts index a76422935df1..8aca8eaa056f 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesRestartSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restarts one or more role instances in a cloud service. * * @summary Restarts one or more role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json */ -async function restartCloudServiceRoleInstances() { +async function restartCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function restartCloudServiceRoleInstances() { console.log(result); } -restartCloudServiceRoleInstances().catch(console.error); +restartCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesStartSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesStartSample.ts index 1ea93fc235f5..3072304a6ea7 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesStartSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Starts the cloud service. * * @summary Starts the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/StartCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json */ async function startCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 15d318fa94eb..211d023ac663 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. * * @summary Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json */ async function getCloudServiceUpdateDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts index 4228ca0634eb..138a236b1bd1 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all update domains in a cloud service. * * @summary Gets a list of all update domains in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceUpdateDomains.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json */ async function listUpdateDomainsInCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index c54794b70d3a..9510dfe50f61 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates the role instances in the specified update domain. * * @summary Updates the role instances in the specified update domain. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json */ async function updateCloudServiceToSpecifiedDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateSample.ts index c761147681df..1f9557746617 100644 --- a/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute/samples-dev/cloudServicesUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update a cloud service. * * @summary Update a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceToIncludeTags.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json */ async function updateExistingCloudServiceToAddTags() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/README.md b/sdk/compute/arm-compute/samples/v19/javascript/README.md index 141eff51b595..5fca90fa5811 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/README.md +++ b/sdk/compute/arm-compute/samples/v19/javascript/README.md @@ -22,35 +22,36 @@ These sample programs show how to use the JavaScript client libraries for in som | [capacityReservationsGetSample.js][capacityreservationsgetsample] | The operation that retrieves information about the capacity reservation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Get.json | | [capacityReservationsListByCapacityReservationGroupSample.js][capacityreservationslistbycapacityreservationgroupsample] | Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json | | [capacityReservationsUpdateSample.js][capacityreservationsupdatesample] | The operation to update a capacity reservation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json | -| [cloudServiceOperatingSystemsGetOSFamilySample.js][cloudserviceoperatingsystemsgetosfamilysample] | Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSFamily.json | -| [cloudServiceOperatingSystemsGetOSVersionSample.js][cloudserviceoperatingsystemsgetosversionsample] | Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSVersion.json | -| [cloudServiceOperatingSystemsListOSFamiliesSample.js][cloudserviceoperatingsystemslistosfamiliessample] | Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSFamilies.json | -| [cloudServiceOperatingSystemsListOSVersionsSample.js][cloudserviceoperatingsystemslistosversionssample] | Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSVersions.json | -| [cloudServiceRoleInstancesDeleteSample.js][cloudserviceroleinstancesdeletesample] | Deletes a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesGetInstanceViewSample.js][cloudserviceroleinstancesgetinstanceviewsample] | Retrieves information about the run-time state of a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetInstanceViewOfCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesGetSample.js][cloudserviceroleinstancesgetsample] | Gets a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesListSample.js][cloudserviceroleinstanceslistsample] | Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRolesInstances.json | -| [cloudServiceRoleInstancesRebuildSample.js][cloudserviceroleinstancesrebuildsample] | The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesReimageSample.js][cloudserviceroleinstancesreimagesample] | The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesRestartSample.js][cloudserviceroleinstancesrestartsample] | The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstance.json | -| [cloudServiceRolesGetSample.js][cloudservicerolesgetsample] | Gets a role from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRole.json | -| [cloudServiceRolesListSample.js][cloudserviceroleslistsample] | Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRoles.json | -| [cloudServicesCreateOrUpdateSample.js][cloudservicescreateorupdatesample] | Create or update a cloud service. Please note some properties can be set only during cloud service creation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithMultiRole.json | -| [cloudServicesDeleteInstancesSample.js][cloudservicesdeleteinstancessample] | Deletes role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstances.json | -| [cloudServicesDeleteSample.js][cloudservicesdeletesample] | Deletes a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudService.json | -| [cloudServicesGetInstanceViewSample.js][cloudservicesgetinstanceviewsample] | Gets the status of a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceInstanceViewWithMultiRole.json | -| [cloudServicesGetSample.js][cloudservicesgetsample] | Display information about a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceWithMultiRoleAndRDP.json | -| [cloudServicesListAllSample.js][cloudserviceslistallsample] | Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInSubscription.json | -| [cloudServicesListSample.js][cloudserviceslistsample] | Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInResourceGroup.json | -| [cloudServicesPowerOffSample.js][cloudservicespoweroffsample] | Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/PowerOffCloudService.json | -| [cloudServicesRebuildSample.js][cloudservicesrebuildsample] | Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstances.json | -| [cloudServicesReimageSample.js][cloudservicesreimagesample] | Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstances.json | -| [cloudServicesRestartSample.js][cloudservicesrestartsample] | Restarts one or more role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstances.json | -| [cloudServicesStartSample.js][cloudservicesstartsample] | Starts the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/StartCloudService.json | -| [cloudServicesUpdateDomainGetUpdateDomainSample.js][cloudservicesupdatedomaingetupdatedomainsample] | Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceUpdateDomain.json | -| [cloudServicesUpdateDomainListUpdateDomainsSample.js][cloudservicesupdatedomainlistupdatedomainssample] | Gets a list of all update domains in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceUpdateDomains.json | -| [cloudServicesUpdateDomainWalkUpdateDomainSample.js][cloudservicesupdatedomainwalkupdatedomainsample] | Updates the role instances in the specified update domain. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceUpdateDomain.json | -| [cloudServicesUpdateSample.js][cloudservicesupdatesample] | Update a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceToIncludeTags.json | +| [cloudServiceOperatingSystemsGetOSFamilySample.js][cloudserviceoperatingsystemsgetosfamilysample] | Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json | +| [cloudServiceOperatingSystemsGetOSVersionSample.js][cloudserviceoperatingsystemsgetosversionsample] | Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json | +| [cloudServiceOperatingSystemsListOSFamiliesSample.js][cloudserviceoperatingsystemslistosfamiliessample] | Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json | +| [cloudServiceOperatingSystemsListOSVersionsSample.js][cloudserviceoperatingsystemslistosversionssample] | Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json | +| [cloudServiceRoleInstancesDeleteSample.js][cloudserviceroleinstancesdeletesample] | Deletes a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json | +| [cloudServiceRoleInstancesGetInstanceViewSample.js][cloudserviceroleinstancesgetinstanceviewsample] | Retrieves information about the run-time state of a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json | +| [cloudServiceRoleInstancesGetRemoteDesktopFileSample.js][cloudserviceroleinstancesgetremotedesktopfilesample] | Gets a remote desktop file for a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json | +| [cloudServiceRoleInstancesGetSample.js][cloudserviceroleinstancesgetsample] | Gets a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json | +| [cloudServiceRoleInstancesListSample.js][cloudserviceroleinstanceslistsample] | Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json | +| [cloudServiceRoleInstancesRebuildSample.js][cloudserviceroleinstancesrebuildsample] | The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json | +| [cloudServiceRoleInstancesReimageSample.js][cloudserviceroleinstancesreimagesample] | The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json | +| [cloudServiceRoleInstancesRestartSample.js][cloudserviceroleinstancesrestartsample] | The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json | +| [cloudServiceRolesGetSample.js][cloudservicerolesgetsample] | Gets a role from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json | +| [cloudServiceRolesListSample.js][cloudserviceroleslistsample] | Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json | +| [cloudServicesCreateOrUpdateSample.js][cloudservicescreateorupdatesample] | Create or update a cloud service. Please note some properties can be set only during cloud service creation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json | +| [cloudServicesDeleteInstancesSample.js][cloudservicesdeleteinstancessample] | Deletes role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json | +| [cloudServicesDeleteSample.js][cloudservicesdeletesample] | Deletes a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json | +| [cloudServicesGetInstanceViewSample.js][cloudservicesgetinstanceviewsample] | Gets the status of a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json | +| [cloudServicesGetSample.js][cloudservicesgetsample] | Display information about a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json | +| [cloudServicesListAllSample.js][cloudserviceslistallsample] | Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json | +| [cloudServicesListSample.js][cloudserviceslistsample] | Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json | +| [cloudServicesPowerOffSample.js][cloudservicespoweroffsample] | Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json | +| [cloudServicesRebuildSample.js][cloudservicesrebuildsample] | Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json | +| [cloudServicesReimageSample.js][cloudservicesreimagesample] | Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json | +| [cloudServicesRestartSample.js][cloudservicesrestartsample] | Restarts one or more role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json | +| [cloudServicesStartSample.js][cloudservicesstartsample] | Starts the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json | +| [cloudServicesUpdateDomainGetUpdateDomainSample.js][cloudservicesupdatedomaingetupdatedomainsample] | Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json | +| [cloudServicesUpdateDomainListUpdateDomainsSample.js][cloudservicesupdatedomainlistupdatedomainssample] | Gets a list of all update domains in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json | +| [cloudServicesUpdateDomainWalkUpdateDomainSample.js][cloudservicesupdatedomainwalkupdatedomainsample] | Updates the role instances in the specified update domain. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json | +| [cloudServicesUpdateSample.js][cloudservicesupdatesample] | Update a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json | | [communityGalleriesGetSample.js][communitygalleriesgetsample] | Get a community gallery by gallery public name. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGallery_Get.json | | [communityGalleryImageVersionsGetSample.js][communitygalleryimageversionsgetsample] | Get a community gallery image version. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json | | [communityGalleryImageVersionsListSample.js][communitygalleryimageversionslistsample] | List community gallery image versions inside an image. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json | @@ -345,6 +346,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [cloudserviceoperatingsystemslistosversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js [cloudserviceroleinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesDeleteSample.js [cloudserviceroleinstancesgetinstanceviewsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js +[cloudserviceroleinstancesgetremotedesktopfilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js [cloudserviceroleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetSample.js [cloudserviceroleinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesListSample.js [cloudserviceroleinstancesrebuildsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRebuildSample.js diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js index 78751dfc0075..07168bfce74b 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSFamilySample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSFamily.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json */ async function getCloudServiceOSFamily() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js index 9b5a71ea1c77..48cedb244664 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsGetOSVersionSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSVersion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json */ async function getCloudServiceOSVersion() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js index fc0be2bbdd4f..0fac93ddb767 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSFamiliesSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. * * @summary Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSFamilies.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json */ async function listCloudServiceOSFamiliesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js index aa4b5ba8044a..07b58b8aa73a 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceOperatingSystemsListOSVersionsSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. * * @summary Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSVersions.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json */ async function listCloudServiceOSVersionsInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesDeleteSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesDeleteSample.js index c4c77c0af2b7..dcb7956d36f2 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesDeleteSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes a role instance from a cloud service. * * @summary Deletes a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json */ async function deleteCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js index 56fd11a01234..9b517c73087d 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetInstanceViewSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. * * @summary Retrieves information about the run-time state of a role instance in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetInstanceViewOfCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json */ async function getInstanceViewOfCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js new file mode 100644 index 000000000000..8c158536cf7d --- /dev/null +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetRemoteDesktopFileSample.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ComputeManagementClient } = require("@azure/arm-compute"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. + * + * @summary Gets a remote desktop file for a role instance in a cloud service. + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json + */ +async function getCloudServiceRole() { + const subscriptionId = "{subscription-id}"; + const roleInstanceName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; + const resourceGroupName = "rgcloudService"; + const cloudServiceName = "aaaa"; + const credential = new DefaultAzureCredential(); + const client = new ComputeManagementClient(credential, subscriptionId); + const result = await client.cloudServiceRoleInstances.getRemoteDesktopFile( + roleInstanceName, + resourceGroupName, + cloudServiceName + ); + console.log(result); +} + +getCloudServiceRole().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetSample.js index bcd5bf3c8ef4..85a6503c424a 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a role instance from a cloud service. * * @summary Gets a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json */ async function getCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesListSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesListSample.js index cc79ed244334..fe9bec13b709 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesListSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. * * @summary Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRolesInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json */ async function listRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRebuildSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRebuildSample.js index 1c74ec77ab1b..9c435a8bcee3 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRebuildSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRebuildSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. * * @summary The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json */ async function rebuildCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesReimageSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesReimageSample.js index 75cce34903d7..e521119a9d30 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesReimageSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesReimageSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json */ async function reimageCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRestartSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRestartSample.js index f25da4d5b431..4aba25f163ec 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRestartSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRoleInstancesRestartSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. * * @summary The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json */ async function restartCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesGetSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesGetSample.js index 23ab9f5f97a0..472f4ec46549 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesGetSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a role from a cloud service. * * @summary Gets a role from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json */ async function getCloudServiceRole() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesListSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesListSample.js index 99e1a4c0aba4..c60b97ad3510 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesListSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServiceRolesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. * * @summary Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRoles.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json */ async function listRolesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesCreateOrUpdateSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesCreateOrUpdateSample.js index cd6a0b5cec2f..b25357395eaf 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesCreateOrUpdateSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesCreateOrUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json */ async function createNewCloudServiceWithMultipleRoles() { const subscriptionId = "{subscription-id}"; @@ -77,7 +77,7 @@ createNewCloudServiceWithMultipleRoles().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json */ async function createNewCloudServiceWithSingleRole() { const subscriptionId = "{subscription-id}"; @@ -135,7 +135,7 @@ createNewCloudServiceWithSingleRole().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndCertificate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json */ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { const subscriptionId = "{subscription-id}"; @@ -208,7 +208,7 @@ createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch(console.er * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json */ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { const subscriptionId = "{subscription-id}"; @@ -229,7 +229,7 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { publisher: "Microsoft.Windows.Azure.Extensions", settings: "UserAzure10/22/2021 15:05:45", - typeHandlerVersion: "1.2.1", + typeHandlerVersion: "1.2", }, }, ], diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteInstancesSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteInstancesSample.js index 481a21fe1815..d6103db337ce 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteInstancesSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteInstancesSample.js @@ -15,9 +15,9 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes role instances in a cloud service. * * @summary Deletes role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json */ -async function deleteCloudServiceRoleInstances() { +async function deleteCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -35,4 +35,4 @@ async function deleteCloudServiceRoleInstances() { console.log(result); } -deleteCloudServiceRoleInstances().catch(console.error); +deleteCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteSample.js index a43f9e235593..d5f166a75415 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesDeleteSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Deletes a cloud service. * * @summary Deletes a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json */ async function deleteCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetInstanceViewSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetInstanceViewSample.js index 0d8add97d8e8..843459df0fa1 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetInstanceViewSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetInstanceViewSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the status of a cloud service. * * @summary Gets the status of a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceInstanceViewWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json */ async function getCloudServiceInstanceViewWithMultipleRoles() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetSample.js index 7ae1c04d003d..f98792471103 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesGetSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Display information about a cloud service. * * @summary Display information about a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceWithMultiRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json */ async function getCloudServiceWithMultipleRolesAndRdpExtension() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListAllSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListAllSample.js index eb84ce7323b8..5c3d62d9a2b2 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListAllSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListAllSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json */ async function listCloudServicesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListSample.js index 99540d0cc6a1..a20e5fc4de9a 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesListSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json */ async function listCloudServicesInAResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesPowerOffSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesPowerOffSample.js index fc336c1c0bf3..d7ef5b420694 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesPowerOffSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesPowerOffSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. * * @summary Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/PowerOffCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json */ async function stopOrPowerOffCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRebuildSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRebuildSample.js index be941c653d09..667f15a1dd06 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRebuildSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRebuildSample.js @@ -15,9 +15,9 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. * * @summary Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json */ -async function rebuildCloudServiceRoleInstances() { +async function rebuildCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -35,4 +35,4 @@ async function rebuildCloudServiceRoleInstances() { console.log(result); } -rebuildCloudServiceRoleInstances().catch(console.error); +rebuildCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesReimageSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesReimageSample.js index ad5d3394f26b..f72b1090e108 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesReimageSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesReimageSample.js @@ -15,9 +15,9 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json */ -async function reimageCloudServiceRoleInstances() { +async function reimageCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -35,4 +35,4 @@ async function reimageCloudServiceRoleInstances() { console.log(result); } -reimageCloudServiceRoleInstances().catch(console.error); +reimageCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRestartSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRestartSample.js index 0940dc62c9fb..6b52e0c9ad10 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRestartSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesRestartSample.js @@ -15,9 +15,9 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Restarts one or more role instances in a cloud service. * * @summary Restarts one or more role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json */ -async function restartCloudServiceRoleInstances() { +async function restartCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -35,4 +35,4 @@ async function restartCloudServiceRoleInstances() { console.log(result); } -restartCloudServiceRoleInstances().catch(console.error); +restartCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesStartSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesStartSample.js index b42ae9472a59..fca2f606ed50 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesStartSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesStartSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Starts the cloud service. * * @summary Starts the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/StartCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json */ async function startCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js index e692332bdc32..afc571df6929 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainGetUpdateDomainSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. * * @summary Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json */ async function getCloudServiceUpdateDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js index ed4fa946b31c..90644f08538b 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainListUpdateDomainsSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Gets a list of all update domains in a cloud service. * * @summary Gets a list of all update domains in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceUpdateDomains.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json */ async function listUpdateDomainsInCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js index 9a1485640162..96b50295fe61 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateDomainWalkUpdateDomainSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Updates the role instances in the specified update domain. * * @summary Updates the role instances in the specified update domain. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json */ async function updateCloudServiceToSpecifiedDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateSample.js b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateSample.js index e25ae871c339..bec319740c5d 100644 --- a/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateSample.js +++ b/sdk/compute/arm-compute/samples/v19/javascript/cloudServicesUpdateSample.js @@ -15,7 +15,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); * This sample demonstrates how to Update a cloud service. * * @summary Update a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceToIncludeTags.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json */ async function updateExistingCloudServiceToAddTags() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/README.md b/sdk/compute/arm-compute/samples/v19/typescript/README.md index dac171747274..074bcbc2bf9a 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/README.md +++ b/sdk/compute/arm-compute/samples/v19/typescript/README.md @@ -22,35 +22,36 @@ These sample programs show how to use the TypeScript client libraries for in som | [capacityReservationsGetSample.ts][capacityreservationsgetsample] | The operation that retrieves information about the capacity reservation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Get.json | | [capacityReservationsListByCapacityReservationGroupSample.ts][capacityreservationslistbycapacityreservationgroupsample] | Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json | | [capacityReservationsUpdateSample.ts][capacityreservationsupdatesample] | The operation to update a capacity reservation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json | -| [cloudServiceOperatingSystemsGetOSFamilySample.ts][cloudserviceoperatingsystemsgetosfamilysample] | Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSFamily.json | -| [cloudServiceOperatingSystemsGetOSVersionSample.ts][cloudserviceoperatingsystemsgetosversionsample] | Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSVersion.json | -| [cloudServiceOperatingSystemsListOSFamiliesSample.ts][cloudserviceoperatingsystemslistosfamiliessample] | Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSFamilies.json | -| [cloudServiceOperatingSystemsListOSVersionsSample.ts][cloudserviceoperatingsystemslistosversionssample] | Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSVersions.json | -| [cloudServiceRoleInstancesDeleteSample.ts][cloudserviceroleinstancesdeletesample] | Deletes a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesGetInstanceViewSample.ts][cloudserviceroleinstancesgetinstanceviewsample] | Retrieves information about the run-time state of a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetInstanceViewOfCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesGetSample.ts][cloudserviceroleinstancesgetsample] | Gets a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesListSample.ts][cloudserviceroleinstanceslistsample] | Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRolesInstances.json | -| [cloudServiceRoleInstancesRebuildSample.ts][cloudserviceroleinstancesrebuildsample] | The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesReimageSample.ts][cloudserviceroleinstancesreimagesample] | The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstance.json | -| [cloudServiceRoleInstancesRestartSample.ts][cloudserviceroleinstancesrestartsample] | The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstance.json | -| [cloudServiceRolesGetSample.ts][cloudservicerolesgetsample] | Gets a role from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRole.json | -| [cloudServiceRolesListSample.ts][cloudserviceroleslistsample] | Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRoles.json | -| [cloudServicesCreateOrUpdateSample.ts][cloudservicescreateorupdatesample] | Create or update a cloud service. Please note some properties can be set only during cloud service creation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithMultiRole.json | -| [cloudServicesDeleteInstancesSample.ts][cloudservicesdeleteinstancessample] | Deletes role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstances.json | -| [cloudServicesDeleteSample.ts][cloudservicesdeletesample] | Deletes a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudService.json | -| [cloudServicesGetInstanceViewSample.ts][cloudservicesgetinstanceviewsample] | Gets the status of a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceInstanceViewWithMultiRole.json | -| [cloudServicesGetSample.ts][cloudservicesgetsample] | Display information about a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceWithMultiRoleAndRDP.json | -| [cloudServicesListAllSample.ts][cloudserviceslistallsample] | Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInSubscription.json | -| [cloudServicesListSample.ts][cloudserviceslistsample] | Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInResourceGroup.json | -| [cloudServicesPowerOffSample.ts][cloudservicespoweroffsample] | Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/PowerOffCloudService.json | -| [cloudServicesRebuildSample.ts][cloudservicesrebuildsample] | Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstances.json | -| [cloudServicesReimageSample.ts][cloudservicesreimagesample] | Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstances.json | -| [cloudServicesRestartSample.ts][cloudservicesrestartsample] | Restarts one or more role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstances.json | -| [cloudServicesStartSample.ts][cloudservicesstartsample] | Starts the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/StartCloudService.json | -| [cloudServicesUpdateDomainGetUpdateDomainSample.ts][cloudservicesupdatedomaingetupdatedomainsample] | Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceUpdateDomain.json | -| [cloudServicesUpdateDomainListUpdateDomainsSample.ts][cloudservicesupdatedomainlistupdatedomainssample] | Gets a list of all update domains in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceUpdateDomains.json | -| [cloudServicesUpdateDomainWalkUpdateDomainSample.ts][cloudservicesupdatedomainwalkupdatedomainsample] | Updates the role instances in the specified update domain. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceUpdateDomain.json | -| [cloudServicesUpdateSample.ts][cloudservicesupdatesample] | Update a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceToIncludeTags.json | +| [cloudServiceOperatingSystemsGetOSFamilySample.ts][cloudserviceoperatingsystemsgetosfamilysample] | Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json | +| [cloudServiceOperatingSystemsGetOSVersionSample.ts][cloudserviceoperatingsystemsgetosversionsample] | Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json | +| [cloudServiceOperatingSystemsListOSFamiliesSample.ts][cloudserviceoperatingsystemslistosfamiliessample] | Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json | +| [cloudServiceOperatingSystemsListOSVersionsSample.ts][cloudserviceoperatingsystemslistosversionssample] | Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json | +| [cloudServiceRoleInstancesDeleteSample.ts][cloudserviceroleinstancesdeletesample] | Deletes a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json | +| [cloudServiceRoleInstancesGetInstanceViewSample.ts][cloudserviceroleinstancesgetinstanceviewsample] | Retrieves information about the run-time state of a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json | +| [cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts][cloudserviceroleinstancesgetremotedesktopfilesample] | Gets a remote desktop file for a role instance in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json | +| [cloudServiceRoleInstancesGetSample.ts][cloudserviceroleinstancesgetsample] | Gets a role instance from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json | +| [cloudServiceRoleInstancesListSample.ts][cloudserviceroleinstanceslistsample] | Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json | +| [cloudServiceRoleInstancesRebuildSample.ts][cloudserviceroleinstancesrebuildsample] | The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json | +| [cloudServiceRoleInstancesReimageSample.ts][cloudserviceroleinstancesreimagesample] | The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json | +| [cloudServiceRoleInstancesRestartSample.ts][cloudserviceroleinstancesrestartsample] | The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json | +| [cloudServiceRolesGetSample.ts][cloudservicerolesgetsample] | Gets a role from a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json | +| [cloudServiceRolesListSample.ts][cloudserviceroleslistsample] | Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json | +| [cloudServicesCreateOrUpdateSample.ts][cloudservicescreateorupdatesample] | Create or update a cloud service. Please note some properties can be set only during cloud service creation. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json | +| [cloudServicesDeleteInstancesSample.ts][cloudservicesdeleteinstancessample] | Deletes role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json | +| [cloudServicesDeleteSample.ts][cloudservicesdeletesample] | Deletes a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json | +| [cloudServicesGetInstanceViewSample.ts][cloudservicesgetinstanceviewsample] | Gets the status of a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json | +| [cloudServicesGetSample.ts][cloudservicesgetsample] | Display information about a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json | +| [cloudServicesListAllSample.ts][cloudserviceslistallsample] | Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json | +| [cloudServicesListSample.ts][cloudserviceslistsample] | Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json | +| [cloudServicesPowerOffSample.ts][cloudservicespoweroffsample] | Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json | +| [cloudServicesRebuildSample.ts][cloudservicesrebuildsample] | Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json | +| [cloudServicesReimageSample.ts][cloudservicesreimagesample] | Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json | +| [cloudServicesRestartSample.ts][cloudservicesrestartsample] | Restarts one or more role instances in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json | +| [cloudServicesStartSample.ts][cloudservicesstartsample] | Starts the cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json | +| [cloudServicesUpdateDomainGetUpdateDomainSample.ts][cloudservicesupdatedomaingetupdatedomainsample] | Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json | +| [cloudServicesUpdateDomainListUpdateDomainsSample.ts][cloudservicesupdatedomainlistupdatedomainssample] | Gets a list of all update domains in a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json | +| [cloudServicesUpdateDomainWalkUpdateDomainSample.ts][cloudservicesupdatedomainwalkupdatedomainsample] | Updates the role instances in the specified update domain. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json | +| [cloudServicesUpdateSample.ts][cloudservicesupdatesample] | Update a cloud service. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json | | [communityGalleriesGetSample.ts][communitygalleriesgetsample] | Get a community gallery by gallery public name. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGallery_Get.json | | [communityGalleryImageVersionsGetSample.ts][communitygalleryimageversionsgetsample] | Get a community gallery image version. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json | | [communityGalleryImageVersionsListSample.ts][communitygalleryimageversionslistsample] | List community gallery image versions inside an image. x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-01-03/GalleryRP/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json | @@ -357,6 +358,7 @@ Take a look at our [API Documentation][apiref] for more information about the AP [cloudserviceoperatingsystemslistosversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts [cloudserviceroleinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesDeleteSample.ts [cloudserviceroleinstancesgetinstanceviewsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts +[cloudserviceroleinstancesgetremotedesktopfilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts [cloudserviceroleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetSample.ts [cloudserviceroleinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesListSample.ts [cloudserviceroleinstancesrebuildsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRebuildSample.ts diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts index 7303242eaea6..7aa81e7085f9 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSFamilySample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSFamily.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamily_Get.json */ async function getCloudServiceOSFamily() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts index 942efead48fe..724d96ec262a 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsGetOSVersionSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. * * @summary Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceOSVersion.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_Get.json */ async function getCloudServiceOSVersion() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts index 1a94753a9157..5e7cf531caa8 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSFamiliesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. * * @summary Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSFamilies.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSFamilies_List.json */ async function listCloudServiceOSFamiliesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts index fd887a48f283..19ef0ce6f93e 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceOperatingSystemsListOSVersionsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. * * @summary Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceOSVersions.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceOSVersion_List.json */ async function listCloudServiceOSVersionsInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesDeleteSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesDeleteSample.ts index d12d75cbe235..563f8aaaa705 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesDeleteSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a role instance from a cloud service. * * @summary Deletes a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete.json */ async function deleteCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts index 29dde7020336..bd79da123ac7 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetInstanceViewSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Retrieves information about the run-time state of a role instance in a cloud service. * * @summary Retrieves information about the run-time state of a role instance in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetInstanceViewOfCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json */ async function getInstanceViewOfCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts new file mode 100644 index 000000000000..0016568be4cb --- /dev/null +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetRemoteDesktopFileSample.ts @@ -0,0 +1,35 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ComputeManagementClient } from "@azure/arm-compute"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a remote desktop file for a role instance in a cloud service. + * + * @summary Gets a remote desktop file for a role instance in a cloud service. + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json + */ +async function getCloudServiceRole() { + const subscriptionId = "{subscription-id}"; + const roleInstanceName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; + const resourceGroupName = "rgcloudService"; + const cloudServiceName = "aaaa"; + const credential = new DefaultAzureCredential(); + const client = new ComputeManagementClient(credential, subscriptionId); + const result = await client.cloudServiceRoleInstances.getRemoteDesktopFile( + roleInstanceName, + resourceGroupName, + cloudServiceName + ); + console.log(result); +} + +getCloudServiceRole().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetSample.ts index ad9cf89bc0d0..d1dfa5ed7e00 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a role instance from a cloud service. * * @summary Gets a role instance from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get.json */ async function getCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesListSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesListSample.ts index f0982c570d4b..1e658e8d8b3f 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesListSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. * * @summary Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRolesInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRolesInstance_List.json */ async function listRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRebuildSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRebuildSample.ts index c4bca9550654..42fc426f8a9e 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRebuildSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRebuildSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. * * @summary The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild.json */ async function rebuildCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesReimageSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesReimageSample.ts index 2f139fab570b..aeac1b799c98 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesReimageSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesReimageSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage.json */ async function reimageCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRestartSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRestartSample.ts index 4adca254441b..05eeb55ed732 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRestartSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRoleInstancesRestartSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. * * @summary The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstance.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json */ async function restartCloudServiceRoleInstance() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesGetSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesGetSample.ts index 11e9a7c6ee1c..1df6bb1ad4a2 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesGetSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a role from a cloud service. * * @summary Gets a role from a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_Get.json */ async function getCloudServiceRole() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesListSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesListSample.ts index 76dad03f9061..41f61cd4e87c 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesListSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServiceRolesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. * * @summary Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceRoles.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRole_List.json */ async function listRolesInACloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesCreateOrUpdateSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesCreateOrUpdateSample.ts index 61b54f135395..d194b960d9a2 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesCreateOrUpdateSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesCreateOrUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json */ async function createNewCloudServiceWithMultipleRoles() { const subscriptionId = "{subscription-id}"; @@ -82,7 +82,7 @@ createNewCloudServiceWithMultipleRoles().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json */ async function createNewCloudServiceWithSingleRole() { const subscriptionId = "{subscription-id}"; @@ -141,7 +141,7 @@ createNewCloudServiceWithSingleRole().catch(console.error); * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndCertificate.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json */ async function createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { const subscriptionId = "{subscription-id}"; @@ -218,7 +218,7 @@ createNewCloudServiceWithSingleRoleAndCertificateFromKeyVault().catch( * This sample demonstrates how to Create or update a cloud service. Please note some properties can be set only during cloud service creation. * * @summary Create or update a cloud service. Please note some properties can be set only during cloud service creation. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateCloudServiceWithSingleRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json */ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { const subscriptionId = "{subscription-id}"; @@ -240,7 +240,7 @@ async function createNewCloudServiceWithSingleRoleAndRdpExtension() { publisher: "Microsoft.Windows.Azure.Extensions", settings: "UserAzure10/22/2021 15:05:45", - typeHandlerVersion: "1.2.1" + typeHandlerVersion: "1.2" } } ] diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteInstancesSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteInstancesSample.ts index eea25b6aef18..875e5945d22f 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteInstancesSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteInstancesSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes role instances in a cloud service. * * @summary Deletes role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Delete_ByCloudService.json */ -async function deleteCloudServiceRoleInstances() { +async function deleteCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function deleteCloudServiceRoleInstances() { console.log(result); } -deleteCloudServiceRoleInstances().catch(console.error); +deleteCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteSample.ts index 963effacd472..8e2b3c4ddcf5 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a cloud service. * * @summary Deletes a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/DeleteCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Delete.json */ async function deleteCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetInstanceViewSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetInstanceViewSample.ts index f0c480bbd3fa..08f70a371c7b 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetInstanceViewSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetInstanceViewSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the status of a cloud service. * * @summary Gets the status of a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceInstanceViewWithMultiRole.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_InstanceViewWithMultiRole.json */ async function getCloudServiceInstanceViewWithMultipleRoles() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetSample.ts index 62013e2868dd..7c24c3cf67f5 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Display information about a cloud service. * * @summary Display information about a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceWithMultiRoleAndRDP.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json */ async function getCloudServiceWithMultipleRolesAndRdpExtension() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListAllSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListAllSample.ts index 07ba26444b1c..da7efb2199b9 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListAllSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListAllSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInSubscription.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_BySubscription.json */ async function listCloudServicesInASubscription() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListSample.ts index cc6338f6d446..6e7a994a612b 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. * * @summary Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServicesInResourceGroup.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_List_ByResourceGroup.json */ async function listCloudServicesInAResourceGroup() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesPowerOffSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesPowerOffSample.ts index a5708506b2e5..ca6f08774e1d 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesPowerOffSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesPowerOffSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. * * @summary Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/PowerOffCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_PowerOff.json */ async function stopOrPowerOffCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRebuildSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRebuildSample.ts index 405f4d92cd04..ae8c17cb336c 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRebuildSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRebuildSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. * * @summary Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RebuildCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json */ -async function rebuildCloudServiceRoleInstances() { +async function rebuildCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function rebuildCloudServiceRoleInstances() { console.log(result); } -rebuildCloudServiceRoleInstances().catch(console.error); +rebuildCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesReimageSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesReimageSample.ts index 5eaaa3c310e5..c6f253b1e674 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesReimageSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesReimageSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. * * @summary Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ReimageCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json */ -async function reimageCloudServiceRoleInstances() { +async function reimageCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function reimageCloudServiceRoleInstances() { console.log(result); } -reimageCloudServiceRoleInstances().catch(console.error); +reimageCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRestartSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRestartSample.ts index a76422935df1..8aca8eaa056f 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRestartSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesRestartSample.ts @@ -19,9 +19,9 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Restarts one or more role instances in a cloud service. * * @summary Restarts one or more role instances in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/RestartCloudServiceRoleInstances.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json */ -async function restartCloudServiceRoleInstances() { +async function restartCloudServiceRoleInstancesInACloudService() { const subscriptionId = "{subscription-id}"; const resourceGroupName = "ConstosoRG"; const cloudServiceName = "{cs-name}"; @@ -39,4 +39,4 @@ async function restartCloudServiceRoleInstances() { console.log(result); } -restartCloudServiceRoleInstances().catch(console.error); +restartCloudServiceRoleInstancesInACloudService().catch(console.error); diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesStartSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesStartSample.ts index 1ea93fc235f5..3072304a6ea7 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesStartSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesStartSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Starts the cloud service. * * @summary Starts the cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/StartCloudService.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Start.json */ async function startCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts index 15d318fa94eb..211d023ac663 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainGetUpdateDomainSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. * * @summary Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/GetCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Get.json */ async function getCloudServiceUpdateDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts index 4228ca0634eb..138a236b1bd1 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainListUpdateDomainsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of all update domains in a cloud service. * * @summary Gets a list of all update domains in a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/ListCloudServiceUpdateDomains.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_List.json */ async function listUpdateDomainsInCloudService() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts index c54794b70d3a..9510dfe50f61 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateDomainWalkUpdateDomainSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates the role instances in the specified update domain. * * @summary Updates the role instances in the specified update domain. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceUpdateDomain.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceUpdateDomain_Update.json */ async function updateCloudServiceToSpecifiedDomain() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateSample.ts b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateSample.ts index c761147681df..1f9557746617 100644 --- a/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateSample.ts +++ b/sdk/compute/arm-compute/samples/v19/typescript/src/cloudServicesUpdateSample.ts @@ -19,7 +19,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Update a cloud service. * * @summary Update a cloud service. - * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/UpdateCloudServiceToIncludeTags.json + * x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Update_ToIncludeTags.json */ async function updateExistingCloudServiceToAddTags() { const subscriptionId = "{subscription-id}"; diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts index 723c7030fecc..ca06148ea743 100644 --- a/sdk/compute/arm-compute/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute/src/computeManagementClient.ts @@ -145,15 +145,12 @@ export class ComputeManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-compute/19.0.1`; + const packageDetails = `azsdk-js-arm-compute/19.1.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`; - if (!options.credentialScopes) { - options.credentialScopes = ["https://management.azure.com/.default"]; - } const optionsWithDefaults = { ...defaults, ...options, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index c538fea54b0f..8d5fc8a46e68 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -3646,6 +3646,7 @@ export interface CommunityGalleryImageVersionList { nextLink?: string; } +/** Describes the cloud service role instance. */ export interface RoleInstance { /** * Resource Id @@ -3672,10 +3673,13 @@ export interface RoleInstance { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tags?: { [propertyName: string]: string }; + /** The role instance SKU. */ sku?: InstanceSku; + /** Role instance properties. */ properties?: RoleInstanceProperties; } +/** The role instance SKU. */ export interface InstanceSku { /** * The sku name. @@ -3689,6 +3693,7 @@ export interface InstanceSku { readonly tier?: string; } +/** Role instance properties. */ export interface RoleInstanceProperties { /** Describes the network profile for the role instance. */ networkProfile?: RoleInstanceNetworkProfile; @@ -3752,8 +3757,11 @@ export interface ResourceInstanceViewStatus { level?: StatusLevelTypes; } +/** The list operation result. */ export interface RoleInstanceListResult { + /** The list of resources. */ value: RoleInstance[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -3781,6 +3789,7 @@ export interface CloudServiceRole { readonly location?: string; /** Describes the cloud service role sku. */ sku?: CloudServiceRoleSku; + /** The cloud service role properties. */ properties?: CloudServiceRoleProperties; } @@ -3794,6 +3803,7 @@ export interface CloudServiceRoleSku { capacity?: number; } +/** The cloud service role properties. */ export interface CloudServiceRoleProperties { /** * Specifies the ID which uniquely identifies a cloud service role. @@ -3802,8 +3812,11 @@ export interface CloudServiceRoleProperties { readonly uniqueId?: string; } +/** The list operation result. */ export interface CloudServiceRoleListResult { + /** The list of resources. */ value: CloudServiceRole[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -3830,6 +3843,8 @@ export interface CloudService { tags?: { [propertyName: string]: string }; /** Cloud service properties */ properties?: CloudServiceProperties; + /** The system meta data relating to this resource. */ + systemData?: SystemData; } /** Cloud service properties */ @@ -3920,6 +3935,12 @@ export interface CloudServiceVaultCertificate { export interface CloudServiceNetworkProfile { /** List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer. */ loadBalancerConfigurations?: LoadBalancerConfiguration[]; + /** + * Slot type for the cloud service. + * Possible values are

**Production**

**Staging**

+ * If not specified, the default value is Production. + */ + slotType?: CloudServiceSlotType; /** The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown. */ swappableCloudService?: SubResource; } @@ -3934,11 +3955,13 @@ export interface LoadBalancerConfiguration { properties: LoadBalancerConfigurationProperties; } +/** Describes the properties of the load balancer configuration. */ export interface LoadBalancerConfigurationProperties { /** Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. */ frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[]; } +/** Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration. */ export interface LoadBalancerFrontendIPConfiguration { /** The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. */ name: string; @@ -3981,9 +4004,10 @@ export interface CloudServiceExtensionProperties { /** Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. */ autoUpgradeMinorVersion?: boolean; /** Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. */ - settings?: string; + settings?: any; /** Protected settings for the extension which are encrypted before sent to the role instance. */ - protectedSettings?: string; + protectedSettings?: any; + /** Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. */ protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference; /** * Tag to force apply the provided public and protected settings. @@ -4002,11 +4026,28 @@ export interface CloudServiceExtensionProperties { rolesAppliedTo?: string[]; } +/** Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance. */ export interface CloudServiceVaultAndSecretReference { + /** The ARM Resource ID of the Key Vault */ sourceVault?: SubResource; + /** Secret URL which contains the protected settings of the extension */ secretUrl?: string; } +/** The system meta data relating to this resource. */ +export interface SystemData { + /** + * Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
Minimum api-version: 2022-04-04. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdAt?: Date; + /** + * Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastModifiedAt?: Date; +} + export interface CloudServiceUpdate { /** Resource tags */ tags?: { [propertyName: string]: string }; @@ -4032,10 +4073,14 @@ export interface CloudServiceInstanceView { /** Instance view statuses. */ export interface InstanceViewStatusesSummary { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ + /** + * The summary. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ readonly statusesSummary?: StatusCodeCount[]; } +/** The status code and count of the cloud service instance view statuses */ export interface StatusCodeCount { /** * The instance view status code @@ -4049,8 +4094,11 @@ export interface StatusCodeCount { readonly count?: number; } +/** The list operation result. */ export interface CloudServiceListResult { + /** The list of resources. */ value: CloudService[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -4074,8 +4122,11 @@ export interface UpdateDomain { readonly name?: string; } +/** The list operation result. */ export interface UpdateDomainListResult { + /** The list of resources. */ value: UpdateDomain[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -4139,8 +4190,11 @@ export interface OSVersionProperties { readonly isActive?: boolean; } +/** The list operation result. */ export interface OSVersionListResult { + /** The list of resources. */ value: OSVersion[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -4213,8 +4267,11 @@ export interface OSVersionPropertiesBase { readonly isActive?: boolean; } +/** The list operation result. */ export interface OSFamilyListResult { + /** The list of resources. */ value: OSFamily[]; + /** The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources. */ nextLink?: string; } @@ -4253,7 +4310,7 @@ export interface ManagedArtifact { } /** Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. */ -export type ImageReference = SubResource & { +export interface ImageReference extends SubResource { /** The image publisher. */ publisher?: string; /** Specifies the offer of the platform image or marketplace image used to create the virtual machine. */ @@ -4271,13 +4328,13 @@ export type ImageReference = SubResource & { sharedGalleryImageId?: string; /** Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. */ communityGalleryImageId?: string; -}; +} /** Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. */ -export type DiskEncryptionSetParameters = SubResource; +export interface DiskEncryptionSetParameters extends SubResource {} /** Describes a virtual machine scale set network profile's IP configuration. */ -export type VirtualMachineScaleSetIPConfiguration = SubResource & { +export interface VirtualMachineScaleSetIPConfiguration extends SubResource { /** The IP configuration name. */ name: string; /** Specifies the identifier of the subnet. */ @@ -4296,10 +4353,11 @@ export type VirtualMachineScaleSetIPConfiguration = SubResource & { loadBalancerBackendAddressPools?: SubResource[]; /** Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. */ loadBalancerInboundNatPools?: SubResource[]; -}; +} /** Describes a virtual machine scale set network profile's network configurations. */ -export type VirtualMachineScaleSetNetworkConfiguration = SubResource & { +export interface VirtualMachineScaleSetNetworkConfiguration + extends SubResource { /** The network configuration name. */ name: string; /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ @@ -4318,10 +4376,11 @@ export type VirtualMachineScaleSetNetworkConfiguration = SubResource & { enableIPForwarding?: boolean; /** Specify what happens to the network interface when the VM is deleted */ deleteOption?: DeleteOptions; -}; +} /** Describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be modified as long as the original subnet and the new subnet are in the same virtual network */ -export type VirtualMachineScaleSetUpdateIPConfiguration = SubResource & { +export interface VirtualMachineScaleSetUpdateIPConfiguration + extends SubResource { /** The IP configuration name. */ name?: string; /** The subnet. */ @@ -4340,10 +4399,11 @@ export type VirtualMachineScaleSetUpdateIPConfiguration = SubResource & { loadBalancerBackendAddressPools?: SubResource[]; /** The load balancer inbound nat pools. */ loadBalancerInboundNatPools?: SubResource[]; -}; +} /** Describes a virtual machine scale set network profile's network configurations. */ -export type VirtualMachineScaleSetUpdateNetworkConfiguration = SubResource & { +export interface VirtualMachineScaleSetUpdateNetworkConfiguration + extends SubResource { /** The network configuration name. */ name?: string; /** Whether this is a primary NIC on a virtual machine. */ @@ -4362,28 +4422,28 @@ export type VirtualMachineScaleSetUpdateNetworkConfiguration = SubResource & { enableIPForwarding?: boolean; /** Specify what happens to the network interface when the VM is deleted */ deleteOption?: DeleteOptions; -}; +} /** The parameters of a managed disk. */ -export type ManagedDiskParameters = SubResource & { +export interface ManagedDiskParameters extends SubResource { /** Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. */ storageAccountType?: StorageAccountTypes; /** Specifies the customer managed disk encryption set resource id for the managed disk. */ diskEncryptionSet?: DiskEncryptionSetParameters; /** Specifies the security profile for the managed disk. */ securityProfile?: VMDiskSecurityProfile; -}; +} /** Describes a network interface reference. */ -export type NetworkInterfaceReference = SubResource & { +export interface NetworkInterfaceReference extends SubResource { /** Specifies the primary network interface in case the virtual machine has more than 1 network interface. */ primary?: boolean; /** Specify what happens to the network interface when the VM is deleted */ deleteOption?: DeleteOptions; -}; +} /** Output of virtual machine capture operation. */ -export type VirtualMachineCaptureResult = SubResource & { +export interface VirtualMachineCaptureResult extends SubResource { /** * the schema of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4398,16 +4458,16 @@ export type VirtualMachineCaptureResult = SubResource & { * parameters of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly parameters?: Record; + readonly parameters?: any; /** * a list of resource items of the captured virtual machine * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resources?: Record[]; -}; + readonly resources?: any[]; +} /** Virtual machine image resource information. */ -export type VirtualMachineImageResource = SubResource & { +export interface VirtualMachineImageResource extends SubResource { /** The name of the resource. */ name: string; /** The supported Azure location of the resource. */ @@ -4416,15 +4476,15 @@ export type VirtualMachineImageResource = SubResource & { tags?: { [propertyName: string]: string }; /** The extended location of the Virtual Machine. */ extendedLocation?: ExtendedLocation; -}; +} -export type SubResourceWithColocationStatus = SubResource & { +export interface SubResourceWithColocationStatus extends SubResource { /** Describes colocation status of a resource in the Proximity Placement Group. */ colocationStatus?: InstanceViewStatus; -}; +} /** Describes a Virtual Machine Scale Set Extension. */ -export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { +export interface VirtualMachineScaleSetExtension extends SubResourceReadOnly { /** The name of the extension. */ name?: string; /** @@ -4445,9 +4505,9 @@ export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4458,11 +4518,12 @@ export type VirtualMachineScaleSetExtension = SubResourceReadOnly & { /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** Describes a Virtual Machine Scale Set Extension. */ -export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { +export interface VirtualMachineScaleSetExtensionUpdate + extends SubResourceReadOnly { /** * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4486,9 +4547,9 @@ export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4499,11 +4560,11 @@ export type VirtualMachineScaleSetExtensionUpdate = SubResourceReadOnly & { /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** Describes a VMSS VM Extension. */ -export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { +export interface VirtualMachineScaleSetVMExtension extends SubResourceReadOnly { /** * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4527,9 +4588,9 @@ export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4540,11 +4601,12 @@ export type VirtualMachineScaleSetVMExtension = SubResourceReadOnly & { /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** Describes a VMSS VM Extension. */ -export type VirtualMachineScaleSetVMExtensionUpdate = SubResourceReadOnly & { +export interface VirtualMachineScaleSetVMExtensionUpdate + extends SubResourceReadOnly { /** * The name of the extension. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4568,17 +4630,17 @@ export type VirtualMachineScaleSetVMExtensionUpdate = SubResourceReadOnly & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** Describes a Virtual Machine Scale Set. */ -export type VirtualMachineScaleSet = Resource & { +export interface VirtualMachineScaleSet extends Resource { /** The virtual machine scale set sku. */ sku?: Sku; /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ @@ -4632,10 +4694,10 @@ export type VirtualMachineScaleSet = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** The status of the latest virtual machine scale set rolling upgrade. */ -export type RollingUpgradeStatusInfo = Resource & { +export interface RollingUpgradeStatusInfo extends Resource { /** * The rolling upgrade policies applied for this upgrade. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4656,10 +4718,10 @@ export type RollingUpgradeStatusInfo = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly error?: ApiError; -}; +} /** Describes a virtual machine scale set virtual machine. */ -export type VirtualMachineScaleSetVM = Resource & { +export interface VirtualMachineScaleSetVM extends Resource { /** * The virtual machine instance ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -4733,10 +4795,10 @@ export type VirtualMachineScaleSetVM = Resource & { protectionPolicy?: VirtualMachineScaleSetVMProtectionPolicy; /** UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

Minimum api-version: 2021-03-01 */ userData?: string; -}; +} /** Describes a Virtual Machine. */ -export type VirtualMachine = Resource & { +export interface VirtualMachine extends Resource { /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: Plan; /** @@ -4814,10 +4876,10 @@ export type VirtualMachine = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Describes a Virtual Machine Extension Image. */ -export type VirtualMachineExtensionImage = Resource & { +export interface VirtualMachineExtensionImage extends Resource { /** The operating system this extension supports. */ operatingSystem?: string; /** The type of role (IaaS or PaaS) this extension supports. */ @@ -4828,10 +4890,10 @@ export type VirtualMachineExtensionImage = Resource & { vmScaleSetEnabled?: boolean; /** Whether the handler can support multiple extensions. */ supportsMultipleExtensions?: boolean; -}; +} /** Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview).

For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates)

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. */ -export type AvailabilitySet = Resource & { +export interface AvailabilitySet extends Resource { /** Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'. */ sku?: Sku; /** Update Domain count. */ @@ -4847,10 +4909,10 @@ export type AvailabilitySet = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly statuses?: InstanceViewStatus[]; -}; +} /** Specifies information about the proximity placement group. */ -export type ProximityPlacementGroup = Resource & { +export interface ProximityPlacementGroup extends Resource { /** Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created. */ zones?: string[]; /** Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use. */ @@ -4874,10 +4936,10 @@ export type ProximityPlacementGroup = Resource & { colocationStatus?: InstanceViewStatus; /** Specifies the user intent of the proximity placement group. */ intent?: ProximityPlacementGroupPropertiesIntent; -}; +} /** Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group. */ -export type DedicatedHostGroup = Resource & { +export interface DedicatedHostGroup extends Resource { /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ zones?: string[]; /** Number of fault domains that the host group can span. */ @@ -4896,10 +4958,10 @@ export type DedicatedHostGroup = Resource & { supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

Minimum api-version: 2022-03-01. */ additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; -}; +} /** Specifies information about the Dedicated host. */ -export type DedicatedHost = Resource & { +export interface DedicatedHost extends Resource { /** SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values. */ sku: Sku; /** Fault domain of the dedicated host within a dedicated host group. */ @@ -4938,16 +5000,16 @@ export type DedicatedHost = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Specifies information about the SSH public key. */ -export type SshPublicKeyResource = Resource & { +export interface SshPublicKeyResource extends Resource { /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ publicKey?: string; -}; +} /** The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. */ -export type Image = Resource & { +export interface Image extends Resource { /** The extended location of the Image. */ extendedLocation?: ExtendedLocation; /** The source virtual machine from which Image is created. */ @@ -4961,10 +5023,10 @@ export type Image = Resource & { readonly provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: HyperVGenerationTypes; -}; +} /** Create or update Restore Point collection parameters. */ -export type RestorePointCollection = Resource & { +export interface RestorePointCollection extends Resource { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourceProperties; /** @@ -4982,10 +5044,10 @@ export type RestorePointCollection = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly restorePoints?: RestorePoint[]; -}; +} /** Specifies information about the capacity reservation group that the capacity reservations should be assigned to.

Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group. */ -export type CapacityReservationGroup = Resource & { +export interface CapacityReservationGroup extends Resource { /** Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones. */ zones?: string[]; /** @@ -5003,10 +5065,10 @@ export type CapacityReservationGroup = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceView?: CapacityReservationGroupInstanceView; -}; +} /** Specifies information about the capacity reservation. */ -export type CapacityReservation = Resource & { +export interface CapacityReservation extends Resource { /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ sku: Sku; /** Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. */ @@ -5041,10 +5103,10 @@ export type CapacityReservation = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Describes a Virtual Machine run command. */ -export type VirtualMachineRunCommand = Resource & { +export interface VirtualMachineRunCommand extends Resource { /** The source of the run command script. */ source?: VirtualMachineRunCommandScriptSource; /** The parameters used by the script. */ @@ -5073,10 +5135,10 @@ export type VirtualMachineRunCommand = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; +} /** Disk resource. */ -export type Disk = Resource & { +export interface Disk extends Resource { /** * A relative URI containing the ID of the VM that has the disk attached. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5172,10 +5234,10 @@ export type Disk = Resource & { publicNetworkAccess?: PublicNetworkAccess; /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ dataAccessAuthMode?: DataAccessAuthMode; -}; +} /** disk access resource. */ -export type DiskAccess = Resource & { +export interface DiskAccess extends Resource { /** The extended location where the disk access will be created. Extended location cannot be changed. */ extendedLocation?: ExtendedLocation; /** @@ -5193,10 +5255,10 @@ export type DiskAccess = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** disk encryption set resource. */ -export type DiskEncryptionSet = Resource & { +export interface DiskEncryptionSet extends Resource { /** The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. */ identity?: EncryptionSetIdentity; /** The type of key used to encrypt the data of the disk. */ @@ -5227,10 +5289,10 @@ export type DiskEncryptionSet = Resource & { readonly autoKeyRotationError?: ApiError; /** Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property. */ federatedClientId?: string; -}; +} /** Snapshot resource. */ -export type Snapshot = Resource & { +export interface Snapshot extends Resource { /** * Unused. Always Null. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5299,10 +5361,10 @@ export type Snapshot = Resource & { copyCompletionError?: CopyCompletionError; /** Additional authentication requirements when exporting or uploading to a disk or snapshot. */ dataAccessAuthMode?: DataAccessAuthMode; -}; +} /** Specifies information about the Shared Image Gallery that you want to create or update. */ -export type Gallery = Resource & { +export interface Gallery extends Resource { /** The description of this Shared Image Gallery resource. This property is updatable. */ description?: string; /** Describes the gallery unique name. */ @@ -5321,10 +5383,10 @@ export type Gallery = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sharingStatus?: SharingStatus; -}; +} /** Specifies information about the gallery image definition that you want to create or update. */ -export type GalleryImage = Resource & { +export interface GalleryImage extends Resource { /** The description of this gallery image definition resource. This property is updatable. */ description?: string; /** The Eula agreement for the gallery image definition. */ @@ -5358,10 +5420,10 @@ export type GalleryImage = Resource & { features?: GalleryImageFeature[]; /** The architecture of the image. Applicable to OS disks only. */ architecture?: Architecture; -}; +} /** Specifies information about the gallery image version that you want to create or update. */ -export type GalleryImageVersion = Resource & { +export interface GalleryImageVersion extends Resource { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfile; /** @@ -5376,10 +5438,10 @@ export type GalleryImageVersion = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly replicationStatus?: ReplicationStatus; -}; +} /** Specifies information about the gallery Application Definition that you want to create or update. */ -export type GalleryApplication = Resource & { +export interface GalleryApplication extends Resource { /** The description of this gallery Application Definition resource. This property is updatable. */ description?: string; /** The Eula agreement for the gallery Application Definition. */ @@ -5392,10 +5454,10 @@ export type GalleryApplication = Resource & { endOfLifeDate?: Date; /** This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux** */ supportedOSType?: OperatingSystemTypes; -}; +} /** Specifies information about the gallery Application Version that you want to create or update. */ -export type GalleryApplicationVersion = Resource & { +export interface GalleryApplicationVersion extends Resource { /** The publishing profile of a gallery image version. */ publishingProfile?: GalleryApplicationVersionPublishingProfile; /** @@ -5408,10 +5470,10 @@ export type GalleryApplicationVersion = Resource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly replicationStatus?: ReplicationStatus; -}; +} /** Describes a Virtual Machine Scale Set. */ -export type VirtualMachineScaleSetUpdate = UpdateResource & { +export interface VirtualMachineScaleSetUpdate extends UpdateResource { /** The virtual machine scale set sku. */ sku?: Sku; /** The purchase plan when deploying a virtual machine scale set from VM Marketplace images. */ @@ -5436,10 +5498,10 @@ export type VirtualMachineScaleSetUpdate = UpdateResource & { scaleInPolicy?: ScaleInPolicy; /** Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

Minimum api-version: 2018-04-01. */ proximityPlacementGroup?: SubResource; -}; +} /** Describes a Virtual Machine Extension. */ -export type VirtualMachineExtensionUpdate = UpdateResource & { +export interface VirtualMachineExtensionUpdate extends UpdateResource { /** How the extension handler should be forced to update even if the extension configuration has not changed. */ forceUpdateTag?: string; /** The name of the extension handler publisher. */ @@ -5453,17 +5515,17 @@ export type VirtualMachineExtensionUpdate = UpdateResource & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** Describes a Virtual Machine Update. */ -export type VirtualMachineUpdate = UpdateResource & { +export interface VirtualMachineUpdate extends UpdateResource { /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**. */ plan?: Plan; /** The identity of the virtual machine, if configured. */ @@ -5534,10 +5596,10 @@ export type VirtualMachineUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated. */ -export type AvailabilitySetUpdate = UpdateResource & { +export interface AvailabilitySetUpdate extends UpdateResource { /** Sku of the availability set */ sku?: Sku; /** Update Domain count. */ @@ -5553,13 +5615,13 @@ export type AvailabilitySetUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly statuses?: InstanceViewStatus[]; -}; +} /** Specifies information about the proximity placement group. */ -export type ProximityPlacementGroupUpdate = UpdateResource; +export interface ProximityPlacementGroupUpdate extends UpdateResource {} /** Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated. */ -export type DedicatedHostGroupUpdate = UpdateResource & { +export interface DedicatedHostGroupUpdate extends UpdateResource { /** Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. */ zones?: string[]; /** Number of fault domains that the host group can span. */ @@ -5578,10 +5640,10 @@ export type DedicatedHostGroupUpdate = UpdateResource & { supportAutomaticPlacement?: boolean; /** Enables or disables a capability on the dedicated host group.

Minimum api-version: 2022-03-01. */ additionalCapabilities?: DedicatedHostGroupPropertiesAdditionalCapabilities; -}; +} /** Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated. */ -export type DedicatedHostUpdate = UpdateResource & { +export interface DedicatedHostUpdate extends UpdateResource { /** Fault domain of the dedicated host within a dedicated host group. */ platformFaultDomain?: number; /** Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. */ @@ -5618,16 +5680,16 @@ export type DedicatedHostUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Specifies information about the SSH public key. */ -export type SshPublicKeyUpdateResource = UpdateResource & { +export interface SshPublicKeyUpdateResource extends UpdateResource { /** SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. */ publicKey?: string; -}; +} /** The source user image virtual hard disk. Only tags may be updated. */ -export type ImageUpdate = UpdateResource & { +export interface ImageUpdate extends UpdateResource { /** The source virtual machine from which Image is created. */ sourceVirtualMachine?: SubResource; /** Specifies the storage settings for the virtual machine disks. */ @@ -5639,10 +5701,10 @@ export type ImageUpdate = UpdateResource & { readonly provisioningState?: string; /** Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. */ hyperVGeneration?: HyperVGenerationTypes; -}; +} /** Update Restore Point collection parameters. */ -export type RestorePointCollectionUpdate = UpdateResource & { +export interface RestorePointCollectionUpdate extends UpdateResource { /** The properties of the source resource that this restore point collection is created from. */ source?: RestorePointCollectionSourceProperties; /** @@ -5660,10 +5722,10 @@ export type RestorePointCollectionUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly restorePoints?: RestorePoint[]; -}; +} /** Specifies information about the capacity reservation group. Only tags can be updated. */ -export type CapacityReservationGroupUpdate = UpdateResource & { +export interface CapacityReservationGroupUpdate extends UpdateResource { /** * A list of all capacity reservation resource ids that belong to capacity reservation group. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5679,10 +5741,10 @@ export type CapacityReservationGroupUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceView?: CapacityReservationGroupInstanceView; -}; +} /** Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. */ -export type CapacityReservationUpdate = UpdateResource & { +export interface CapacityReservationUpdate extends UpdateResource { /** SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. */ sku?: Sku; /** @@ -5715,10 +5777,10 @@ export type CapacityReservationUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeCreated?: Date; -}; +} /** Describes a Virtual Machine run command. */ -export type VirtualMachineRunCommandUpdate = UpdateResource & { +export interface VirtualMachineRunCommandUpdate extends UpdateResource { /** The source of the run command script. */ source?: VirtualMachineRunCommandScriptSource; /** The parameters used by the script. */ @@ -5747,13 +5809,14 @@ export type VirtualMachineRunCommandUpdate = UpdateResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceView?: VirtualMachineRunCommandInstanceView; -}; +} /** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ -export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters; +export interface VirtualMachineScaleSetVMReimageParameters + extends VirtualMachineReimageParameters {} /** Describes a Virtual Machine Extension. */ -export type VirtualMachineExtension = ResourceWithOptionalLocation & { +export interface VirtualMachineExtension extends ResourceWithOptionalLocation { /** How the extension handler should be forced to update even if the extension configuration has not changed. */ forceUpdateTag?: string; /** The name of the extension handler publisher. */ @@ -5767,9 +5830,9 @@ export type VirtualMachineExtension = ResourceWithOptionalLocation & { /** Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ enableAutomaticUpgrade?: boolean; /** Json formatted public settings for the extension. */ - settings?: Record; + settings?: any; /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ - protectedSettings?: Record; + protectedSettings?: any; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5780,34 +5843,35 @@ export type VirtualMachineExtension = ResourceWithOptionalLocation & { /** Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ suppressFailures?: boolean; /** The extensions protected settings that are passed by reference, and consumed from key vault */ - protectedSettingsFromKeyVault?: Record; -}; + protectedSettingsFromKeyVault?: any; +} /** The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group. */ -export type DedicatedHostInstanceViewWithName = DedicatedHostInstanceView & { +export interface DedicatedHostInstanceViewWithName + extends DedicatedHostInstanceView { /** * The name of the dedicated host. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; -}; +} /** Describes an Operating System disk. */ -export type ImageOSDisk = ImageDisk & { +export interface ImageOSDisk extends ImageDisk { /** This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

**Windows**

**Linux** */ osType: OperatingSystemTypes; /** The OS State. */ osState: OperatingSystemStateTypes; -}; +} /** Describes a data disk. */ -export type ImageDataDisk = ImageDisk & { +export interface ImageDataDisk extends ImageDisk { /** Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. */ lun: number; -}; +} /** Restore Point details. */ -export type RestorePoint = ProxyResource & { +export interface RestorePoint extends ProxyResource { /** List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. */ excludeDisks?: ApiEntityReference[]; /** @@ -5831,36 +5895,37 @@ export type RestorePoint = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceView?: RestorePointInstanceView; -}; +} /** The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. */ -export type CapacityReservationInstanceViewWithName = CapacityReservationInstanceView & { +export interface CapacityReservationInstanceViewWithName + extends CapacityReservationInstanceView { /** * The name of the capacity reservation. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; -}; +} /** Api request input for LogAnalytics getRequestRateByInterval Api. */ -export type RequestRateByIntervalInput = LogAnalyticsInputBase & { +export interface RequestRateByIntervalInput extends LogAnalyticsInputBase { /** Interval value in minutes used to create LogAnalytics call rate logs. */ intervalLength: IntervalInMins; -}; +} /** Api request input for LogAnalytics getThrottledRequests Api. */ -export type ThrottledRequestsInput = LogAnalyticsInputBase; +export interface ThrottledRequestsInput extends LogAnalyticsInputBase {} /** Describes the properties of a Run Command. */ -export type RunCommandDocument = RunCommandDocumentBase & { +export interface RunCommandDocument extends RunCommandDocumentBase { /** The script to be executed. */ script: string[]; /** The parameters used by the script. */ parameters?: RunCommandParameterDefinition[]; -}; +} /** Properties of disk restore point */ -export type DiskRestorePoint = ProxyOnlyResource & { +export interface DiskRestorePoint extends ProxyOnlyResource { /** * The timestamp of restorePoint creation * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5919,10 +5984,10 @@ export type DiskRestorePoint = ProxyOnlyResource & { readonly sourceResourceLocation?: string; /** Contains the security related information for the resource. */ securityProfile?: DiskSecurityProfile; -}; +} /** Specifies information about the Shared Image Gallery that you want to update. */ -export type GalleryUpdate = UpdateResourceDefinition & { +export interface GalleryUpdate extends UpdateResourceDefinition { /** The description of this Shared Image Gallery resource. This property is updatable. */ description?: string; /** Describes the gallery unique name. */ @@ -5941,10 +6006,10 @@ export type GalleryUpdate = UpdateResourceDefinition & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sharingStatus?: SharingStatus; -}; +} /** Specifies information about the gallery image definition that you want to update. */ -export type GalleryImageUpdate = UpdateResourceDefinition & { +export interface GalleryImageUpdate extends UpdateResourceDefinition { /** The description of this gallery image definition resource. This property is updatable. */ description?: string; /** The Eula agreement for the gallery image definition. */ @@ -5978,10 +6043,10 @@ export type GalleryImageUpdate = UpdateResourceDefinition & { features?: GalleryImageFeature[]; /** The architecture of the image. Applicable to OS disks only. */ architecture?: Architecture; -}; +} /** Specifies information about the gallery image version that you want to update. */ -export type GalleryImageVersionUpdate = UpdateResourceDefinition & { +export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { /** The publishing profile of a gallery image Version. */ publishingProfile?: GalleryImageVersionPublishingProfile; /** @@ -5996,10 +6061,10 @@ export type GalleryImageVersionUpdate = UpdateResourceDefinition & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly replicationStatus?: ReplicationStatus; -}; +} /** Specifies information about the gallery Application Definition that you want to update. */ -export type GalleryApplicationUpdate = UpdateResourceDefinition & { +export interface GalleryApplicationUpdate extends UpdateResourceDefinition { /** The description of this gallery Application Definition resource. This property is updatable. */ description?: string; /** The Eula agreement for the gallery Application Definition. */ @@ -6012,10 +6077,11 @@ export type GalleryApplicationUpdate = UpdateResourceDefinition & { endOfLifeDate?: Date; /** This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux** */ supportedOSType?: OperatingSystemTypes; -}; +} /** Specifies information about the gallery Application Version that you want to update. */ -export type GalleryApplicationVersionUpdate = UpdateResourceDefinition & { +export interface GalleryApplicationVersionUpdate + extends UpdateResourceDefinition { /** The publishing profile of a gallery image version. */ publishingProfile?: GalleryApplicationVersionPublishingProfile; /** @@ -6028,13 +6094,15 @@ export type GalleryApplicationVersionUpdate = UpdateResourceDefinition & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly replicationStatus?: ReplicationStatus; -}; +} /** The publishing profile of a gallery image Version. */ -export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase; +export interface GalleryImageVersionPublishingProfile + extends GalleryArtifactPublishingProfileBase {} /** The publishing profile of a gallery image version. */ -export type GalleryApplicationVersionPublishingProfile = GalleryArtifactPublishingProfileBase & { +export interface GalleryApplicationVersionPublishingProfile + extends GalleryArtifactPublishingProfileBase { /** The source image from which the Image Version is going to be created. */ source: UserArtifactSource; manageActions?: UserArtifactManage; @@ -6044,49 +6112,49 @@ export type GalleryApplicationVersionPublishingProfile = GalleryArtifactPublishi advancedSettings?: { [propertyName: string]: string }; /** Optional. Whether or not this application reports health. */ enableHealthCheck?: boolean; -}; +} /** Contains encryption settings for an OS disk image. */ -export type OSDiskImageEncryption = DiskImageEncryption & { +export interface OSDiskImageEncryption extends DiskImageEncryption { /** This property specifies the security profile of an OS disk image. */ securityProfile?: OSDiskImageSecurityProfile; -}; +} /** Contains encryption settings for a data disk image. */ -export type DataDiskImageEncryption = DiskImageEncryption & { +export interface DataDiskImageEncryption extends DiskImageEncryption { /** This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. */ lun: number; -}; +} /** This is the OS disk image. */ -export type GalleryOSDiskImage = GalleryDiskImage; +export interface GalleryOSDiskImage extends GalleryDiskImage {} /** This is the data disk image. */ -export type GalleryDataDiskImage = GalleryDiskImage & { +export interface GalleryDataDiskImage extends GalleryDiskImage { /** This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. */ lun: number; -}; +} /** Base information about the shared gallery resource in pir. */ -export type PirSharedGalleryResource = PirResource & { +export interface PirSharedGalleryResource extends PirResource { /** The unique id of this shared gallery. */ uniqueId?: string; -}; +} /** This is the OS disk image. */ -export type SharedGalleryOSDiskImage = SharedGalleryDiskImage; +export interface SharedGalleryOSDiskImage extends SharedGalleryDiskImage {} /** This is the data disk image. */ -export type SharedGalleryDataDiskImage = SharedGalleryDiskImage & { +export interface SharedGalleryDataDiskImage extends SharedGalleryDiskImage { /** This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. */ lun: number; -}; +} /** Specifies information about the Community Gallery that you want to create or update. */ -export type CommunityGallery = PirCommunityGalleryResource; +export interface CommunityGallery extends PirCommunityGalleryResource {} /** Specifies information about the gallery image definition that you want to create or update. */ -export type CommunityGalleryImage = PirCommunityGalleryResource & { +export interface CommunityGalleryImage extends PirCommunityGalleryResource { /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux** */ osType?: OperatingSystemTypes; /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */ @@ -6111,10 +6179,11 @@ export type CommunityGalleryImage = PirCommunityGalleryResource & { privacyStatementUri?: string; /** End-user license agreement for the current community gallery image. */ eula?: string; -}; +} /** Specifies information about the gallery image version that you want to create or update. */ -export type CommunityGalleryImageVersion = PirCommunityGalleryResource & { +export interface CommunityGalleryImageVersion + extends PirCommunityGalleryResource { /** The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. */ publishedDate?: Date; /** The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. */ @@ -6123,10 +6192,10 @@ export type CommunityGalleryImageVersion = PirCommunityGalleryResource & { excludeFromLatest?: boolean; /** Describes the storage profile of the image version. */ storageProfile?: SharedGalleryImageVersionStorageProfile; -}; +} /** Describes a Virtual Machine Image. */ -export type VirtualMachineImage = VirtualMachineImageResource & { +export interface VirtualMachineImage extends VirtualMachineImageResource { /** Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. */ plan?: PurchasePlan; /** Contains the os disk image information. */ @@ -6141,19 +6210,20 @@ export type VirtualMachineImage = VirtualMachineImageResource & { features?: VirtualMachineImageFeature[]; /** Specifies the Architecture Type */ architecture?: ArchitectureTypes; -}; +} /** Describes a Virtual Machine Scale Set VM Reimage Parameters. */ -export type VirtualMachineScaleSetReimageParameters = VirtualMachineScaleSetVMReimageParameters & { +export interface VirtualMachineScaleSetReimageParameters + extends VirtualMachineScaleSetVMReimageParameters { /** The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set. */ instanceIds?: string[]; -}; +} /** Specifies information about the Shared Gallery that you want to create or update. */ -export type SharedGallery = PirSharedGalleryResource; +export interface SharedGallery extends PirSharedGalleryResource {} /** Specifies information about the gallery image definition that you want to create or update. */ -export type SharedGalleryImage = PirSharedGalleryResource & { +export interface SharedGalleryImage extends PirSharedGalleryResource { /** This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux** */ osType?: OperatingSystemTypes; /** This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */ @@ -6174,10 +6244,10 @@ export type SharedGalleryImage = PirSharedGalleryResource & { purchasePlan?: ImagePurchasePlan; /** The architecture of the image. Applicable to OS disks only. */ architecture?: Architecture; -}; +} /** Specifies information about the gallery image version that you want to create or update. */ -export type SharedGalleryImageVersion = PirSharedGalleryResource & { +export interface SharedGalleryImageVersion extends PirSharedGalleryResource { /** The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. */ publishedDate?: Date; /** The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. */ @@ -6186,12 +6256,15 @@ export type SharedGalleryImageVersion = PirSharedGalleryResource & { excludeFromLatest?: boolean; /** Describes the storage profile of the image version. */ storageProfile?: SharedGalleryImageVersionStorageProfile; -}; +} /** Known values of {@link RepairAction} that the service accepts. */ export enum KnownRepairAction { + /** Replace */ Replace = "Replace", + /** Restart */ Restart = "Restart", + /** Reimage */ Reimage = "Reimage" } @@ -6208,8 +6281,11 @@ export type RepairAction = string; /** Known values of {@link WindowsVMGuestPatchMode} that the service accepts. */ export enum KnownWindowsVMGuestPatchMode { + /** Manual */ Manual = "Manual", + /** AutomaticByOS */ AutomaticByOS = "AutomaticByOS", + /** AutomaticByPlatform */ AutomaticByPlatform = "AutomaticByPlatform" } @@ -6226,7 +6302,9 @@ export type WindowsVMGuestPatchMode = string; /** Known values of {@link WindowsPatchAssessmentMode} that the service accepts. */ export enum KnownWindowsPatchAssessmentMode { + /** ImageDefault */ ImageDefault = "ImageDefault", + /** AutomaticByPlatform */ AutomaticByPlatform = "AutomaticByPlatform" } @@ -6242,9 +6320,13 @@ export type WindowsPatchAssessmentMode = string; /** Known values of {@link WindowsVMGuestPatchAutomaticByPlatformRebootSetting} that the service accepts. */ export enum KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting { + /** Unknown */ Unknown = "Unknown", + /** IfRequired */ IfRequired = "IfRequired", + /** Never */ Never = "Never", + /** Always */ Always = "Always" } @@ -6262,7 +6344,9 @@ export type WindowsVMGuestPatchAutomaticByPlatformRebootSetting = string; /** Known values of {@link LinuxVMGuestPatchMode} that the service accepts. */ export enum KnownLinuxVMGuestPatchMode { + /** ImageDefault */ ImageDefault = "ImageDefault", + /** AutomaticByPlatform */ AutomaticByPlatform = "AutomaticByPlatform" } @@ -6278,7 +6362,9 @@ export type LinuxVMGuestPatchMode = string; /** Known values of {@link LinuxPatchAssessmentMode} that the service accepts. */ export enum KnownLinuxPatchAssessmentMode { + /** ImageDefault */ ImageDefault = "ImageDefault", + /** AutomaticByPlatform */ AutomaticByPlatform = "AutomaticByPlatform" } @@ -6294,9 +6380,13 @@ export type LinuxPatchAssessmentMode = string; /** Known values of {@link LinuxVMGuestPatchAutomaticByPlatformRebootSetting} that the service accepts. */ export enum KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting { + /** Unknown */ Unknown = "Unknown", + /** IfRequired */ IfRequired = "IfRequired", + /** Never */ Never = "Never", + /** Always */ Always = "Always" } @@ -6314,8 +6404,11 @@ export type LinuxVMGuestPatchAutomaticByPlatformRebootSetting = string; /** Known values of {@link DiskCreateOptionTypes} that the service accepts. */ export enum KnownDiskCreateOptionTypes { + /** FromImage */ FromImage = "FromImage", + /** Empty */ Empty = "Empty", + /** Attach */ Attach = "Attach" } @@ -6332,6 +6425,7 @@ export type DiskCreateOptionTypes = string; /** Known values of {@link DiffDiskOptions} that the service accepts. */ export enum KnownDiffDiskOptions { + /** Local */ Local = "Local" } @@ -6346,7 +6440,9 @@ export type DiffDiskOptions = string; /** Known values of {@link DiffDiskPlacement} that the service accepts. */ export enum KnownDiffDiskPlacement { + /** CacheDisk */ CacheDisk = "CacheDisk", + /** ResourceDisk */ ResourceDisk = "ResourceDisk" } @@ -6362,12 +6458,19 @@ export type DiffDiskPlacement = string; /** Known values of {@link StorageAccountTypes} that the service accepts. */ export enum KnownStorageAccountTypes { + /** StandardLRS */ StandardLRS = "Standard_LRS", + /** PremiumLRS */ PremiumLRS = "Premium_LRS", + /** StandardSSDLRS */ StandardSSDLRS = "StandardSSD_LRS", + /** UltraSSDLRS */ UltraSSDLRS = "UltraSSD_LRS", + /** PremiumZRS */ PremiumZRS = "Premium_ZRS", + /** StandardSSDZRS */ StandardSSDZRS = "StandardSSD_ZRS", + /** PremiumV2LRS */ PremiumV2LRS = "PremiumV2_LRS" } @@ -6388,7 +6491,9 @@ export type StorageAccountTypes = string; /** Known values of {@link SecurityEncryptionTypes} that the service accepts. */ export enum KnownSecurityEncryptionTypes { + /** VMGuestStateOnly */ VMGuestStateOnly = "VMGuestStateOnly", + /** DiskWithVMGuestState */ DiskWithVMGuestState = "DiskWithVMGuestState" } @@ -6404,7 +6509,9 @@ export type SecurityEncryptionTypes = string; /** Known values of {@link DiskDeleteOptionTypes} that the service accepts. */ export enum KnownDiskDeleteOptionTypes { + /** Delete */ Delete = "Delete", + /** Detach */ Detach = "Detach" } @@ -6420,7 +6527,9 @@ export type DiskDeleteOptionTypes = string; /** Known values of {@link IPVersion} that the service accepts. */ export enum KnownIPVersion { + /** IPv4 */ IPv4 = "IPv4", + /** IPv6 */ IPv6 = "IPv6" } @@ -6436,7 +6545,9 @@ export type IPVersion = string; /** Known values of {@link DeleteOptions} that the service accepts. */ export enum KnownDeleteOptions { + /** Delete */ Delete = "Delete", + /** Detach */ Detach = "Detach" } @@ -6452,7 +6563,9 @@ export type DeleteOptions = string; /** Known values of {@link PublicIPAddressSkuName} that the service accepts. */ export enum KnownPublicIPAddressSkuName { + /** Basic */ Basic = "Basic", + /** Standard */ Standard = "Standard" } @@ -6468,7 +6581,9 @@ export type PublicIPAddressSkuName = string; /** Known values of {@link PublicIPAddressSkuTier} that the service accepts. */ export enum KnownPublicIPAddressSkuTier { + /** Regional */ Regional = "Regional", + /** Global */ Global = "Global" } @@ -6484,6 +6599,7 @@ export type PublicIPAddressSkuTier = string; /** Known values of {@link NetworkApiVersion} that the service accepts. */ export enum KnownNetworkApiVersion { + /** TwoThousandTwenty1101 */ TwoThousandTwenty1101 = "2020-11-01" } @@ -6498,7 +6614,9 @@ export type NetworkApiVersion = string; /** Known values of {@link SecurityTypes} that the service accepts. */ export enum KnownSecurityTypes { + /** TrustedLaunch */ TrustedLaunch = "TrustedLaunch", + /** ConfidentialVM */ ConfidentialVM = "ConfidentialVM" } @@ -6514,8 +6632,11 @@ export type SecurityTypes = string; /** Known values of {@link VirtualMachinePriorityTypes} that the service accepts. */ export enum KnownVirtualMachinePriorityTypes { + /** Regular */ Regular = "Regular", + /** Low */ Low = "Low", + /** Spot */ Spot = "Spot" } @@ -6532,7 +6653,9 @@ export type VirtualMachinePriorityTypes = string; /** Known values of {@link VirtualMachineEvictionPolicyTypes} that the service accepts. */ export enum KnownVirtualMachineEvictionPolicyTypes { + /** Deallocate */ Deallocate = "Deallocate", + /** Delete */ Delete = "Delete" } @@ -6548,8 +6671,11 @@ export type VirtualMachineEvictionPolicyTypes = string; /** Known values of {@link VirtualMachineScaleSetScaleInRules} that the service accepts. */ export enum KnownVirtualMachineScaleSetScaleInRules { + /** Default */ Default = "Default", + /** OldestVM */ OldestVM = "OldestVM", + /** NewestVM */ NewestVM = "NewestVM" } @@ -6566,7 +6692,9 @@ export type VirtualMachineScaleSetScaleInRules = string; /** Known values of {@link OrchestrationMode} that the service accepts. */ export enum KnownOrchestrationMode { + /** Uniform */ Uniform = "Uniform", + /** Flexible */ Flexible = "Flexible" } @@ -6582,6 +6710,7 @@ export type OrchestrationMode = string; /** Known values of {@link ExtendedLocationTypes} that the service accepts. */ export enum KnownExtendedLocationTypes { + /** EdgeZone */ EdgeZone = "EdgeZone" } @@ -6596,6 +6725,7 @@ export type ExtendedLocationTypes = string; /** Known values of {@link ExpandTypesForGetVMScaleSets} that the service accepts. */ export enum KnownExpandTypesForGetVMScaleSets { + /** UserData */ UserData = "userData" } @@ -6610,7 +6740,9 @@ export type ExpandTypesForGetVMScaleSets = string; /** Known values of {@link OrchestrationServiceNames} that the service accepts. */ export enum KnownOrchestrationServiceNames { + /** AutomaticRepairs */ AutomaticRepairs = "AutomaticRepairs", + /** DummyOrchestrationServiceName */ DummyOrchestrationServiceName = "DummyOrchestrationServiceName" } @@ -6626,8 +6758,11 @@ export type OrchestrationServiceNames = string; /** Known values of {@link OrchestrationServiceState} that the service accepts. */ export enum KnownOrchestrationServiceState { + /** NotRunning */ NotRunning = "NotRunning", + /** Running */ Running = "Running", + /** Suspended */ Suspended = "Suspended" } @@ -6644,7 +6779,9 @@ export type OrchestrationServiceState = string; /** Known values of {@link OrchestrationServiceStateAction} that the service accepts. */ export enum KnownOrchestrationServiceStateAction { + /** Resume */ Resume = "Resume", + /** Suspend */ Suspend = "Suspend" } @@ -6660,171 +6797,337 @@ export type OrchestrationServiceStateAction = string; /** Known values of {@link VirtualMachineSizeTypes} that the service accepts. */ export enum KnownVirtualMachineSizeTypes { + /** BasicA0 */ BasicA0 = "Basic_A0", + /** BasicA1 */ BasicA1 = "Basic_A1", + /** BasicA2 */ BasicA2 = "Basic_A2", + /** BasicA3 */ BasicA3 = "Basic_A3", + /** BasicA4 */ BasicA4 = "Basic_A4", + /** StandardA0 */ StandardA0 = "Standard_A0", + /** StandardA1 */ StandardA1 = "Standard_A1", + /** StandardA2 */ StandardA2 = "Standard_A2", + /** StandardA3 */ StandardA3 = "Standard_A3", + /** StandardA4 */ StandardA4 = "Standard_A4", + /** StandardA5 */ StandardA5 = "Standard_A5", + /** StandardA6 */ StandardA6 = "Standard_A6", + /** StandardA7 */ StandardA7 = "Standard_A7", + /** StandardA8 */ StandardA8 = "Standard_A8", + /** StandardA9 */ StandardA9 = "Standard_A9", + /** StandardA10 */ StandardA10 = "Standard_A10", + /** StandardA11 */ StandardA11 = "Standard_A11", + /** StandardA1V2 */ StandardA1V2 = "Standard_A1_v2", + /** StandardA2V2 */ StandardA2V2 = "Standard_A2_v2", + /** StandardA4V2 */ StandardA4V2 = "Standard_A4_v2", + /** StandardA8V2 */ StandardA8V2 = "Standard_A8_v2", + /** StandardA2MV2 */ StandardA2MV2 = "Standard_A2m_v2", + /** StandardA4MV2 */ StandardA4MV2 = "Standard_A4m_v2", + /** StandardA8MV2 */ StandardA8MV2 = "Standard_A8m_v2", + /** StandardB1S */ StandardB1S = "Standard_B1s", + /** StandardB1Ms */ StandardB1Ms = "Standard_B1ms", + /** StandardB2S */ StandardB2S = "Standard_B2s", + /** StandardB2Ms */ StandardB2Ms = "Standard_B2ms", + /** StandardB4Ms */ StandardB4Ms = "Standard_B4ms", + /** StandardB8Ms */ StandardB8Ms = "Standard_B8ms", + /** StandardD1 */ StandardD1 = "Standard_D1", + /** StandardD2 */ StandardD2 = "Standard_D2", + /** StandardD3 */ StandardD3 = "Standard_D3", + /** StandardD4 */ StandardD4 = "Standard_D4", + /** StandardD11 */ StandardD11 = "Standard_D11", + /** StandardD12 */ StandardD12 = "Standard_D12", + /** StandardD13 */ StandardD13 = "Standard_D13", + /** StandardD14 */ StandardD14 = "Standard_D14", + /** StandardD1V2 */ StandardD1V2 = "Standard_D1_v2", + /** StandardD2V2 */ StandardD2V2 = "Standard_D2_v2", + /** StandardD3V2 */ StandardD3V2 = "Standard_D3_v2", + /** StandardD4V2 */ StandardD4V2 = "Standard_D4_v2", + /** StandardD5V2 */ StandardD5V2 = "Standard_D5_v2", + /** StandardD2V3 */ StandardD2V3 = "Standard_D2_v3", + /** StandardD4V3 */ StandardD4V3 = "Standard_D4_v3", + /** StandardD8V3 */ StandardD8V3 = "Standard_D8_v3", + /** StandardD16V3 */ StandardD16V3 = "Standard_D16_v3", + /** StandardD32V3 */ StandardD32V3 = "Standard_D32_v3", + /** StandardD64V3 */ StandardD64V3 = "Standard_D64_v3", + /** StandardD2SV3 */ StandardD2SV3 = "Standard_D2s_v3", + /** StandardD4SV3 */ StandardD4SV3 = "Standard_D4s_v3", + /** StandardD8SV3 */ StandardD8SV3 = "Standard_D8s_v3", + /** StandardD16SV3 */ StandardD16SV3 = "Standard_D16s_v3", + /** StandardD32SV3 */ StandardD32SV3 = "Standard_D32s_v3", + /** StandardD64SV3 */ StandardD64SV3 = "Standard_D64s_v3", + /** StandardD11V2 */ StandardD11V2 = "Standard_D11_v2", + /** StandardD12V2 */ StandardD12V2 = "Standard_D12_v2", + /** StandardD13V2 */ StandardD13V2 = "Standard_D13_v2", + /** StandardD14V2 */ StandardD14V2 = "Standard_D14_v2", + /** StandardD15V2 */ StandardD15V2 = "Standard_D15_v2", + /** StandardDS1 */ StandardDS1 = "Standard_DS1", + /** StandardDS2 */ StandardDS2 = "Standard_DS2", + /** StandardDS3 */ StandardDS3 = "Standard_DS3", + /** StandardDS4 */ StandardDS4 = "Standard_DS4", + /** StandardDS11 */ StandardDS11 = "Standard_DS11", + /** StandardDS12 */ StandardDS12 = "Standard_DS12", + /** StandardDS13 */ StandardDS13 = "Standard_DS13", + /** StandardDS14 */ StandardDS14 = "Standard_DS14", + /** StandardDS1V2 */ StandardDS1V2 = "Standard_DS1_v2", + /** StandardDS2V2 */ StandardDS2V2 = "Standard_DS2_v2", + /** StandardDS3V2 */ StandardDS3V2 = "Standard_DS3_v2", + /** StandardDS4V2 */ StandardDS4V2 = "Standard_DS4_v2", + /** StandardDS5V2 */ StandardDS5V2 = "Standard_DS5_v2", + /** StandardDS11V2 */ StandardDS11V2 = "Standard_DS11_v2", + /** StandardDS12V2 */ StandardDS12V2 = "Standard_DS12_v2", + /** StandardDS13V2 */ StandardDS13V2 = "Standard_DS13_v2", + /** StandardDS14V2 */ StandardDS14V2 = "Standard_DS14_v2", + /** StandardDS15V2 */ StandardDS15V2 = "Standard_DS15_v2", + /** StandardDS134V2 */ StandardDS134V2 = "Standard_DS13-4_v2", + /** StandardDS132V2 */ StandardDS132V2 = "Standard_DS13-2_v2", + /** StandardDS148V2 */ StandardDS148V2 = "Standard_DS14-8_v2", + /** StandardDS144V2 */ StandardDS144V2 = "Standard_DS14-4_v2", + /** StandardE2V3 */ StandardE2V3 = "Standard_E2_v3", + /** StandardE4V3 */ StandardE4V3 = "Standard_E4_v3", + /** StandardE8V3 */ StandardE8V3 = "Standard_E8_v3", + /** StandardE16V3 */ StandardE16V3 = "Standard_E16_v3", + /** StandardE32V3 */ StandardE32V3 = "Standard_E32_v3", + /** StandardE64V3 */ StandardE64V3 = "Standard_E64_v3", + /** StandardE2SV3 */ StandardE2SV3 = "Standard_E2s_v3", + /** StandardE4SV3 */ StandardE4SV3 = "Standard_E4s_v3", + /** StandardE8SV3 */ StandardE8SV3 = "Standard_E8s_v3", + /** StandardE16SV3 */ StandardE16SV3 = "Standard_E16s_v3", + /** StandardE32SV3 */ StandardE32SV3 = "Standard_E32s_v3", + /** StandardE64SV3 */ StandardE64SV3 = "Standard_E64s_v3", + /** StandardE3216V3 */ StandardE3216V3 = "Standard_E32-16_v3", + /** StandardE328SV3 */ StandardE328SV3 = "Standard_E32-8s_v3", + /** StandardE6432SV3 */ StandardE6432SV3 = "Standard_E64-32s_v3", + /** StandardE6416SV3 */ StandardE6416SV3 = "Standard_E64-16s_v3", + /** StandardF1 */ StandardF1 = "Standard_F1", + /** StandardF2 */ StandardF2 = "Standard_F2", + /** StandardF4 */ StandardF4 = "Standard_F4", + /** StandardF8 */ StandardF8 = "Standard_F8", + /** StandardF16 */ StandardF16 = "Standard_F16", + /** StandardF1S */ StandardF1S = "Standard_F1s", + /** StandardF2S */ StandardF2S = "Standard_F2s", + /** StandardF4S */ StandardF4S = "Standard_F4s", + /** StandardF8S */ StandardF8S = "Standard_F8s", + /** StandardF16S */ StandardF16S = "Standard_F16s", + /** StandardF2SV2 */ StandardF2SV2 = "Standard_F2s_v2", + /** StandardF4SV2 */ StandardF4SV2 = "Standard_F4s_v2", + /** StandardF8SV2 */ StandardF8SV2 = "Standard_F8s_v2", + /** StandardF16SV2 */ StandardF16SV2 = "Standard_F16s_v2", + /** StandardF32SV2 */ StandardF32SV2 = "Standard_F32s_v2", + /** StandardF64SV2 */ StandardF64SV2 = "Standard_F64s_v2", + /** StandardF72SV2 */ StandardF72SV2 = "Standard_F72s_v2", + /** StandardG1 */ StandardG1 = "Standard_G1", + /** StandardG2 */ StandardG2 = "Standard_G2", + /** StandardG3 */ StandardG3 = "Standard_G3", + /** StandardG4 */ StandardG4 = "Standard_G4", + /** StandardG5 */ StandardG5 = "Standard_G5", + /** StandardGS1 */ StandardGS1 = "Standard_GS1", + /** StandardGS2 */ StandardGS2 = "Standard_GS2", + /** StandardGS3 */ StandardGS3 = "Standard_GS3", + /** StandardGS4 */ StandardGS4 = "Standard_GS4", + /** StandardGS5 */ StandardGS5 = "Standard_GS5", + /** StandardGS48 */ StandardGS48 = "Standard_GS4-8", + /** StandardGS44 */ StandardGS44 = "Standard_GS4-4", + /** StandardGS516 */ StandardGS516 = "Standard_GS5-16", + /** StandardGS58 */ StandardGS58 = "Standard_GS5-8", + /** StandardH8 */ StandardH8 = "Standard_H8", + /** StandardH16 */ StandardH16 = "Standard_H16", + /** StandardH8M */ StandardH8M = "Standard_H8m", + /** StandardH16M */ StandardH16M = "Standard_H16m", + /** StandardH16R */ StandardH16R = "Standard_H16r", + /** StandardH16Mr */ StandardH16Mr = "Standard_H16mr", + /** StandardL4S */ StandardL4S = "Standard_L4s", + /** StandardL8S */ StandardL8S = "Standard_L8s", + /** StandardL16S */ StandardL16S = "Standard_L16s", + /** StandardL32S */ StandardL32S = "Standard_L32s", + /** StandardM64S */ StandardM64S = "Standard_M64s", + /** StandardM64Ms */ StandardM64Ms = "Standard_M64ms", + /** StandardM128S */ StandardM128S = "Standard_M128s", + /** StandardM128Ms */ StandardM128Ms = "Standard_M128ms", + /** StandardM6432Ms */ StandardM6432Ms = "Standard_M64-32ms", + /** StandardM6416Ms */ StandardM6416Ms = "Standard_M64-16ms", + /** StandardM12864Ms */ StandardM12864Ms = "Standard_M128-64ms", + /** StandardM12832Ms */ StandardM12832Ms = "Standard_M128-32ms", + /** StandardNC6 */ StandardNC6 = "Standard_NC6", + /** StandardNC12 */ StandardNC12 = "Standard_NC12", + /** StandardNC24 */ StandardNC24 = "Standard_NC24", + /** StandardNC24R */ StandardNC24R = "Standard_NC24r", + /** StandardNC6SV2 */ StandardNC6SV2 = "Standard_NC6s_v2", + /** StandardNC12SV2 */ StandardNC12SV2 = "Standard_NC12s_v2", + /** StandardNC24SV2 */ StandardNC24SV2 = "Standard_NC24s_v2", + /** StandardNC24RsV2 */ StandardNC24RsV2 = "Standard_NC24rs_v2", + /** StandardNC6SV3 */ StandardNC6SV3 = "Standard_NC6s_v3", + /** StandardNC12SV3 */ StandardNC12SV3 = "Standard_NC12s_v3", + /** StandardNC24SV3 */ StandardNC24SV3 = "Standard_NC24s_v3", + /** StandardNC24RsV3 */ StandardNC24RsV3 = "Standard_NC24rs_v3", + /** StandardND6S */ StandardND6S = "Standard_ND6s", + /** StandardND12S */ StandardND12S = "Standard_ND12s", + /** StandardND24S */ StandardND24S = "Standard_ND24s", + /** StandardND24Rs */ StandardND24Rs = "Standard_ND24rs", + /** StandardNV6 */ StandardNV6 = "Standard_NV6", + /** StandardNV12 */ StandardNV12 = "Standard_NV12", + /** StandardNV24 */ StandardNV24 = "Standard_NV24" } @@ -7004,6 +7307,7 @@ export type VirtualMachineSizeTypes = string; /** Known values of {@link DiskDetachOptionTypes} that the service accepts. */ export enum KnownDiskDetachOptionTypes { + /** ForceDetach */ ForceDetach = "ForceDetach" } @@ -7018,7 +7322,9 @@ export type DiskDetachOptionTypes = string; /** Known values of {@link IPVersions} that the service accepts. */ export enum KnownIPVersions { + /** IPv4 */ IPv4 = "IPv4", + /** IPv6 */ IPv6 = "IPv6" } @@ -7034,7 +7340,9 @@ export type IPVersions = string; /** Known values of {@link PublicIPAllocationMethod} that the service accepts. */ export enum KnownPublicIPAllocationMethod { + /** Dynamic */ Dynamic = "Dynamic", + /** Static */ Static = "Static" } @@ -7050,7 +7358,9 @@ export type PublicIPAllocationMethod = string; /** Known values of {@link HyperVGenerationType} that the service accepts. */ export enum KnownHyperVGenerationType { + /** V1 */ V1 = "V1", + /** V2 */ V2 = "V2" } @@ -7066,10 +7376,15 @@ export type HyperVGenerationType = string; /** Known values of {@link PatchOperationStatus} that the service accepts. */ export enum KnownPatchOperationStatus { + /** Unknown */ Unknown = "Unknown", + /** InProgress */ InProgress = "InProgress", + /** Failed */ Failed = "Failed", + /** Succeeded */ Succeeded = "Succeeded", + /** CompletedWithWarnings */ CompletedWithWarnings = "CompletedWithWarnings" } @@ -7088,9 +7403,13 @@ export type PatchOperationStatus = string; /** Known values of {@link VMGuestPatchRebootBehavior} that the service accepts. */ export enum KnownVMGuestPatchRebootBehavior { + /** Unknown */ Unknown = "Unknown", + /** NeverReboots */ NeverReboots = "NeverReboots", + /** AlwaysRequiresReboot */ AlwaysRequiresReboot = "AlwaysRequiresReboot", + /** CanRequestReboot */ CanRequestReboot = "CanRequestReboot" } @@ -7108,7 +7427,9 @@ export type VMGuestPatchRebootBehavior = string; /** Known values of {@link PatchAssessmentState} that the service accepts. */ export enum KnownPatchAssessmentState { + /** Unknown */ Unknown = "Unknown", + /** Available */ Available = "Available" } @@ -7124,8 +7445,11 @@ export type PatchAssessmentState = string; /** Known values of {@link VMGuestPatchRebootSetting} that the service accepts. */ export enum KnownVMGuestPatchRebootSetting { + /** IfRequired */ IfRequired = "IfRequired", + /** Never */ Never = "Never", + /** Always */ Always = "Always" } @@ -7142,13 +7466,21 @@ export type VMGuestPatchRebootSetting = string; /** Known values of {@link VMGuestPatchClassificationWindows} that the service accepts. */ export enum KnownVMGuestPatchClassificationWindows { + /** Critical */ Critical = "Critical", + /** Security */ Security = "Security", + /** UpdateRollUp */ UpdateRollUp = "UpdateRollUp", + /** FeaturePack */ FeaturePack = "FeaturePack", + /** ServicePack */ ServicePack = "ServicePack", + /** Definition */ Definition = "Definition", + /** Tools */ Tools = "Tools", + /** Updates */ Updates = "Updates" } @@ -7170,8 +7502,11 @@ export type VMGuestPatchClassificationWindows = string; /** Known values of {@link VMGuestPatchClassificationLinux} that the service accepts. */ export enum KnownVMGuestPatchClassificationLinux { + /** Critical */ Critical = "Critical", + /** Security */ Security = "Security", + /** Other */ Other = "Other" } @@ -7188,11 +7523,17 @@ export type VMGuestPatchClassificationLinux = string; /** Known values of {@link VMGuestPatchRebootStatus} that the service accepts. */ export enum KnownVMGuestPatchRebootStatus { + /** Unknown */ Unknown = "Unknown", + /** NotNeeded */ NotNeeded = "NotNeeded", + /** Required */ Required = "Required", + /** Started */ Started = "Started", + /** Failed */ Failed = "Failed", + /** Completed */ Completed = "Completed" } @@ -7212,11 +7553,17 @@ export type VMGuestPatchRebootStatus = string; /** Known values of {@link PatchInstallationState} that the service accepts. */ export enum KnownPatchInstallationState { + /** Unknown */ Unknown = "Unknown", + /** Installed */ Installed = "Installed", + /** Failed */ Failed = "Failed", + /** Excluded */ Excluded = "Excluded", + /** NotSelected */ NotSelected = "NotSelected", + /** Pending */ Pending = "Pending" } @@ -7236,7 +7583,9 @@ export type PatchInstallationState = string; /** Known values of {@link HyperVGenerationTypes} that the service accepts. */ export enum KnownHyperVGenerationTypes { + /** V1 */ V1 = "V1", + /** V2 */ V2 = "V2" } @@ -7252,7 +7601,9 @@ export type HyperVGenerationTypes = string; /** Known values of {@link VmDiskTypes} that the service accepts. */ export enum KnownVmDiskTypes { + /** None */ None = "None", + /** Unmanaged */ Unmanaged = "Unmanaged" } @@ -7268,7 +7619,9 @@ export type VmDiskTypes = string; /** Known values of {@link ArchitectureTypes} that the service accepts. */ export enum KnownArchitectureTypes { + /** X64 */ X64 = "x64", + /** Arm64 */ Arm64 = "Arm64" } @@ -7284,7 +7637,9 @@ export type ArchitectureTypes = string; /** Known values of {@link ProximityPlacementGroupType} that the service accepts. */ export enum KnownProximityPlacementGroupType { + /** Standard */ Standard = "Standard", + /** Ultra */ Ultra = "Ultra" } @@ -7300,7 +7655,9 @@ export type ProximityPlacementGroupType = string; /** Known values of {@link OperatingSystemType} that the service accepts. */ export enum KnownOperatingSystemType { + /** Windows */ Windows = "Windows", + /** Linux */ Linux = "Linux" } @@ -7316,8 +7673,11 @@ export type OperatingSystemType = string; /** Known values of {@link ConsistencyModeTypes} that the service accepts. */ export enum KnownConsistencyModeTypes { + /** CrashConsistent */ CrashConsistent = "CrashConsistent", + /** FileSystemConsistent */ FileSystemConsistent = "FileSystemConsistent", + /** ApplicationConsistent */ ApplicationConsistent = "ApplicationConsistent" } @@ -7334,6 +7694,7 @@ export type ConsistencyModeTypes = string; /** Known values of {@link RestorePointCollectionExpandOptions} that the service accepts. */ export enum KnownRestorePointCollectionExpandOptions { + /** RestorePoints */ RestorePoints = "restorePoints" } @@ -7348,6 +7709,7 @@ export type RestorePointCollectionExpandOptions = string; /** Known values of {@link RestorePointExpandOptions} that the service accepts. */ export enum KnownRestorePointExpandOptions { + /** InstanceView */ InstanceView = "instanceView" } @@ -7362,6 +7724,7 @@ export type RestorePointExpandOptions = string; /** Known values of {@link CapacityReservationGroupInstanceViewTypes} that the service accepts. */ export enum KnownCapacityReservationGroupInstanceViewTypes { + /** InstanceView */ InstanceView = "instanceView" } @@ -7376,7 +7739,9 @@ export type CapacityReservationGroupInstanceViewTypes = string; /** Known values of {@link ExpandTypesForGetCapacityReservationGroups} that the service accepts. */ export enum KnownExpandTypesForGetCapacityReservationGroups { + /** VirtualMachineScaleSetVMsRef */ VirtualMachineScaleSetVMsRef = "virtualMachineScaleSetVMs/$ref", + /** VirtualMachinesRef */ VirtualMachinesRef = "virtualMachines/$ref" } @@ -7392,6 +7757,7 @@ export type ExpandTypesForGetCapacityReservationGroups = string; /** Known values of {@link CapacityReservationInstanceViewTypes} that the service accepts. */ export enum KnownCapacityReservationInstanceViewTypes { + /** InstanceView */ InstanceView = "instanceView" } @@ -7406,12 +7772,19 @@ export type CapacityReservationInstanceViewTypes = string; /** Known values of {@link ExecutionState} that the service accepts. */ export enum KnownExecutionState { + /** Unknown */ Unknown = "Unknown", + /** Pending */ Pending = "Pending", + /** Running */ Running = "Running", + /** Failed */ Failed = "Failed", + /** Succeeded */ Succeeded = "Succeeded", + /** TimedOut */ TimedOut = "TimedOut", + /** Canceled */ Canceled = "Canceled" } @@ -7465,7 +7838,9 @@ export type DiskStorageAccountTypes = string; /** Known values of {@link HyperVGeneration} that the service accepts. */ export enum KnownHyperVGeneration { + /** V1 */ V1 = "V1", + /** V2 */ V2 = "V2" } @@ -7481,7 +7856,9 @@ export type HyperVGeneration = string; /** Known values of {@link Architecture} that the service accepts. */ export enum KnownArchitecture { + /** X64 */ X64 = "x64", + /** Arm64 */ Arm64 = "Arm64" } @@ -7677,8 +8054,11 @@ export type DataAccessAuthMode = string; /** Known values of {@link AccessLevel} that the service accepts. */ export enum KnownAccessLevel { + /** None */ None = "None", + /** Read */ Read = "Read", + /** Write */ Write = "Write" } @@ -7695,8 +8075,11 @@ export type AccessLevel = string; /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ export enum KnownPrivateEndpointServiceConnectionStatus { + /** Pending */ Pending = "Pending", + /** Approved */ Approved = "Approved", + /** Rejected */ Rejected = "Rejected" } @@ -7713,9 +8096,13 @@ export type PrivateEndpointServiceConnectionStatus = string; /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ Succeeded = "Succeeded", + /** Creating */ Creating = "Creating", + /** Deleting */ Deleting = "Deleting", + /** Failed */ Failed = "Failed" } @@ -7733,9 +8120,13 @@ export type PrivateEndpointConnectionProvisioningState = string; /** Known values of {@link DiskEncryptionSetIdentityType} that the service accepts. */ export enum KnownDiskEncryptionSetIdentityType { + /** SystemAssigned */ SystemAssigned = "SystemAssigned", + /** UserAssigned */ UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned", + /** None */ None = "None" } @@ -7810,6 +8201,7 @@ export type CopyCompletionErrorReason = string; /** Known values of {@link ExtendedLocationType} that the service accepts. */ export enum KnownExtendedLocationType { + /** EdgeZone */ EdgeZone = "EdgeZone" } @@ -7824,11 +8216,17 @@ export type ExtendedLocationType = string; /** Known values of {@link GalleryProvisioningState} that the service accepts. */ export enum KnownGalleryProvisioningState { + /** Creating */ Creating = "Creating", + /** Updating */ Updating = "Updating", + /** Failed */ Failed = "Failed", + /** Succeeded */ Succeeded = "Succeeded", + /** Deleting */ Deleting = "Deleting", + /** Migrating */ Migrating = "Migrating" } @@ -7848,8 +8246,11 @@ export type GalleryProvisioningState = string; /** Known values of {@link GallerySharingPermissionTypes} that the service accepts. */ export enum KnownGallerySharingPermissionTypes { + /** Private */ Private = "Private", + /** Groups */ Groups = "Groups", + /** Community */ Community = "Community" } @@ -7866,7 +8267,9 @@ export type GallerySharingPermissionTypes = string; /** Known values of {@link SharingProfileGroupTypes} that the service accepts. */ export enum KnownSharingProfileGroupTypes { + /** Subscriptions */ Subscriptions = "Subscriptions", + /** AADTenants */ AADTenants = "AADTenants" } @@ -7882,9 +8285,13 @@ export type SharingProfileGroupTypes = string; /** Known values of {@link SharingState} that the service accepts. */ export enum KnownSharingState { + /** Succeeded */ Succeeded = "Succeeded", + /** InProgress */ InProgress = "InProgress", + /** Failed */ Failed = "Failed", + /** Unknown */ Unknown = "Unknown" } @@ -7902,6 +8309,7 @@ export type SharingState = string; /** Known values of {@link SelectPermissions} that the service accepts. */ export enum KnownSelectPermissions { + /** Permissions */ Permissions = "Permissions" } @@ -7916,6 +8324,7 @@ export type SelectPermissions = string; /** Known values of {@link GalleryExpandParams} that the service accepts. */ export enum KnownGalleryExpandParams { + /** SharingProfileGroups */ SharingProfileGroups = "SharingProfile/Groups" } @@ -7930,8 +8339,11 @@ export type GalleryExpandParams = string; /** Known values of {@link StorageAccountType} that the service accepts. */ export enum KnownStorageAccountType { + /** StandardLRS */ StandardLRS = "Standard_LRS", + /** StandardZRS */ StandardZRS = "Standard_ZRS", + /** PremiumLRS */ PremiumLRS = "Premium_LRS" } @@ -7948,8 +8360,11 @@ export type StorageAccountType = string; /** Known values of {@link ConfidentialVMEncryptionType} that the service accepts. */ export enum KnownConfidentialVMEncryptionType { + /** EncryptedVMGuestStateOnlyWithPmk */ EncryptedVMGuestStateOnlyWithPmk = "EncryptedVMGuestStateOnlyWithPmk", + /** EncryptedWithPmk */ EncryptedWithPmk = "EncryptedWithPmk", + /** EncryptedWithCmk */ EncryptedWithCmk = "EncryptedWithCmk" } @@ -7966,7 +8381,9 @@ export type ConfidentialVMEncryptionType = string; /** Known values of {@link ReplicationMode} that the service accepts. */ export enum KnownReplicationMode { + /** Full */ Full = "Full", + /** Shallow */ Shallow = "Shallow" } @@ -7982,7 +8399,9 @@ export type ReplicationMode = string; /** Known values of {@link GalleryExtendedLocationType} that the service accepts. */ export enum KnownGalleryExtendedLocationType { + /** EdgeZone */ EdgeZone = "EdgeZone", + /** Unknown */ Unknown = "Unknown" } @@ -7998,9 +8417,13 @@ export type GalleryExtendedLocationType = string; /** Known values of {@link AggregatedReplicationState} that the service accepts. */ export enum KnownAggregatedReplicationState { + /** Unknown */ Unknown = "Unknown", + /** InProgress */ InProgress = "InProgress", + /** Completed */ Completed = "Completed", + /** Failed */ Failed = "Failed" } @@ -8018,9 +8441,13 @@ export type AggregatedReplicationState = string; /** Known values of {@link ReplicationState} that the service accepts. */ export enum KnownReplicationState { + /** Unknown */ Unknown = "Unknown", + /** Replicating */ Replicating = "Replicating", + /** Completed */ Completed = "Completed", + /** Failed */ Failed = "Failed" } @@ -8038,6 +8465,7 @@ export type ReplicationState = string; /** Known values of {@link ReplicationStatusTypes} that the service accepts. */ export enum KnownReplicationStatusTypes { + /** ReplicationStatus */ ReplicationStatus = "ReplicationStatus" } @@ -8052,9 +8480,13 @@ export type ReplicationStatusTypes = string; /** Known values of {@link SharingUpdateOperationTypes} that the service accepts. */ export enum KnownSharingUpdateOperationTypes { + /** Add */ Add = "Add", + /** Remove */ Remove = "Remove", + /** Reset */ Reset = "Reset", + /** EnableCommunity */ EnableCommunity = "EnableCommunity" } @@ -8072,6 +8504,7 @@ export type SharingUpdateOperationTypes = string; /** Known values of {@link SharedToValues} that the service accepts. */ export enum KnownSharedToValues { + /** Tenant */ Tenant = "tenant" } @@ -8086,8 +8519,11 @@ export type SharedToValues = string; /** Known values of {@link SharedGalleryHostCaching} that the service accepts. */ export enum KnownSharedGalleryHostCaching { + /** None */ None = "None", + /** ReadOnly */ ReadOnly = "ReadOnly", + /** ReadWrite */ ReadWrite = "ReadWrite" } @@ -8104,8 +8540,11 @@ export type SharedGalleryHostCaching = string; /** Known values of {@link CloudServiceUpgradeMode} that the service accepts. */ export enum KnownCloudServiceUpgradeMode { + /** Auto */ Auto = "Auto", + /** Manual */ Manual = "Manual", + /** Simultaneous */ Simultaneous = "Simultaneous" } @@ -8120,9 +8559,29 @@ export enum KnownCloudServiceUpgradeMode { */ export type CloudServiceUpgradeMode = string; +/** Known values of {@link CloudServiceSlotType} that the service accepts. */ +export enum KnownCloudServiceSlotType { + /** Production */ + Production = "Production", + /** Staging */ + Staging = "Staging" +} + +/** + * Defines values for CloudServiceSlotType. \ + * {@link KnownCloudServiceSlotType} can be used interchangeably with CloudServiceSlotType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Production** \ + * **Staging** + */ +export type CloudServiceSlotType = string; + /** Known values of {@link AvailabilitySetSkuTypes} that the service accepts. */ export enum KnownAvailabilitySetSkuTypes { + /** Classic */ Classic = "Classic", + /** Aligned */ Aligned = "Aligned" } diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index c7f754dd5649..36e07b6457b7 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -9939,6 +9939,13 @@ export const CloudService: coreClient.CompositeMapper = { name: "Composite", className: "CloudServiceProperties" } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -10155,6 +10162,12 @@ export const CloudServiceNetworkProfile: coreClient.CompositeMapper = { } } }, + slotType: { + serializedName: "slotType", + type: { + name: "String" + } + }, swappableCloudService: { serializedName: "swappableCloudService", type: { @@ -10344,13 +10357,13 @@ export const CloudServiceExtensionProperties: coreClient.CompositeMapper = { settings: { serializedName: "settings", type: { - name: "String" + name: "any" } }, protectedSettings: { serializedName: "protectedSettings", type: { - name: "String" + name: "any" } }, protectedSettingsFromKeyVault: { @@ -10410,6 +10423,29 @@ export const CloudServiceVaultAndSecretReference: coreClient.CompositeMapper = { } }; +export const SystemData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdAt: { + serializedName: "createdAt", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + readOnly: true, + type: { + name: "DateTime" + } + } + } + } +}; + export const CloudServiceUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -11436,8 +11472,7 @@ export const VirtualMachineCaptureResult: coreClient.CompositeMapper = { serializedName: "parameters", readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, resources: { @@ -11447,8 +11482,7 @@ export const VirtualMachineCaptureResult: coreClient.CompositeMapper = { name: "Sequence", element: { type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -11570,15 +11604,13 @@ export const VirtualMachineScaleSetExtension: coreClient.CompositeMapper = { settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, provisioningState: { @@ -11608,8 +11640,7 @@ export const VirtualMachineScaleSetExtension: coreClient.CompositeMapper = { protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -11675,15 +11706,13 @@ export const VirtualMachineScaleSetExtensionUpdate: coreClient.CompositeMapper = settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, provisioningState: { @@ -11713,8 +11742,7 @@ export const VirtualMachineScaleSetExtensionUpdate: coreClient.CompositeMapper = protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -11780,15 +11808,13 @@ export const VirtualMachineScaleSetVMExtension: coreClient.CompositeMapper = { settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, provisioningState: { @@ -11814,8 +11840,7 @@ export const VirtualMachineScaleSetVMExtension: coreClient.CompositeMapper = { protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -11881,15 +11906,13 @@ export const VirtualMachineScaleSetVMExtensionUpdate: coreClient.CompositeMapper settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, suppressFailures: { @@ -11901,8 +11924,7 @@ export const VirtualMachineScaleSetVMExtensionUpdate: coreClient.CompositeMapper protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -14141,15 +14163,13 @@ export const VirtualMachineExtensionUpdate: coreClient.CompositeMapper = { settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, suppressFailures: { @@ -14161,8 +14181,7 @@ export const VirtualMachineExtensionUpdate: coreClient.CompositeMapper = { protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } @@ -14950,15 +14969,13 @@ export const VirtualMachineExtension: coreClient.CompositeMapper = { settings: { serializedName: "properties.settings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, protectedSettings: { serializedName: "properties.protectedSettings", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } }, provisioningState: { @@ -14984,8 +15001,7 @@ export const VirtualMachineExtension: coreClient.CompositeMapper = { protectedSettingsFromKeyVault: { serializedName: "properties.protectedSettingsFromKeyVault", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "any" } } } diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index d6c75cd1e446..cb61af9aba6d 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -1269,7 +1269,7 @@ export const cloudServiceName: OperationURLParameter = { export const apiVersion4: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-03-01", + defaultValue: "2022-04-04", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts index d378b6897722..711f2bdc0e0b 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts @@ -49,8 +49,8 @@ export class CloudServiceRoleInstancesImpl /** * Gets the list of all role instances in a cloud service. Use nextLink property in the response to get * the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ public list( @@ -117,8 +117,8 @@ export class CloudServiceRoleInstancesImpl /** * Deletes a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginDelete( @@ -182,8 +182,8 @@ export class CloudServiceRoleInstancesImpl /** * Deletes a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginDeleteAndWait( @@ -204,8 +204,8 @@ export class CloudServiceRoleInstancesImpl /** * Gets a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ get( @@ -223,8 +223,8 @@ export class CloudServiceRoleInstancesImpl /** * Retrieves information about the run-time state of a role instance in a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ getInstanceView( @@ -242,8 +242,8 @@ export class CloudServiceRoleInstancesImpl /** * Gets the list of all role instances in a cloud service. Use nextLink property in the response to get * the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ private _list( @@ -261,8 +261,8 @@ export class CloudServiceRoleInstancesImpl * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud * service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginRestart( @@ -327,8 +327,8 @@ export class CloudServiceRoleInstancesImpl * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud * service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginRestartAndWait( @@ -350,8 +350,8 @@ export class CloudServiceRoleInstancesImpl * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web * roles or worker roles. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginReimage( @@ -416,8 +416,8 @@ export class CloudServiceRoleInstancesImpl * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web * roles or worker roles. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginReimageAndWait( @@ -440,8 +440,8 @@ export class CloudServiceRoleInstancesImpl * roles or worker roles and initializes the storage resources that are used by them. If you do not * want to initialize storage resources, you can use Reimage Role Instance. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginRebuild( @@ -507,8 +507,8 @@ export class CloudServiceRoleInstancesImpl * roles or worker roles and initializes the storage resources that are used by them. If you do not * want to initialize storage resources, you can use Reimage Role Instance. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ async beginRebuildAndWait( @@ -529,8 +529,8 @@ export class CloudServiceRoleInstancesImpl /** * Gets a remote desktop file for a role instance in a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ getRemoteDesktopFile( @@ -547,8 +547,8 @@ export class CloudServiceRoleInstancesImpl /** * ListNext - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts index 024c8eb25201..8467d0d614e5 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts @@ -38,8 +38,8 @@ export class CloudServiceRolesImpl implements CloudServiceRoles { /** * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next * page of roles. Do this till nextLink is null to fetch all the roles. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ public list( @@ -106,8 +106,8 @@ export class CloudServiceRolesImpl implements CloudServiceRoles { /** * Gets a role from a cloud service. * @param roleName Name of the role. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ get( @@ -125,8 +125,8 @@ export class CloudServiceRolesImpl implements CloudServiceRoles { /** * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next * page of roles. Do this till nextLink is null to fetch all the roles. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ private _list( @@ -142,8 +142,8 @@ export class CloudServiceRolesImpl implements CloudServiceRoles { /** * ListNext - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoleInstances.ts index 082c3ccb6529..0a6312599448 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoleInstances.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoleInstances.ts @@ -29,8 +29,8 @@ export interface CloudServiceRoleInstances { /** * Gets the list of all role instances in a cloud service. Use nextLink property in the response to get * the next page of role instances. Do this till nextLink is null to fetch all the role instances. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ list( @@ -41,8 +41,8 @@ export interface CloudServiceRoleInstances { /** * Deletes a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginDelete( @@ -54,8 +54,8 @@ export interface CloudServiceRoleInstances { /** * Deletes a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginDeleteAndWait( @@ -67,8 +67,8 @@ export interface CloudServiceRoleInstances { /** * Gets a role instance from a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ get( @@ -80,8 +80,8 @@ export interface CloudServiceRoleInstances { /** * Retrieves information about the run-time state of a role instance in a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ getInstanceView( @@ -94,8 +94,8 @@ export interface CloudServiceRoleInstances { * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud * service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginRestart( @@ -108,8 +108,8 @@ export interface CloudServiceRoleInstances { * The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud * service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginRestartAndWait( @@ -122,8 +122,8 @@ export interface CloudServiceRoleInstances { * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web * roles or worker roles. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginReimage( @@ -136,8 +136,8 @@ export interface CloudServiceRoleInstances { * The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web * roles or worker roles. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginReimageAndWait( @@ -151,8 +151,8 @@ export interface CloudServiceRoleInstances { * roles or worker roles and initializes the storage resources that are used by them. If you do not * want to initialize storage resources, you can use Reimage Role Instance. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginRebuild( @@ -166,8 +166,8 @@ export interface CloudServiceRoleInstances { * roles or worker roles and initializes the storage resources that are used by them. If you do not * want to initialize storage resources, you can use Reimage Role Instance. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ beginRebuildAndWait( @@ -179,8 +179,8 @@ export interface CloudServiceRoleInstances { /** * Gets a remote desktop file for a role instance in a cloud service. * @param roleInstanceName Name of the role instance. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ getRemoteDesktopFile( diff --git a/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoles.ts index 8dae38f480f8..f35bf8b2f3ba 100644 --- a/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoles.ts +++ b/sdk/compute/arm-compute/src/operationsInterfaces/cloudServiceRoles.ts @@ -20,8 +20,8 @@ export interface CloudServiceRoles { /** * Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next * page of roles. Do this till nextLink is null to fetch all the roles. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ list( @@ -32,8 +32,8 @@ export interface CloudServiceRoles { /** * Gets a role from a cloud service. * @param roleName Name of the role. - * @param resourceGroupName - * @param cloudServiceName + * @param resourceGroupName Name of the resource group. + * @param cloudServiceName Name of the cloud service. * @param options The options parameters. */ get( diff --git a/sdk/compute/arm-compute/test/compute_examples.ts b/sdk/compute/arm-compute/test/compute_examples.ts index 1bb8a4b8df7e..e44a1b807169 100644 --- a/sdk/compute/arm-compute/test/compute_examples.ts +++ b/sdk/compute/arm-compute/test/compute_examples.ts @@ -58,8 +58,8 @@ describe("Compute test", () => { location = "eastus"; resourceGroupName = "myjstest"; availabilitySetName = "availabilitySets123"; - network_name = "networknamex"; - subnet_name = "subnetnamex"; + network_name = "networknamexx"; + subnet_name = "subnetnamexx"; interface_name = "interfacex"; virtual_machine_name = "virtualmachinex"; }); @@ -206,7 +206,7 @@ describe("Compute test", () => { osProfile: { adminUsername: "testuser", computerName: "myVM", - adminPassword: "SecretPlaceholder", + adminPassword: "SecretPlaceholder123", windowsConfiguration: { enableAutomaticUpdates: true, // need automatic update for reimage },