diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index a3e66c7f9035..ac18c3061ec3 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -3835,7 +3835,7 @@ packages: dependencies: semver: 7.3.8 shelljs: 0.8.5 - typescript: 5.0.0-dev.20221108 + typescript: 5.0.0-dev.20221109 dev: false /downlevel-dts/0.8.0: @@ -8783,8 +8783,8 @@ packages: hasBin: true dev: false - /typescript/5.0.0-dev.20221108: - resolution: {integrity: sha512-np7hLTLHztenzHetS6xnYYo/P+VcjgUYWkblyl8jCeKgrC7fHJt1QlcjL83uC7YQiHLz5o9zgMZKtZbQBHPzkg==} + /typescript/5.0.0-dev.20221109: + resolution: {integrity: sha512-DAVRpl2535lb8CL7WjpHAb0dnhsbsTUVLQW5jBxS4RyRYA5Tq17kDGYQTvT0JryOwp6PksgjDdUKG2B9ElU5wg==} engines: {node: '>=4.2.0'} hasBin: true dev: false @@ -15301,7 +15301,7 @@ packages: dev: false file:projects/arm-workloads.tgz: - resolution: {integrity: sha512-gx5R65Ar13dORMmyu6GmbywBDHVA0qDxQJeTHwFOj1f1mG1YGVprJgYbD4Uz5wKbolOYlDHS5G/TJtwUeAYiWQ==, tarball: file:projects/arm-workloads.tgz} + resolution: {integrity: sha512-EOkZ8+rjTFEC+kC1L8MOS6K1LEocF0j4IfUNkaKr+MbuPDhNob+UKcUGnqC6skHC3+Q95wEcNFi5FjlVOQUUOA==, tarball: file:projects/arm-workloads.tgz} name: '@rush-temp/arm-workloads' version: 0.0.0 dependencies: @@ -15320,7 +15320,7 @@ packages: rollup: 2.79.1 rollup-plugin-sourcemaps: 0.6.3_rollup@2.79.1 tslib: 2.4.1 - typescript: 4.2.4 + typescript: 4.6.4 uglify-js: 3.17.4 transitivePeerDependencies: - '@types/node' diff --git a/sdk/workloads/arm-workloads/CHANGELOG.md b/sdk/workloads/arm-workloads/CHANGELOG.md index 03b84e52bc33..1d2d5f084c8a 100644 --- a/sdk/workloads/arm-workloads/CHANGELOG.md +++ b/sdk/workloads/arm-workloads/CHANGELOG.md @@ -1,15 +1,31 @@ # Release History + +## 1.0.0-beta.3 (2022-11-09) + +**Features** -## 1.0.0-beta.3 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Interface ExternalInstallationSoftwareConfiguration + - Added Type Alias SslPreference + - Interface DB2ProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface DB2ProviderInstanceProperties has a new optional parameter sslPreference + - Interface HanaDbProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface HanaDbProviderInstanceProperties has a new optional parameter sslPreference + - Interface Monitor has a new optional parameter storageAccountArmId + - Interface Monitor has a new optional parameter zoneRedundancyPreference + - Interface MsSqlServerProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface MsSqlServerProviderInstanceProperties has a new optional parameter sslPreference + - Interface PrometheusHaClusterProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface PrometheusHaClusterProviderInstanceProperties has a new optional parameter sslPreference + - Interface PrometheusOSProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface PrometheusOSProviderInstanceProperties has a new optional parameter sslPreference + - Interface SapNetWeaverProviderInstanceProperties has a new optional parameter sslCertificateUri + - Interface SapNetWeaverProviderInstanceProperties has a new optional parameter sslPreference + - Added Enum KnownSslPreference + - Enum KnownSAPSoftwareInstallationType has a new value External + - Enum KnownSAPVirtualInstanceState has a new value SoftwareDetectionFailed + - Enum KnownSAPVirtualInstanceState has a new value SoftwareDetectionInProgress + + ## 1.0.0-beta.2 (2022-07-14) **Features** diff --git a/sdk/workloads/arm-workloads/_meta.json b/sdk/workloads/arm-workloads/_meta.json index d211cc344a7f..8a800c8ef1d2 100644 --- a/sdk/workloads/arm-workloads/_meta.json +++ b/sdk/workloads/arm-workloads/_meta.json @@ -1,8 +1,8 @@ { - "commit": "57607cb7f9afbc11e611ef6e5dd00f14ed1b0be9", + "commit": "3c560b167d153ca3f3d7a8dee387465289f143dd", "readme": "specification/workloads/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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\\workloads\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1 --generate-sample=true", + "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/workloads/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.2", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.0", - "use": "@autorest/typescript@6.0.0-rc.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.5.1", + "use": "@autorest/typescript@6.0.0-rc.2" } \ No newline at end of file diff --git a/sdk/workloads/arm-workloads/package.json b/sdk/workloads/arm-workloads/package.json index c1429fe8105b..531997c8f19b 100644 --- a/sdk/workloads/arm-workloads/package.json +++ b/sdk/workloads/arm-workloads/package.json @@ -36,7 +36,7 @@ "mkdirp": "^1.0.4", "rollup": "^2.66.1", "rollup-plugin-sourcemaps": "^0.6.3", - "typescript": "~4.2.0", + "typescript": "~4.6.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", @@ -109,13 +109,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-workloads?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_create_test.json b/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_create_test.json deleted file mode 100644 index 6d109e7ce594..000000000000 --- a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_create_test.json +++ /dev/null @@ -1,3693 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor?api-version=2021-12-01-preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "487", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0f6b2796-3017-4176-a1c6-c7e3a03cb627" - }, - "RequestBody": { - "tags": { - "key": "value" - }, - "location": "eastus2", - "properties": { - "appLocation": "eastus2", - "routingPreference": "RouteAll", - "managedResourceGroupConfiguration": { - "name": "myManagedRg" - }, - "logAnalyticsWorkspaceArmId": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - "monitorSubnet": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet" - } - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2021-12-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "Cache-Control": "no-cache", - "Content-Length": "928", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:44 GMT", - "ETag": "\u002201046f15-0000-0100-0000-62cfe1170000\u0022", - "Expires": "-1", - "Location": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f0b93ec-4b4f-402d-84df-ce2308e8ab35", - "x-ms-providerhub-traffic": "True", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "352c72e5-9fda-488d-8782-210ce90f8f1e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092544Z:9f0b93ec-4b4f-402d-84df-ce2308e8ab35" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "name": "myMonitor", - "type": "microsoft.workloads/monitors", - "location": "eastus2", - "tags": { - "key": "value" - }, - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-07-14T09:25:42.4564035Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-07-14T09:25:42.4564035Z" - }, - "properties": { - "appLocation": "eastus2", - "routingPreference": "RouteAll", - "managedResourceGroupConfiguration": { - "name": "myManagedRg" - }, - "logAnalyticsWorkspaceArmId": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - "monitorSubnet": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet", - "provisioningState": "Accepted" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "506bd079-2ab2-4039-9a8f-e892aea48a16" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:44 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e280ee7b-e636-4f8f-8f3b-e2bc93c244de", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "a31edc75-d80d-4f5b-a674-d080167b081e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092545Z:e280ee7b-e636-4f8f-8f3b-e2bc93c244de" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d26d19c7-4902-4815-9b78-10b12dcfa190" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:45 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7c8d25d0-7ef6-452b-9831-e955502820eb", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "86390c13-aea5-4998-804a-fa1ae74e7bed", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092545Z:7c8d25d0-7ef6-452b-9831-e955502820eb" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3fdfddd4-8d7c-4d00-83b8-cda50d44de0f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:47 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "878455b2-89c7-45be-90f8-6b812cf5da93", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "6b67622e-b6b4-45af-873e-82e4bbe7118d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092548Z:878455b2-89c7-45be-90f8-6b812cf5da93" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4767f2d5-9f65-45d8-9a86-3e4ba679666b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:49 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e0c5dc8-e810-4655-9580-b6ae526bc9ad", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "592a439e-a6b4-4227-ab21-94d6e6bf6c8f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092550Z:4e0c5dc8-e810-4655-9580-b6ae526bc9ad" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2a78f58d-2441-494a-9453-e009d0ba1229" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:52 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ec681283-9dcb-4bfe-82e2-a284994eb6dd", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "4d30a347-7a38-4239-83bf-419d4c66c53e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092552Z:ec681283-9dcb-4bfe-82e2-a284994eb6dd" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e3661dcc-6bee-4f5d-89d4-f7b4a5da9eae" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:54 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "600cf9d1-aa15-4e45-945a-b76c68eae9ff", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "31104850-a9b4-4004-b367-88ba025ca3da", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092555Z:600cf9d1-aa15-4e45-945a-b76c68eae9ff" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "36ab602e-e4e8-41a2-8534-34da66771c50" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:56 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a100a26b-7931-4bb0-ae96-81c3c1e1fd1f", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "39869522-4f99-4d6d-80e2-d6b4da620042", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092557Z:a100a26b-7931-4bb0-ae96-81c3c1e1fd1f" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "681217b1-6451-41f5-af97-4d73abe3fa82" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:25:59 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "daa928e1-86fc-4492-966e-a302d7e2a84d", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "6baca802-c047-4af2-8cfe-0df492836957", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092559Z:daa928e1-86fc-4492-966e-a302d7e2a84d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6a0dafc6-ca9c-481c-8d70-770bf8c3571c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:01 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d77ac5fd-a9c4-4119-bde9-4f686dbb7875", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "12f9ab47-1582-4c32-a529-db9d282a0ce2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092602Z:d77ac5fd-a9c4-4119-bde9-4f686dbb7875" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "33eee71b-5b5a-41a8-ad84-495bf8a581e5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:03 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4591cfdf-c351-4705-98fe-c7df8ed110e8", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "c7159c37-4e6a-42c0-a28b-7665aaf65f82", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092604Z:4591cfdf-c351-4705-98fe-c7df8ed110e8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8c67ba54-eeb4-4075-8834-3ba53339a633" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:06 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b9b7e92a-99c8-443f-94f0-d244de1eb384", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "b337c67d-ff0e-4d71-9180-5874918778da", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092606Z:b9b7e92a-99c8-443f-94f0-d244de1eb384" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "94663cde-1638-410a-92f4-88882ea3a1f7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:08 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0b26ac6f-52ce-4fae-ab5d-e2709c22ef68", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "7a4b906c-482d-4de1-a41b-b30d99ae7f55", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092609Z:0b26ac6f-52ce-4fae-ab5d-e2709c22ef68" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7d3eae2c-0071-41e8-812b-0080b4d46526" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:10 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aab8045f-1f72-4a93-b6e6-71e224a31344", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "25ce3656-4757-44ec-a117-2f4215e1be4a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092611Z:aab8045f-1f72-4a93-b6e6-71e224a31344" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1299bf9e-db07-463b-ad73-0bece108e0b8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:13 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "42bc1268-6624-44a9-892e-dba360710b44", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "d147d6e6-d35c-4679-a67f-60fd918c310e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092613Z:42bc1268-6624-44a9-892e-dba360710b44" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5eeca4ba-97ef-4b39-927e-764a4220be7a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:15 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9892c070-ffa9-4eb9-a3b8-b5e3b5c9e7cc", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "5f9b658f-229f-4fc7-b359-7c41039101ac", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092616Z:9892c070-ffa9-4eb9-a3b8-b5e3b5c9e7cc" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "12a86f1b-7bf5-43cd-a4c1-b76a44ce7d0d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:18 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "91ca0822-aba7-4631-a6cd-4002366160af", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "b6b857c1-1562-4368-8f33-a8794fee3d77", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092618Z:91ca0822-aba7-4631-a6cd-4002366160af" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e6e115f-3c0e-438f-af87-1ee402e711d3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:20 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "38adef18-1588-4d28-ab46-2d152f427c4a", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "00f225e8-ffd1-419a-ac22-fefeb12a94d2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092621Z:38adef18-1588-4d28-ab46-2d152f427c4a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5adb023b-27d4-4322-a666-955db19ab553" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:22 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "04fada48-dc21-4731-a47e-d69bc802861a", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "dda9fba2-6d42-414d-9eaf-b79494e48b5f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092623Z:04fada48-dc21-4731-a47e-d69bc802861a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ea464c05-afde-4e06-94be-e2fa09c6ef9a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:24 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "caa9ba99-b1a3-4234-ba70-2aafaa0a0613", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "dac69005-39e5-41fd-b4bd-e6f27792bad1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092625Z:caa9ba99-b1a3-4234-ba70-2aafaa0a0613" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "310cd87e-7c6c-4c89-af31-56ed62d81223" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:27 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dc97493e-0084-4f7e-bfd3-b60b231f06f8", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "4c1a09ed-9b44-442e-b045-ea120377d7c5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092628Z:dc97493e-0084-4f7e-bfd3-b60b231f06f8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7e14f5a1-33a8-4698-a30c-9ba5d6b80528" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:29 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e8263a6c-9e84-461d-b082-6de57fc80e4d", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "3ce9e17d-0eca-405e-8f96-652980ce3a37", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092630Z:e8263a6c-9e84-461d-b082-6de57fc80e4d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0cf5885b-7ec6-40c8-a5ac-dc37672d718f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:31 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2fa27661-ae7c-48df-a079-8d03364fabfe", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "b498ab50-ae63-4f81-8f6b-c272163ee39e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092632Z:2fa27661-ae7c-48df-a079-8d03364fabfe" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c715c035-7541-4e48-9fa4-c239f26f5bf1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:34 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1cfcc019-aebf-4de8-a2fc-888da2fc7526", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "def0fcd9-e372-420e-b113-5364e709d093", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092635Z:1cfcc019-aebf-4de8-a2fc-888da2fc7526" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d8403b7d-c6e9-41f5-b00a-4f3bedc2923b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:36 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fdffb7dd-04fa-464b-b099-41426cfd982b", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-request-id": "b455373a-6a94-4257-9b11-ee5ae93e5acb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092637Z:fdffb7dd-04fa-464b-b099-41426cfd982b" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "72cd6367-4a80-42ac-9081-30b9814482c5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:38 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "eccf9cea-8860-402c-a099-8dd8ea7f1af4", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-request-id": "3d8f4494-d23d-4f10-8dd9-fa82a83215d6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092639Z:eccf9cea-8860-402c-a099-8dd8ea7f1af4" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e9390ce1-6d57-464a-964c-ff2f73d8fe87" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:41 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bc06a36b-1379-48e4-97c5-f12126c776ee", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "fbbd2de7-1d28-4bcc-bd26-4fb763965608", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092642Z:bc06a36b-1379-48e4-97c5-f12126c776ee" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "126f643f-8632-4abc-a211-095284799736" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:43 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a5868953-f64f-4af2-81e4-9c5061c8f558", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-request-id": "ef229201-96db-4202-b77f-d85c77d8b40d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092644Z:a5868953-f64f-4af2-81e4-9c5061c8f558" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3273ebed-2671-47ad-9b90-b3b8e94c7fd0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:45 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ed3171b2-b418-4843-a19b-b0762b931d2a", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "a77172d8-016a-4141-bb5f-ccd349f0a0cf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092646Z:ed3171b2-b418-4843-a19b-b0762b931d2a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9e9a27ab-3b4a-451f-a3ec-b0530278273c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:48 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5537e187-4716-4bc3-b0d8-0dfbe70e3da4", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-request-id": "4c43ae88-9ad1-411c-8987-652b476350a1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092649Z:5537e187-4716-4bc3-b0d8-0dfbe70e3da4" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1e4e024b-92c7-4f3e-b4d5-c24a6cfa22de" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:50 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0a4f3ed4-77a1-4796-bd0c-aa3ec37deeac", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-request-id": "6a8a577d-61df-4e04-9afd-1d8d1102dbc3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092651Z:0a4f3ed4-77a1-4796-bd0c-aa3ec37deeac" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6194ff72-7e58-49f9-bd13-579baf7bbba4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:52 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d60b08a8-b9b5-4355-af16-0cfcd94ed7d7", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-request-id": "5743e85b-2bbe-446e-9c99-73a2d19078c9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092653Z:d60b08a8-b9b5-4355-af16-0cfcd94ed7d7" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e4015de7-01ea-4d98-b41b-bb9fbdb4e2f9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:55 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a74e9a21-4e25-43b9-bf96-25c1ce1590ca", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-request-id": "96f27a0f-a9bb-4a31-a8a8-750bb3d82a5b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092656Z:a74e9a21-4e25-43b9-bf96-25c1ce1590ca" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b769c34d-6079-4ef2-9ce0-607aa97a1ab8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:26:58 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4a516ee3-05ec-4b61-b9f7-e9a456142bbe", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-request-id": "e969afa9-b4e9-44a0-bfce-63f291f8987d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092658Z:4a516ee3-05ec-4b61-b9f7-e9a456142bbe" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "279fc074-26ad-43ae-9a04-2293b8d9026d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:00 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b776e8c6-36d4-4839-8731-92f9ddf12442", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-request-id": "4aadb8c2-6d7e-4d2c-90d7-de2248d2b484", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092700Z:b776e8c6-36d4-4839-8731-92f9ddf12442" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e7e49daf-15df-4046-a64a-cd0a0fb6fb13" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:03 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "71adb03b-92fa-4db5-84eb-801a749eec7c", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-request-id": "a9e1f7be-1640-4849-8d84-185df49deca8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092703Z:71adb03b-92fa-4db5-84eb-801a749eec7c" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fdfd9533-aaf0-4303-95df-616fd15af094" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:05 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "20ab4f80-c34d-414f-bea1-338048615092", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-request-id": "b25863c3-8d4d-437e-9207-48438bea2746", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092705Z:20ab4f80-c34d-414f-bea1-338048615092" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "71f337c5-9326-446b-b4cb-770887211f4f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:07 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "142e6ec6-d0d7-4ef5-adde-4b930a681134", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-request-id": "5ef0e02e-2f63-420a-8212-83305f1eedc0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092708Z:142e6ec6-d0d7-4ef5-adde-4b930a681134" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d61112b1-bf7c-49ce-8521-61613b46aef4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:10 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6159ef97-598f-48b4-962b-5a7361bcb373", - "x-ms-ratelimit-remaining-subscription-reads": "11962", - "x-ms-request-id": "53216918-0d03-456f-8495-06952f20801a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092710Z:6159ef97-598f-48b4-962b-5a7361bcb373" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "868973f6-4c5a-42fc-9921-8c12b9dd9737" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:12 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "41dd74dc-fefb-403a-995f-8afcac4547d8", - "x-ms-ratelimit-remaining-subscription-reads": "11961", - "x-ms-request-id": "ee2be09a-6e1f-4aff-9738-e65cb9f1ee1e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092712Z:41dd74dc-fefb-403a-995f-8afcac4547d8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1fbce375-8a4b-48c3-9fcc-3ac136b783ba" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:14 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ef5a405b-133a-4cb2-af0d-0e233db926df", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-request-id": "497cff19-4e24-41ab-9de9-2d5604412918", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092715Z:ef5a405b-133a-4cb2-af0d-0e233db926df" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5a5710ca-e43f-48b4-953b-df05b85f2080" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:17 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b73544d6-9aa1-413e-8459-33dc710b2f4e", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-request-id": "ca58cd9d-6b7f-47be-91a4-96844926a390", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092717Z:b73544d6-9aa1-413e-8459-33dc710b2f4e" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9a75f106-6809-4ef4-a4f9-0c688dd699a0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:19 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "691de38c-13b2-402e-a5ad-13d5c7281314", - "x-ms-ratelimit-remaining-subscription-reads": "11958", - "x-ms-request-id": "1aa685f2-9654-4b3e-88bb-a8d43484721a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092719Z:691de38c-13b2-402e-a5ad-13d5c7281314" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f82f0266-3768-4e6e-943a-b434d5863872" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:21 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4da04e37-0112-441f-ab25-eaf99aea6eef", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-request-id": "b469d607-f1b5-4352-b5f7-335046c2ac2e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092722Z:4da04e37-0112-441f-ab25-eaf99aea6eef" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "47456bd8-0932-47e1-a0b3-5cbe22489ea7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:24 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "34266033-7cd3-4cb4-b8f4-57761e910807", - "x-ms-ratelimit-remaining-subscription-reads": "11956", - "x-ms-request-id": "782bb6f0-bd0f-44e6-b205-6029bbb6afdd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092724Z:34266033-7cd3-4cb4-b8f4-57761e910807" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "356e00f0-6423-48d6-b791-ae5630abca88" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:26 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "29f74272-7b24-42fd-80e9-5a85dad99e99", - "x-ms-ratelimit-remaining-subscription-reads": "11955", - "x-ms-request-id": "05bc6bac-6b13-4e8a-b240-3a25931e6096", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092726Z:29f74272-7b24-42fd-80e9-5a85dad99e99" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1f3a9bb8-839d-4374-9a18-d22976b03c61" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:28 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7dddc667-b0d4-4e7b-8cc4-657066424b45", - "x-ms-ratelimit-remaining-subscription-reads": "11954", - "x-ms-request-id": "0500f657-5706-4e98-a7f7-7caad55a4775", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092729Z:7dddc667-b0d4-4e7b-8cc4-657066424b45" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "18077ea6-cbc1-4e11-81ae-643c214514dd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:31 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bad19bb4-f5b9-44db-a376-771629d775fc", - "x-ms-ratelimit-remaining-subscription-reads": "11953", - "x-ms-request-id": "d2a80ec0-e65a-4bc1-9467-7fa1e35fe6fc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092731Z:bad19bb4-f5b9-44db-a376-771629d775fc" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c9d3ded2-c268-42e6-af55-654eb552317d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:33 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "644bfb0b-2106-4f20-a2d1-4c54e024c15a", - "x-ms-ratelimit-remaining-subscription-reads": "11952", - "x-ms-request-id": "a35c4d67-6d84-44a8-a745-88a4aa5c0d0f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092733Z:644bfb0b-2106-4f20-a2d1-4c54e024c15a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7bfface1-48cf-44ee-9185-b3020263e6eb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:35 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2481dd2c-9213-4840-8866-25a8ee6da491", - "x-ms-ratelimit-remaining-subscription-reads": "11951", - "x-ms-request-id": "71e979aa-7c4d-401f-b2d8-1de2225b386f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092736Z:2481dd2c-9213-4840-8866-25a8ee6da491" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7d10c16a-197d-47c3-bfbe-494e6dcfc6e3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:38 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e0641be-ef61-4eb3-bb7f-57f5d8ba19a2", - "x-ms-ratelimit-remaining-subscription-reads": "11950", - "x-ms-request-id": "55349d80-7093-419b-b43c-4babdc4137b0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092738Z:4e0641be-ef61-4eb3-bb7f-57f5d8ba19a2" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9caebed5-9fb4-4d27-8450-015fdfce3b0f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:40 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f828ea5e-d0a7-4f22-b74e-6e03547cc2de", - "x-ms-ratelimit-remaining-subscription-reads": "11949", - "x-ms-request-id": "e15f232a-4453-4ede-9322-605745222b0a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092740Z:f828ea5e-d0a7-4f22-b74e-6e03547cc2de" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "416b6945-d144-433b-b68f-3ffa235c4dc0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:42 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "83dd4f21-1148-47bc-ad56-1287473dcaa0", - "x-ms-ratelimit-remaining-subscription-reads": "11948", - "x-ms-request-id": "4708a705-c878-4faf-b352-2413bb068719", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092743Z:83dd4f21-1148-47bc-ad56-1287473dcaa0" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "be012aa5-8002-423a-a83d-3a00e5320cd3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:45 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7c106d8e-13e3-4a26-bbef-4b6cf6821bcb", - "x-ms-ratelimit-remaining-subscription-reads": "11947", - "x-ms-request-id": "9a7676f9-c9a6-45ca-943a-2990f9f4386e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092745Z:7c106d8e-13e3-4a26-bbef-4b6cf6821bcb" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "40092ff5-4127-4b61-8a3a-5cf2d0355a77" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:47 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "42b9adc0-6d00-46ec-8260-6e532072be33", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-request-id": "4c706e54-192c-475d-9b5e-3a95854fbd78", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092747Z:42b9adc0-6d00-46ec-8260-6e532072be33" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ffe73c43-8f9c-4458-9ec9-1921b5b21723" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:49 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4483b1e5-64d6-458a-9434-31a4b4270521", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-request-id": "665f59d4-39c9-406a-9601-090cfde0b2d3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092750Z:4483b1e5-64d6-458a-9434-31a4b4270521" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a51bd1c6-5cc8-4aa4-946d-daced28de33e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:52 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e08cf2b7-e715-4165-95d9-1758c35dd658", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-request-id": "c134e21f-32b8-4c2b-a44a-6e488c1a59ad", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092752Z:e08cf2b7-e715-4165-95d9-1758c35dd658" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7cda252a-f3a6-4daa-8f49-899a663b8a09" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:54 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "76e5b7f2-fd1b-474b-938a-92a6acb09821", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-request-id": "7e8d42cc-c3bc-4071-896e-9ee6303f01fa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092754Z:76e5b7f2-fd1b-474b-938a-92a6acb09821" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "05ee01e8-5f7f-454c-8c42-c3511a845352" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:56 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "82c248af-61ff-42a0-af70-2680b06cce6b", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-request-id": "dc2702a5-6c9c-4e85-a34f-4bb8e500f8e9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092757Z:82c248af-61ff-42a0-af70-2680b06cce6b" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8a87fd2b-24d5-4dd2-85b6-77d355907aad" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:27:59 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "49fade12-7f70-4d62-8f51-5cfa09bdcfd2", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-request-id": "e67012a6-601a-4f0d-9877-014137b4f173", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092759Z:49fade12-7f70-4d62-8f51-5cfa09bdcfd2" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c46be04d-2205-4c1a-bf0e-8a0493ffa6f7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:01 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7b06a1b2-eba9-48cf-afb2-682a67433a7f", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-request-id": "0d8d5666-9969-411e-8d4c-088e64cc748b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092801Z:7b06a1b2-eba9-48cf-afb2-682a67433a7f" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f7bfae0a-8459-4c69-ac0d-63529974d7e6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:03 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fedb8676-8094-4270-a4bb-c199d9851163", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-request-id": "b16b7ccb-ed86-4192-becd-f890740d85ad", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092804Z:fedb8676-8094-4270-a4bb-c199d9851163" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "181e4e49-5612-4dfb-bab2-10ef0b6de19c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:06 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "90ff91f0-8f55-4cf7-8945-b2a8632ac779", - "x-ms-ratelimit-remaining-subscription-reads": "11938", - "x-ms-request-id": "9b351f11-a2e9-45d2-be9c-89362a8232d7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092806Z:90ff91f0-8f55-4cf7-8945-b2a8632ac779" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b777b4e4-d5e7-44e8-b5f2-36351f260b3c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:08 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b5072621-086f-4f68-9ecc-83cb3f54fff9", - "x-ms-ratelimit-remaining-subscription-reads": "11937", - "x-ms-request-id": "2c104bf5-b923-4370-9844-bf2f30b952cd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092808Z:b5072621-086f-4f68-9ecc-83cb3f54fff9" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "21ce9bd9-6e1c-4639-8a62-a290ae9fe64d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:10 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "705369ae-cc6c-47a3-9a47-f4ece155d3c2", - "x-ms-ratelimit-remaining-subscription-reads": "11936", - "x-ms-request-id": "51eb6b8f-9aba-40b7-98d6-4e097f44cb4a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092811Z:705369ae-cc6c-47a3-9a47-f4ece155d3c2" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "22c176d1-d2be-4a79-bfec-a9cbc02b45fd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:13 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6a77bb3f-d3ad-4064-b793-c5f0f10853c2", - "x-ms-ratelimit-remaining-subscription-reads": "11935", - "x-ms-request-id": "75476767-eec3-4ff0-80f8-2fd0f1311783", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092813Z:6a77bb3f-d3ad-4064-b793-c5f0f10853c2" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "761c0d16-25e3-4b46-b095-aa10c3cc6938" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:15 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0af84459-ed3c-4afc-b61b-63e2493e4923", - "x-ms-ratelimit-remaining-subscription-reads": "11934", - "x-ms-request-id": "b617d857-ee8f-47df-bae5-09a0ea9d8c84", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092815Z:0af84459-ed3c-4afc-b61b-63e2493e4923" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7b914f46-c136-4c79-af0c-70a3c8cce879" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:18 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "37d0cb5f-6238-4651-addd-1a319dc79902", - "x-ms-ratelimit-remaining-subscription-reads": "11933", - "x-ms-request-id": "6a78247b-e2a1-445a-bba2-033e6831e412", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092818Z:37d0cb5f-6238-4651-addd-1a319dc79902" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "96d5e5a5-89ad-4c09-a804-c09698b285bf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:20 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f6bbc6b5-d8a1-45f0-857b-15a40b400b07", - "x-ms-ratelimit-remaining-subscription-reads": "11932", - "x-ms-request-id": "28cce331-8c72-4d70-a3a2-c5c40ff8d4e8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092821Z:f6bbc6b5-d8a1-45f0-857b-15a40b400b07" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e8b864ad-83aa-49ee-8e29-c3caeed7db52" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:22 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ff50c695-3c28-419d-9b0d-59eca2a87925", - "x-ms-ratelimit-remaining-subscription-reads": "11931", - "x-ms-request-id": "a84b6836-4755-4549-9036-3e141e0f9a05", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092823Z:ff50c695-3c28-419d-9b0d-59eca2a87925" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8dfe8abb-6e59-4d6b-84af-60cd6914ee8e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:25 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2f657f0e-dc8d-4ccf-a5dd-6799b9b5ab81", - "x-ms-ratelimit-remaining-subscription-reads": "11930", - "x-ms-request-id": "7c866c03-0580-4c80-be05-6bb09e9274cb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092825Z:2f657f0e-dc8d-4ccf-a5dd-6799b9b5ab81" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "da3b7ab4-44c1-4e5c-8b71-20a00372cfa2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:27 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7df2ae5e-2282-4d52-9e37-fb16950cabb5", - "x-ms-ratelimit-remaining-subscription-reads": "11929", - "x-ms-request-id": "5c98f761-e8b5-47b6-9f05-e1927d461a74", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092828Z:7df2ae5e-2282-4d52-9e37-fb16950cabb5" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e457fcd7-9a55-4b47-9e35-8042d9bc183b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:30 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aaab6bdd-b1f7-4ef6-8c29-4dd2ab61504e", - "x-ms-ratelimit-remaining-subscription-reads": "11928", - "x-ms-request-id": "7eabf440-c842-44f1-ac88-c529eae570b4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092830Z:aaab6bdd-b1f7-4ef6-8c29-4dd2ab61504e" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ae238613-8fb0-4a00-8e49-7bce035909e1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:32 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d98848c-58a1-46b0-b3d3-e00c822aee23", - "x-ms-ratelimit-remaining-subscription-reads": "11927", - "x-ms-request-id": "f8b99d5c-9a32-48a3-bd28-7ac70d44e706", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092833Z:6d98848c-58a1-46b0-b3d3-e00c822aee23" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8db678aa-17df-423b-bfd5-d73c4c24e449" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:34 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b7f4d571-b5bd-4486-8886-932aa49a9e35", - "x-ms-ratelimit-remaining-subscription-reads": "11926", - "x-ms-request-id": "80cbd141-394d-4e04-b13f-ed653d502224", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092835Z:b7f4d571-b5bd-4486-8886-932aa49a9e35" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1fa56822-dd70-475c-bea0-73e7b6e7567f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:37 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e1b9c6b-ffc5-42d1-80c1-8186b9e9b0c4", - "x-ms-ratelimit-remaining-subscription-reads": "11925", - "x-ms-request-id": "61e95a9c-d1cb-47f3-8f39-e43b9f634e73", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092837Z:4e1b9c6b-ffc5-42d1-80c1-8186b9e9b0c4" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "52ce11cb-ecb5-4a8b-82ff-5c9c9c2a0eb8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:39 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f70e5bd-4f6a-4316-89c7-eb777bf7d0f1", - "x-ms-ratelimit-remaining-subscription-reads": "11924", - "x-ms-request-id": "e4f87cb6-53c5-4b92-b807-ac742112d5e4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092840Z:0f70e5bd-4f6a-4316-89c7-eb777bf7d0f1" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "554d28d5-e912-4659-8838-545070fabebd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:41 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2041b6e5-67bc-41ba-92e6-95d1870a9199", - "x-ms-ratelimit-remaining-subscription-reads": "11923", - "x-ms-request-id": "cd493373-3a66-4c70-be73-201ef404c227", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092842Z:2041b6e5-67bc-41ba-92e6-95d1870a9199" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b2fcb532-0467-4e01-a5e5-2840c348e377" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:43 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "516ae3b7-88cc-453c-8c50-a13c330f41e0", - "x-ms-ratelimit-remaining-subscription-reads": "11922", - "x-ms-request-id": "77d2489e-7828-423e-9380-5666634a0969", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092844Z:516ae3b7-88cc-453c-8c50-a13c330f41e0" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8180a2bf-f684-4b20-91c2-bda4c8a428ea" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:46 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d5d8b582-508a-419a-937e-20ae88b4bc0b", - "x-ms-ratelimit-remaining-subscription-reads": "11921", - "x-ms-request-id": "a1a4da35-8f00-4d35-a4ee-921b7b73e707", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092847Z:d5d8b582-508a-419a-937e-20ae88b4bc0b" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "022fad98-010a-441b-acd5-e1e3fad8451b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:48 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "96221642-fcd4-49f5-b6cc-5974bd9acafc", - "x-ms-ratelimit-remaining-subscription-reads": "11920", - "x-ms-request-id": "e792b58d-243d-4a2b-a8ca-eac3da2c0b42", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092849Z:96221642-fcd4-49f5-b6cc-5974bd9acafc" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "872f9634-a146-43b9-a126-2759bd86d404" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:51 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9276879d-74c8-4fcf-b64b-4d651389ee57", - "x-ms-ratelimit-remaining-subscription-reads": "11919", - "x-ms-request-id": "01c06b85-34de-489b-8546-ac8ff5d9593f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092851Z:9276879d-74c8-4fcf-b64b-4d651389ee57" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5e81f940-c978-4f24-9597-374afd6e1b3b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:53 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4a8482b4-6f81-402c-8f34-601279185954", - "x-ms-ratelimit-remaining-subscription-reads": "11918", - "x-ms-request-id": "bef6240c-05b9-4a8b-acd2-cdfd22ce6b29", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092854Z:4a8482b4-6f81-402c-8f34-601279185954" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b11d36cc-70e6-4a4d-9e41-166004680cc7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:56 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aed4c4f5-bdfe-4848-80e7-055cec6ff0f9", - "x-ms-ratelimit-remaining-subscription-reads": "11917", - "x-ms-request-id": "cf71b91a-697a-430d-bda1-1802cfab7a11", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092857Z:aed4c4f5-bdfe-4848-80e7-055cec6ff0f9" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "21deb4d4-f44d-43c9-972c-d07916b4e891" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:28:58 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ba9d8665-b7d3-4e60-a853-444392208dba", - "x-ms-ratelimit-remaining-subscription-reads": "11916", - "x-ms-request-id": "5ad3fa2a-f662-4f5a-8444-8e704d262b39", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092859Z:ba9d8665-b7d3-4e60-a853-444392208dba" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f4bea94e-ce27-4987-8a53-714f788f2794" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:01 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6bd48d5d-81ee-41a6-aa99-67538c597187", - "x-ms-ratelimit-remaining-subscription-reads": "11915", - "x-ms-request-id": "f2b50572-7cb6-4b8a-959d-0b59b2f00a20", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092902Z:6bd48d5d-81ee-41a6-aa99-67538c597187" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "da8a2773-8342-4904-8142-3863c126a132" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:03 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0b2e05ef-ebdc-47fc-bf9f-eb414e8c7353", - "x-ms-ratelimit-remaining-subscription-reads": "11914", - "x-ms-request-id": "13ce20ee-03b1-4315-b119-6480e34f836e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092904Z:0b2e05ef-ebdc-47fc-bf9f-eb414e8c7353" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b0d49c44-4b9e-4954-be06-e2598784f7c3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:06 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "379deaf4-497d-44c0-9648-4cc1d2554e82", - "x-ms-ratelimit-remaining-subscription-reads": "11913", - "x-ms-request-id": "b644475d-562e-402f-8258-bc239c45d2ad", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092906Z:379deaf4-497d-44c0-9648-4cc1d2554e82" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c8872c1-215d-4fa5-9a1f-c90cf548db55" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:09 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c248e5e3-b065-494f-9ce8-814dbf94e4da", - "x-ms-ratelimit-remaining-subscription-reads": "11912", - "x-ms-request-id": "e92e5754-cee6-4ec1-87e6-9c9bd6e334bd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092909Z:c248e5e3-b065-494f-9ce8-814dbf94e4da" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5c90525c-d06f-41ab-aa1a-5987af440652" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:11 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33e78caa-bc3c-451d-8398-d5eff10799f6", - "x-ms-ratelimit-remaining-subscription-reads": "11911", - "x-ms-request-id": "044d3f4b-02ff-4f64-a9fe-cb217e4ce7d2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092911Z:33e78caa-bc3c-451d-8398-d5eff10799f6" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "92ed3abb-f389-41bf-827e-8b8feb2c7bb6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:13 GMT", - "ETag": "\u0022380156a2-0000-0100-0000-62cfe1160000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6cd6bbb4-2183-449c-a341-3cf772d8da65", - "x-ms-ratelimit-remaining-subscription-reads": "11910", - "x-ms-request-id": "760a0cf1-6c5f-427e-b20d-4f6fa412fd0f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092913Z:6cd6bbb4-2183-449c-a341-3cf772d8da65" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Accepted", - "startTime": "2022-07-14T09:25:42.6132292Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cf3ffe20-a1fc-48de-af15-aac576d5f042" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:16 GMT", - "ETag": "\u0022380184b0-0000-0100-0000-62cfe1ea0000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "57509294-f290-4bb2-925b-1d22b7ad6244", - "x-ms-ratelimit-remaining-subscription-reads": "11909", - "x-ms-request-id": "53f2d6c8-eb00-47c0-bdd3-c5e3c62c51a3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092916Z:57509294-f290-4bb2-925b-1d22b7ad6244" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "352c72e5-9fda-488d-8782-210ce90f8f1e*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Succeeded", - "startTime": "2022-07-14T09:25:42.6132292Z", - "endTime": "2022-07-14T09:29:14.9828328Z", - "properties": null - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7be663df-8bcc-4a99-8b69-cdd2034f080f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:18 GMT", - "ETag": "\u002201049935-0000-0100-0000-62cfe1ea0000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "314db399-1d09-43ab-94af-31012824f756", - "x-ms-providerhub-traffic": "True", - "x-ms-ratelimit-remaining-subscription-reads": "11908", - "x-ms-request-id": "8b72c1dc-b96b-4d9b-a288-e76a15bac06b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092918Z:314db399-1d09-43ab-94af-31012824f756" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "name": "myMonitor", - "type": "microsoft.workloads/monitors", - "location": "eastus2", - "tags": { - "key": "value" - }, - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-07-14T09:25:42.4564035Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-07-14T09:25:42.4564035Z" - }, - "properties": { - "appLocation": "eastus2", - "routingPreference": "RouteAll", - "managedResourceGroupConfiguration": { - "name": "myManagedRg" - }, - "logAnalyticsWorkspaceArmId": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - "monitorSubnet": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet", - "provisioningState": "Succeeded", - "msiArmId": "/subscriptions/azure_subscription_id/resourcegroups/myManagedRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sapmon-msi-a045e5baba181e" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_delete_test.json b/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_delete_test.json deleted file mode 100644 index dcca65662720..000000000000 --- a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_delete_test.json +++ /dev/null @@ -1,2528 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor?api-version=2021-12-01-preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cbadcd21-bd46-4d5f-b420-d03d65245f7b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "Cache-Control": "no-cache", - "Content-Length": "4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:25 GMT", - "ETag": "\u002201044737-0000-0100-0000-62cfe1f50000\u0022", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9ef95c5a-8e5e-4f59-b2b8-8aee36e4fe32", - "x-ms-providerhub-traffic": "True", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "06e4cfca-3e92-416b-8440-a6212ad6b2d9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092925Z:9ef95c5a-8e5e-4f59-b2b8-8aee36e4fe32" - }, - "ResponseBody": "null" - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3fcc3aa3-ded9-4d55-b696-8081abccc89a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:25 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d385e9e-f769-4f90-b4c4-78218f317ec9", - "x-ms-ratelimit-remaining-subscription-reads": "11905", - "x-ms-request-id": "219a433c-b815-4551-a006-1a3c2810a587", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092925Z:6d385e9e-f769-4f90-b4c4-78218f317ec9" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5e79b2ea-9074-442b-becd-18a3c668fad0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:25 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f5944d6c-3585-420e-9253-bdbe393bdfb6", - "x-ms-ratelimit-remaining-subscription-reads": "11904", - "x-ms-request-id": "16938c36-760f-4180-ad89-e69dd12cc466", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092925Z:f5944d6c-3585-420e-9253-bdbe393bdfb6" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1ecc832e-3c29-46c7-be18-01673a82052e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:28 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "32b849f9-8011-49d4-ba7c-bc99a4cd6938", - "x-ms-ratelimit-remaining-subscription-reads": "11903", - "x-ms-request-id": "362337d0-c2ff-4d04-bbba-07e02dec70dc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092928Z:32b849f9-8011-49d4-ba7c-bc99a4cd6938" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2f0fbc1f-b1f6-4d18-bb6d-76c5d2a2c23a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:30 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a35889db-236f-444c-b540-928bd8c1c2cd", - "x-ms-ratelimit-remaining-subscription-reads": "11902", - "x-ms-request-id": "0c1bc6dc-91cc-4d21-88e7-096eefe9c80d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092930Z:a35889db-236f-444c-b540-928bd8c1c2cd" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d20693f5-43cb-4037-96c8-bb10912d7a20" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:32 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "31bbc4e0-e549-447f-8f9b-3bb04354dfaa", - "x-ms-ratelimit-remaining-subscription-reads": "11901", - "x-ms-request-id": "70853ee2-be5a-4914-a91a-363fb668494c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092933Z:31bbc4e0-e549-447f-8f9b-3bb04354dfaa" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "82178177-6654-451a-8931-8a0402ba2462" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:35 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "61d34069-8846-4f59-816f-d0809abbfcca", - "x-ms-ratelimit-remaining-subscription-reads": "11900", - "x-ms-request-id": "ec4ed8dd-c4e9-46e5-ac09-4c2a7d3f94b2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092935Z:61d34069-8846-4f59-816f-d0809abbfcca" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f84cb089-db69-4164-a725-aae60298a046" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:37 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "268ed4d4-abae-4d29-abd9-de93e8e44822", - "x-ms-ratelimit-remaining-subscription-reads": "11899", - "x-ms-request-id": "ec6a652c-c9c8-4ea8-934b-4114491432a0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092937Z:268ed4d4-abae-4d29-abd9-de93e8e44822" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3a745bac-2d87-4a1b-80b6-83cba55495f4" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:39 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "521b0a2b-340c-4f48-82f5-966042cdfde5", - "x-ms-ratelimit-remaining-subscription-reads": "11898", - "x-ms-request-id": "63771b0e-faef-4b84-b698-6d59ebc353bb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092940Z:521b0a2b-340c-4f48-82f5-966042cdfde5" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cbbca908-99cb-43d1-9052-c6e2c4cc3d80" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:42 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c87c7ee9-ea97-4ce9-a002-c8dd5aae5986", - "x-ms-ratelimit-remaining-subscription-reads": "11897", - "x-ms-request-id": "3dedf7c6-285f-4911-8930-fa90a2f1ee6e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092942Z:c87c7ee9-ea97-4ce9-a002-c8dd5aae5986" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2c36667b-8c82-4c1b-884a-1c11b92fa625" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:44 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "78016b51-b88d-4c48-a17e-c4d6d93fa728", - "x-ms-ratelimit-remaining-subscription-reads": "11896", - "x-ms-request-id": "d9ce2e6b-ca86-47a2-813f-99aa6d11490a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092944Z:78016b51-b88d-4c48-a17e-c4d6d93fa728" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b5eab94b-0b9b-43a3-b8a6-06346ededc74" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:46 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ff69f7b4-354a-49fc-9929-bd9fb9edd45d", - "x-ms-ratelimit-remaining-subscription-reads": "11895", - "x-ms-request-id": "3e9323d1-b530-4fa7-ad6b-5bad8a172f5e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092947Z:ff69f7b4-354a-49fc-9929-bd9fb9edd45d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "707285d5-8197-4774-b95f-73b321df6df3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:49 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7f4f0d82-a8b8-45fc-8c04-ed3eeb93c74d", - "x-ms-ratelimit-remaining-subscription-reads": "11894", - "x-ms-request-id": "bae74147-2ba0-4fc9-823f-528a59e2dbb2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092949Z:7f4f0d82-a8b8-45fc-8c04-ed3eeb93c74d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c1188999-25a6-47b7-9a71-71fe63384242" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:51 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6c37e3ec-a916-461f-9436-3573c714c5a8", - "x-ms-ratelimit-remaining-subscription-reads": "11893", - "x-ms-request-id": "ab43b7d7-aa61-4ac3-be52-45b892c8ccd9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092952Z:6c37e3ec-a916-461f-9436-3573c714c5a8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "17922964-5197-4979-a17e-aa72f04d39f6" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:54 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2a391ad2-f96c-427d-a415-32cd86196ef9", - "x-ms-ratelimit-remaining-subscription-reads": "11892", - "x-ms-request-id": "c5d3b7a2-a704-42c6-8c8e-9a7387808e61", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092954Z:2a391ad2-f96c-427d-a415-32cd86196ef9" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7f72dbfc-ed73-48cb-a031-ca5d83432196" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:56 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a251939c-633f-4ef0-889a-fd580c17478e", - "x-ms-ratelimit-remaining-subscription-reads": "11891", - "x-ms-request-id": "a0dfb84a-5733-4288-ba8a-b69efae72287", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092956Z:a251939c-633f-4ef0-889a-fd580c17478e" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c5723fbb-b9be-4e87-bb6b-97df1ea79767" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:58 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33438894-a6a1-426f-8c97-bb9e0eaf24aa", - "x-ms-ratelimit-remaining-subscription-reads": "11890", - "x-ms-request-id": "3761a263-8e21-4df1-b05d-00dac9ef5f2c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092959Z:33438894-a6a1-426f-8c97-bb9e0eaf24aa" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c33ad0d3-aedb-4c00-85d4-1d4cfa3f39a0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:01 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "201cf20a-e54f-41e4-8e91-68bd0e1517f7", - "x-ms-ratelimit-remaining-subscription-reads": "11889", - "x-ms-request-id": "36252e2d-88d9-465f-8541-d025758d02ee", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093001Z:201cf20a-e54f-41e4-8e91-68bd0e1517f7" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "31b209db-b5ad-4bff-a051-9f57dc72a7b9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:03 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "96d31106-bfd4-42f8-8dfc-eccf5dda86a3", - "x-ms-ratelimit-remaining-subscription-reads": "11888", - "x-ms-request-id": "db7b01a0-8cde-4d49-9df4-7ed81ecadc27", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093003Z:96d31106-bfd4-42f8-8dfc-eccf5dda86a3" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6474124b-ee06-44ac-9f76-cf3f1e9f7328" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:05 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e25d8529-a0ca-4d15-a0be-678c1ebf49fe", - "x-ms-ratelimit-remaining-subscription-reads": "11887", - "x-ms-request-id": "6dbfc77d-7bef-4808-bf3f-ff0422c4aafb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093006Z:e25d8529-a0ca-4d15-a0be-678c1ebf49fe" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d8db6516-69fe-4322-a726-7ccdd68f7b88" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:07 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8b1980bb-eb9d-46b4-8324-eb832df2f5d3", - "x-ms-ratelimit-remaining-subscription-reads": "11886", - "x-ms-request-id": "b4570279-b4d8-4a32-9078-e98f51dec313", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093008Z:8b1980bb-eb9d-46b4-8324-eb832df2f5d3" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f8a4ea94-7734-4ba6-bbea-87af79a01e91" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:10 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "137fe186-2a71-4771-93a1-d33db9d58897", - "x-ms-ratelimit-remaining-subscription-reads": "11885", - "x-ms-request-id": "b31edd9a-3b8f-4249-acd4-a599b07257be", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093010Z:137fe186-2a71-4771-93a1-d33db9d58897" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6289ed9b-5d59-41fc-a10f-fdada4371a13" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:12 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b135cc78-5a91-4bb9-8c28-f29574936134", - "x-ms-ratelimit-remaining-subscription-reads": "11884", - "x-ms-request-id": "d7a0f205-8055-4780-8e20-a15a1e859206", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093013Z:b135cc78-5a91-4bb9-8c28-f29574936134" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "41fbbf22-c573-4790-acec-e148e24357cb" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:14 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "012d9889-837a-4f6b-80ad-022a88f393b1", - "x-ms-ratelimit-remaining-subscription-reads": "11883", - "x-ms-request-id": "be92ed82-807c-4df0-9266-24115ef39ea7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093015Z:012d9889-837a-4f6b-80ad-022a88f393b1" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b4f0f2ae-949a-4ccd-848e-83027b6d99bf" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:17 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7c75ca35-4e93-4110-b419-0fecca7a8eff", - "x-ms-ratelimit-remaining-subscription-reads": "11882", - "x-ms-request-id": "20b70e28-dd13-4f75-af32-5f6b13803db3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093017Z:7c75ca35-4e93-4110-b419-0fecca7a8eff" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7d474d5f-c5aa-4683-80d1-989902b85ed1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:19 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a5121562-9293-480f-bbdf-cd5aa02d78f7", - "x-ms-ratelimit-remaining-subscription-reads": "11881", - "x-ms-request-id": "a6f4b253-c71a-4183-b357-e2ecd01f27ac", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093020Z:a5121562-9293-480f-bbdf-cd5aa02d78f7" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c937731b-0b93-4f8d-b9b3-0177a164a17b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:21 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e4314c49-bcef-45c3-a334-09fd701ef8d8", - "x-ms-ratelimit-remaining-subscription-reads": "11880", - "x-ms-request-id": "659176c0-d72b-4d6e-b49a-47b08b620189", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093022Z:e4314c49-bcef-45c3-a334-09fd701ef8d8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "512c6553-8859-4055-85d7-389bd4669ed1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:24 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c3372674-8c9b-4055-8efe-2134ac1e6b7d", - "x-ms-ratelimit-remaining-subscription-reads": "11879", - "x-ms-request-id": "276264bd-0073-48a3-afd6-3fb176245801", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093024Z:c3372674-8c9b-4055-8efe-2134ac1e6b7d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1e720b58-e4d7-4d87-9f95-346d14721720" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:26 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "54771477-b9db-4023-b940-794ce6ca21f6", - "x-ms-ratelimit-remaining-subscription-reads": "11878", - "x-ms-request-id": "fd63801b-8b6e-42d2-8afb-acea58582370", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093027Z:54771477-b9db-4023-b940-794ce6ca21f6" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0f389ca6-2e3b-435e-a668-33c08d073595" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:28 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2c9c6f54-fe04-4a87-a52e-a94989cac03a", - "x-ms-ratelimit-remaining-subscription-reads": "11877", - "x-ms-request-id": "161576cb-ef94-49ce-b100-1585e8dca1f6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093029Z:2c9c6f54-fe04-4a87-a52e-a94989cac03a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1de86c81-be6d-4d06-b118-712d4cbb80f8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:31 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e4a0626-ed5f-4e85-aa72-9c5722bcd43e", - "x-ms-ratelimit-remaining-subscription-reads": "11876", - "x-ms-request-id": "c9278167-d7ff-46aa-931d-38186c721733", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093031Z:4e4a0626-ed5f-4e85-aa72-9c5722bcd43e" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e7197fc-66f4-49e0-85c1-127bda22d3e8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:33 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "514a98a9-b2f3-40ac-91da-6e2c131f09a0", - "x-ms-ratelimit-remaining-subscription-reads": "11875", - "x-ms-request-id": "306c1e03-e23e-4acb-a0b9-129294b0bedb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093034Z:514a98a9-b2f3-40ac-91da-6e2c131f09a0" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0952776d-f339-4d52-a3ce-4524455b106c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:35 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "21485e8d-a134-4226-9781-eedffdc50230", - "x-ms-ratelimit-remaining-subscription-reads": "11874", - "x-ms-request-id": "caa08517-ce8a-482b-8bfe-f9348f7b2486", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093036Z:21485e8d-a134-4226-9781-eedffdc50230" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cd7d59f7-084a-4799-8db8-4ffa0fd25834" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:38 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f2764cd3-3157-4af6-83ba-f95e2aa9f968", - "x-ms-ratelimit-remaining-subscription-reads": "11873", - "x-ms-request-id": "0ee5daf4-9630-499f-a57a-0398c70b2e46", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093038Z:f2764cd3-3157-4af6-83ba-f95e2aa9f968" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "20e87379-5faa-4244-9352-db8bda61d93c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:40 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1e95e9ed-a8b5-43fd-a321-75f85cfae069", - "x-ms-ratelimit-remaining-subscription-reads": "11872", - "x-ms-request-id": "0bcd8ead-8996-4657-b198-0fcefd13af50", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093041Z:1e95e9ed-a8b5-43fd-a321-75f85cfae069" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6dd1b22c-a118-430c-8eea-b05cf47e77de" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:43 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "686ea840-64af-49eb-90fd-244035a14351", - "x-ms-ratelimit-remaining-subscription-reads": "11871", - "x-ms-request-id": "d884b274-874e-4e28-b5f0-06e929df64ab", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093043Z:686ea840-64af-49eb-90fd-244035a14351" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "23560632-a32b-4cfb-8430-4141d178896b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:45 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0d9458a4-b39f-42c5-bb83-3d3f01073be1", - "x-ms-ratelimit-remaining-subscription-reads": "11870", - "x-ms-request-id": "3f77be33-9bd1-439d-963f-03c0c27d2332", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093046Z:0d9458a4-b39f-42c5-bb83-3d3f01073be1" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4f857d31-3cad-4ce3-9897-fa0e0d5c79c5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:47 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f8701b6-5e8b-4b03-b0e9-9ca7715fdd13", - "x-ms-ratelimit-remaining-subscription-reads": "11869", - "x-ms-request-id": "37404628-efa6-4f94-8041-076c1f43c919", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093048Z:9f8701b6-5e8b-4b03-b0e9-9ca7715fdd13" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ee5d258-a1a3-46e9-9bd8-cc5f26352c04" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:50 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "28bbea42-5872-4832-8223-6a5e9f4ed10a", - "x-ms-ratelimit-remaining-subscription-reads": "11868", - "x-ms-request-id": "414db5e0-c5f3-43a6-ae7e-27776731a96b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093051Z:28bbea42-5872-4832-8223-6a5e9f4ed10a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1548bc48-5e3b-446f-a80e-6b4a23aa763d" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:52 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "156c216f-96a9-43e8-b332-12f04af0d975", - "x-ms-ratelimit-remaining-subscription-reads": "11867", - "x-ms-request-id": "20bc3c31-2541-4c5d-ad7b-9e1d78ef4fb3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093053Z:156c216f-96a9-43e8-b332-12f04af0d975" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "308d12a8-38a6-47ab-a273-7203fdbb6520" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:55 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "db90921a-364c-445e-8a4c-1a8d47461375", - "x-ms-ratelimit-remaining-subscription-reads": "11866", - "x-ms-request-id": "59b02c4a-645d-4f0f-b406-8303c79fee4c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093055Z:db90921a-364c-445e-8a4c-1a8d47461375" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bf8a9f07-9782-47ee-a774-1bf0a2bb5a60" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:30:58 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "66451409-70b1-46fb-a8b9-11786ac62c50", - "x-ms-ratelimit-remaining-subscription-reads": "11865", - "x-ms-request-id": "a70184b4-62c5-4138-b6ae-06161157bf2b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093058Z:66451409-70b1-46fb-a8b9-11786ac62c50" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e6b6c562-d749-4011-9376-8320c82682cd" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:00 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fbe09dbf-a8dc-49ed-9fc1-70151185219e", - "x-ms-ratelimit-remaining-subscription-reads": "11864", - "x-ms-request-id": "b0882da0-fe73-4b87-89cb-47f1be92c6cc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093100Z:fbe09dbf-a8dc-49ed-9fc1-70151185219e" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c7c8d5fc-8d93-4d2a-8f28-8c0fb0f872b8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:03 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0bef4b85-20fd-4dec-8ffe-c166b4317068", - "x-ms-ratelimit-remaining-subscription-reads": "11863", - "x-ms-request-id": "20e10199-e3bf-405c-9e1b-dde4d42474d3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093103Z:0bef4b85-20fd-4dec-8ffe-c166b4317068" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f05a2138-8b7d-4717-8118-74d92cd3c28b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:05 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cc13a2bf-9697-45fa-bbad-6408318ba2fa", - "x-ms-ratelimit-remaining-subscription-reads": "11862", - "x-ms-request-id": "a2f66ce7-d742-4d35-a6e4-39a212f159ab", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093105Z:cc13a2bf-9697-45fa-bbad-6408318ba2fa" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9b2d4f35-db6a-40da-8d60-61142febbf3b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:07 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e0c0717-c88a-41ff-b8a5-8ebc028c0091", - "x-ms-ratelimit-remaining-subscription-reads": "11861", - "x-ms-request-id": "d99578da-12b6-4b16-bccd-0078dc4863fc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093107Z:4e0c0717-c88a-41ff-b8a5-8ebc028c0091" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7ffedded-1096-4462-8594-4205941a1012" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:09 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "81386341-7792-4b93-83bd-cdb1a09849c3", - "x-ms-ratelimit-remaining-subscription-reads": "11860", - "x-ms-request-id": "4030e0cf-f079-4216-b4e7-4aecbba1dfbc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093110Z:81386341-7792-4b93-83bd-cdb1a09849c3" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7f339048-8bee-4f77-b5af-3e59e551422f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:12 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c30db064-cc25-4165-a90e-7d1ebe1bde66", - "x-ms-ratelimit-remaining-subscription-reads": "11859", - "x-ms-request-id": "b3e8b1d8-0afe-45a8-9493-7655f969b5b7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093112Z:c30db064-cc25-4165-a90e-7d1ebe1bde66" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0edcb297-8937-40a7-bdb6-9c7fc259d6f9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:14 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fd3741d0-ad4a-4476-b91e-b51cba539563", - "x-ms-ratelimit-remaining-subscription-reads": "11858", - "x-ms-request-id": "c88d5632-8c96-4e15-974c-695a8eb48283", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093114Z:fd3741d0-ad4a-4476-b91e-b51cba539563" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2a3082e5-3dbd-4752-b61a-e0fa093cfd93" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:16 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "12cba03d-3394-4a65-b4b7-4c6e8937e999", - "x-ms-ratelimit-remaining-subscription-reads": "11857", - "x-ms-request-id": "f54b19c5-6c66-490f-a97a-2a561cc155d1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093117Z:12cba03d-3394-4a65-b4b7-4c6e8937e999" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "00d774d6-8b62-4a54-97f3-f3c2114de023" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:19 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "83a6c101-d446-412a-ada1-94ad69445e4a", - "x-ms-ratelimit-remaining-subscription-reads": "11856", - "x-ms-request-id": "0cc5c635-77c8-4db0-b218-31bc62f5f50a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093119Z:83a6c101-d446-412a-ada1-94ad69445e4a" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7b0f0d7b-457d-495e-8d30-d7363ba269ba" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:21 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "55f16fe9-a753-4ab0-a0df-cffc7827956d", - "x-ms-ratelimit-remaining-subscription-reads": "11855", - "x-ms-request-id": "a0afc8d7-25ad-4991-bd4f-5d41256d473d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093121Z:55f16fe9-a753-4ab0-a0df-cffc7827956d" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d8eb42df-f28c-4619-99bd-0ec4f9620d26" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:23 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f4e94851-a7c9-4546-9419-26df5cd05393", - "x-ms-ratelimit-remaining-subscription-reads": "11854", - "x-ms-request-id": "ca4cbd4c-1b80-4ac9-9389-1b350fb1685f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093124Z:f4e94851-a7c9-4546-9419-26df5cd05393" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f5f0fcf1-acab-49f5-8d08-38324dc61677" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:26 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "66e52537-61d0-420e-bb0b-dc94e23e5db9", - "x-ms-ratelimit-remaining-subscription-reads": "11853", - "x-ms-request-id": "b2b4bab4-e251-459b-a91e-89db9b07ae52", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093126Z:66e52537-61d0-420e-bb0b-dc94e23e5db9" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "33316cac-b851-4ea4-852c-b65eaba3ee56" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:28 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "97267d2b-2994-4a3e-a1f1-7c520cdbcb3f", - "x-ms-ratelimit-remaining-subscription-reads": "11852", - "x-ms-request-id": "e01094e6-f95d-4a2d-9df7-45d27a37a0ba", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093128Z:97267d2b-2994-4a3e-a1f1-7c520cdbcb3f" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "77c025a0-55ee-4f44-b713-789427b7734f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:30 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "36255733-541e-4115-bf8b-0541d03086bd", - "x-ms-ratelimit-remaining-subscription-reads": "11851", - "x-ms-request-id": "786be8fe-589e-423c-9eaf-61fb5154665d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093131Z:36255733-541e-4115-bf8b-0541d03086bd" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "87e87016-a279-4854-bd91-cabb296ab17c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:33 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5dce6eec-64cc-4ede-871e-aee7832d8f71", - "x-ms-ratelimit-remaining-subscription-reads": "11850", - "x-ms-request-id": "a32c2049-7313-4192-a489-e1b838fbcf2e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093133Z:5dce6eec-64cc-4ede-871e-aee7832d8f71" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "89280866-e5e0-4ce2-bb9d-345f4ffb1e78" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:35 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "764ef3ea-439d-4307-865c-58bfd0d64770", - "x-ms-ratelimit-remaining-subscription-reads": "11849", - "x-ms-request-id": "9991923a-1922-475b-be58-c906f05c055a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093135Z:764ef3ea-439d-4307-865c-58bfd0d64770" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5804045f-0b88-47e8-bb18-fd76a0fc17ac" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:37 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4be111b7-2804-428f-8942-58d5020d2a17", - "x-ms-ratelimit-remaining-subscription-reads": "11848", - "x-ms-request-id": "693c863f-a047-4d17-88e7-37d825b1449b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093138Z:4be111b7-2804-428f-8942-58d5020d2a17" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ab4752c0-cdbe-4f57-8a4e-51bda20949df" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:40 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "06235290-d94b-4b16-9514-f1500dbadf86", - "x-ms-ratelimit-remaining-subscription-reads": "11847", - "x-ms-request-id": "70007e98-0031-4901-8dea-d96b69ea28c8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093140Z:06235290-d94b-4b16-9514-f1500dbadf86" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fb0fe933-3e6a-4bb2-a3cb-c8054d71cdc5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:42 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6aecdb69-250b-4287-920f-8e02be5e11ac", - "x-ms-ratelimit-remaining-subscription-reads": "11846", - "x-ms-request-id": "e508227e-4ae1-4e03-8f31-fd590e7e5058", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093143Z:6aecdb69-250b-4287-920f-8e02be5e11ac" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bc05bf85-95ec-497d-8eb9-bef9de224607" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:45 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "435aa580-3a3c-4eb7-868b-5904dc683164", - "x-ms-ratelimit-remaining-subscription-reads": "11845", - "x-ms-request-id": "76e133ec-97a8-482f-a307-21acd2f8269e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093145Z:435aa580-3a3c-4eb7-868b-5904dc683164" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bf0a4b96-2640-4008-a229-c6ac814a0704" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:47 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e5bc3472-6f03-401e-8032-f8f40d191c6f", - "x-ms-ratelimit-remaining-subscription-reads": "11844", - "x-ms-request-id": "ab91e848-6d59-441a-b6de-4db0926ee9ae", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093148Z:e5bc3472-6f03-401e-8032-f8f40d191c6f" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "50d01a3a-24b3-494e-b1c8-a2c172a9eb1a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:49 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "13ca8b08-9661-4708-9990-edbf6284a19f", - "x-ms-ratelimit-remaining-subscription-reads": "11843", - "x-ms-request-id": "c0af0db3-b195-41cc-b169-d9c2f2670da7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093150Z:13ca8b08-9661-4708-9990-edbf6284a19f" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "65633242-7f5e-4ffc-a454-d7b5ad72303e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:52 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3324418a-5fd1-4971-862c-7216d0f800a6", - "x-ms-ratelimit-remaining-subscription-reads": "11842", - "x-ms-request-id": "22d57f44-d28b-4a19-bedd-ca15db0fd789", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093152Z:3324418a-5fd1-4971-862c-7216d0f800a6" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9eed4a83-d0da-4fc4-8281-8d2dcac751e1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:54 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "49d2fdb1-2325-473a-835e-84abc1b3d1ad", - "x-ms-ratelimit-remaining-subscription-reads": "11841", - "x-ms-request-id": "c1149790-70a7-4e2a-8eae-2d24353a9ca3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093155Z:49d2fdb1-2325-473a-835e-84abc1b3d1ad" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "deab343c-3c06-4f34-83cc-4334c699b24a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:56 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "487894cd-996e-4e85-b468-26fd5c5461f8", - "x-ms-ratelimit-remaining-subscription-reads": "11840", - "x-ms-request-id": "c5ac88aa-1c6a-4c70-982d-e77af722864d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093157Z:487894cd-996e-4e85-b468-26fd5c5461f8" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ffb862a-9134-478c-a0f7-dc47078ac48c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "512", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:31:59 GMT", - "ETag": "\u002238012fb1-0000-0100-0000-62cfe1f40000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9bc2f086-3220-4fee-ae70-29fe8bd9e0d1", - "x-ms-ratelimit-remaining-subscription-reads": "11839", - "x-ms-request-id": "cf8ff065-7084-4448-8bb6-6dca1e13690d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093159Z:9bc2f086-3220-4fee-ae70-29fe8bd9e0d1" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Deleting", - "startTime": "2022-07-14T09:29:24.5495081Z" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c2b2592b-5651-4693-954c-21bf1b26aae2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:32:01 GMT", - "ETag": "\u0022000087e8-0000-0800-0000-62cfe28f0000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2bda8155-7123-4293-b5c7-3184721e5c16", - "x-ms-ratelimit-remaining-subscription-reads": "11838", - "x-ms-request-id": "96056002-d081-44b7-92ff-f8b3d831fe9f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093202Z:2bda8155-7123-4293-b5c7-3184721e5c16" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/locations/EASTUS2/operationStatuses/06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "name": "06e4cfca-3e92-416b-8440-a6212ad6b2d9*2474FB2CC4DBECBD5B1A868E144C98D14D7D4E0FF69FAC3B773FAED9FDA4C81B", - "resourceId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "status": "Succeeded", - "startTime": "2022-07-14T09:29:24.5495081Z", - "properties": null - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ab196d91-6702-491a-851d-768288bae052" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Length": "12", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:32:02 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": "8a4a25ee-89fa-4a3a-8fa7-f6087f5bea99", - "x-ms-original-request-ids": [ - "29a76348-8982-487d-a9a7-c00a40957694", - "9be5f9b4-862d-4950-a56b-5f232d4bcb2e", - "8901286e-87bb-49bd-81af-9babe9ae48d2", - "4e472a05-2230-489f-bfd5-8ce817a23732" - ], - "x-ms-ratelimit-remaining-subscription-reads": "11837", - "x-ms-request-id": "8a4a25ee-89fa-4a3a-8fa7-f6087f5bea99", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T093203Z:8a4a25ee-89fa-4a3a-8fa7-f6087f5bea99" - }, - "ResponseBody": { - "value": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_get_test.json b/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_get_test.json deleted file mode 100644 index ee17857d74d3..000000000000 --- a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_get_test.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b73307d2-4b0c-48cc-95f0-fa72336e04ae" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:20 GMT", - "ETag": "\u002201049935-0000-0100-0000-62cfe1ea0000\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "de40c4d3-ab1d-447a-82c9-9092dc262303", - "x-ms-providerhub-traffic": "True", - "x-ms-ratelimit-remaining-subscription-reads": "11907", - "x-ms-request-id": "5b33938b-b861-46ee-a61d-132d7ebf6aeb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092921Z:de40c4d3-ab1d-447a-82c9-9092dc262303" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "name": "myMonitor", - "type": "microsoft.workloads/monitors", - "location": "eastus2", - "tags": { - "key": "value" - }, - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-07-14T09:25:42.4564035Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-07-14T09:25:42.4564035Z" - }, - "properties": { - "appLocation": "eastus2", - "routingPreference": "RouteAll", - "managedResourceGroupConfiguration": { - "name": "myManagedRg" - }, - "logAnalyticsWorkspaceArmId": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - "monitorSubnet": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet", - "provisioningState": "Succeeded", - "msiArmId": "/subscriptions/azure_subscription_id/resourcegroups/myManagedRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sapmon-msi-a045e5baba181e" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_list_test.json b/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_list_test.json deleted file mode 100644 index f845578cb309..000000000000 --- a/sdk/workloads/arm-workloads/recordings/node/workloads_test/recording_workloads_list_test.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.Workloads/monitors?api-version=2021-12-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-workloads/1.0.0-beta.2 core-rest-pipeline/1.9.1 Node/v16.15.1 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d53a28e4-5a83-405b-8b45-45c1f3a1e738" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Length": "1103", - "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 14 Jul 2022 09:29:22 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": "42bd56af-f371-4bc4-bb1a-218c683f55d5", - "x-ms-original-request-ids": [ - "01b4a35b-f50e-4634-988f-e5e6bb574b3c", - "a76e9f27-cd6a-464c-b561-218d2816aaf6", - "ba40cb2a-4e38-4cd6-b591-02315a74ccbf", - "a1cc9f7f-2422-4d93-a6cd-4dfdfd57dc2d" - ], - "x-ms-ratelimit-remaining-subscription-reads": "11906", - "x-ms-request-id": "42bd56af-f371-4bc4-bb1a-218c683f55d5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220714T092922Z:42bd56af-f371-4bc4-bb1a-218c683f55d5" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Workloads/monitors/myMonitor", - "name": "myMonitor", - "type": "microsoft.workloads/monitors", - "location": "eastus2", - "tags": { - "key": "value" - }, - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-07-14T09:25:42.4564035Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-07-14T09:25:42.4564035Z" - }, - "properties": { - "appLocation": "eastus2", - "routingPreference": "RouteAll", - "managedResourceGroupConfiguration": { - "name": "myManagedRg" - }, - "logAnalyticsWorkspaceArmId": "/subscriptions/azure_subscription_id/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - "monitorSubnet": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet", - "provisioningState": "Succeeded", - "msiArmId": "/subscriptions/azure_subscription_id/resourcegroups/myManagedRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sapmon-msi-a045e5baba181e" - } - } - ] - } - } - ], - "Variables": {} -} diff --git a/sdk/workloads/arm-workloads/review/arm-workloads.api.md b/sdk/workloads/arm-workloads/review/arm-workloads.api.md index 76bce48bb3de..2f9a4d5526f2 100644 --- a/sdk/workloads/arm-workloads/review/arm-workloads.api.md +++ b/sdk/workloads/arm-workloads/review/arm-workloads.api.md @@ -106,6 +106,8 @@ export interface DB2ProviderInstanceProperties extends ProviderSpecificPropertie hostname?: string; providerType: "Db2"; sapSid?: string; + sslCertificateUri?: string; + sslPreference?: SslPreference; } // @public @@ -216,6 +218,12 @@ export interface ErrorResponse { error?: ErrorDetail; } +// @public +export interface ExternalInstallationSoftwareConfiguration extends SoftwareConfiguration { + centralServerVmId?: string; + softwareInstallationType: "External"; +} + // @public export interface FileshareProfile { readonly shareName?: string; @@ -251,7 +259,9 @@ export interface HanaDbProviderInstanceProperties extends ProviderSpecificProper instanceNumber?: string; providerType: "SapHana"; sqlPort?: string; + sslCertificateUri?: string; sslHostNameInCertificate?: string; + sslPreference?: SslPreference; } // @public @@ -513,6 +523,7 @@ export enum KnownSAPProductType { // @public export enum KnownSAPSoftwareInstallationType { + External = "External", SAPInstallWithoutOSConfig = "SAPInstallWithoutOSConfig", ServiceInitiated = "ServiceInitiated" } @@ -535,6 +546,8 @@ export enum KnownSAPVirtualInstanceState { InfrastructureDeploymentInProgress = "InfrastructureDeploymentInProgress", InfrastructureDeploymentPending = "InfrastructureDeploymentPending", RegistrationComplete = "RegistrationComplete", + SoftwareDetectionFailed = "SoftwareDetectionFailed", + SoftwareDetectionInProgress = "SoftwareDetectionInProgress", SoftwareInstallationFailed = "SoftwareInstallationFailed", SoftwareInstallationInProgress = "SoftwareInstallationInProgress", SoftwareInstallationPending = "SoftwareInstallationPending" @@ -576,6 +589,13 @@ export enum KnownSkuScaleType { None = "None" } +// @public +export enum KnownSslPreference { + Disabled = "Disabled", + RootCertificate = "RootCertificate", + ServerCertificate = "ServerCertificate" +} + // @public export enum KnownWordpressVersions { Five4 = "5.4", @@ -650,6 +670,8 @@ export interface Monitor extends TrackedResource { readonly msiArmId?: string; readonly provisioningState?: WorkloadMonitorProvisioningState; routingPreference?: RoutingPreference; + readonly storageAccountArmId?: string; + zoneRedundancyPreference?: string; } // @public @@ -743,6 +765,8 @@ export interface MsSqlServerProviderInstanceProperties extends ProviderSpecificP hostname?: string; providerType: "MsSqlServer"; sapSid?: string; + sslCertificateUri?: string; + sslPreference?: SslPreference; } // @public @@ -1048,12 +1072,16 @@ export interface PrometheusHaClusterProviderInstanceProperties extends ProviderS prometheusUrl?: string; providerType: "PrometheusHaCluster"; sid?: string; + sslCertificateUri?: string; + sslPreference?: SslPreference; } // @public export interface PrometheusOSProviderInstanceProperties extends ProviderSpecificProperties { prometheusUrl?: string; providerType: "PrometheusOS"; + sslCertificateUri?: string; + sslPreference?: SslPreference; } // @public @@ -1517,6 +1545,8 @@ export interface SapNetWeaverProviderInstanceProperties extends ProviderSpecific sapSid?: string; sapSslCertificateUri?: string; sapUsername?: string; + sslCertificateUri?: string; + sslPreference?: SslPreference; } // @public @@ -1862,11 +1892,11 @@ export interface SkuZoneDetail { // @public export interface SoftwareConfiguration { - softwareInstallationType: "ServiceInitiated" | "SAPInstallWithoutOSConfig"; + softwareInstallationType: "ServiceInitiated" | "SAPInstallWithoutOSConfig" | "External"; } // @public (undocumented) -export type SoftwareConfigurationUnion = SoftwareConfiguration | ServiceInitiatedSoftwareConfiguration | SAPInstallWithoutOSConfigSoftwareConfiguration; +export type SoftwareConfigurationUnion = SoftwareConfiguration | ServiceInitiatedSoftwareConfiguration | SAPInstallWithoutOSConfigSoftwareConfiguration | ExternalInstallationSoftwareConfiguration; // @public export interface SshConfiguration { @@ -1884,6 +1914,9 @@ export interface SshPublicKey { keyData?: string; } +// @public +export type SslPreference = string; + // @public export interface StopRequest { hardStop?: boolean; diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsCreateSample.ts deleted file mode 100644 index 2b1f5b25ce69..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { Monitor, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Creates a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Create.json - */ -async function createASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const monitorParameter: Monitor = { - appLocation: "westus", - location: "westus", - logAnalyticsWorkspaceArmId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", - managedResourceGroupConfiguration: { name: "myManagedRg" }, - monitorSubnet: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", - routingPreference: "RouteAll", - tags: { key: "value" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginCreateAndWait( - resourceGroupName, - monitorName, - monitorParameter - ); - console.log(result); -} - -createASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsDeleteSample.ts deleted file mode 100644 index 8a99cd012dc8..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * - * @summary Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Delete.json - */ -async function deletesASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginDeleteAndWait( - resourceGroupName, - monitorName - ); - console.log(result); -} - -deletesASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsGetSample.ts deleted file mode 100644 index c16fe34ddbbf..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsGetSample.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Get.json - */ -async function getPropertiesOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.get(resourceGroupName, monitorName); - console.log(result); -} - -getPropertiesOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsListByResourceGroupSample.ts deleted file mode 100644 index 079b9bbe1b33..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified resource group. - * - * @summary Gets a list of SAP monitors in the specified resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_ListByRG.json - */ -async function listAllSapMonitorsInAResourceGroup() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "example-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInAResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsListSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsListSample.ts deleted file mode 100644 index 07b54b100e6f..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * - * @summary Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_List.json - */ -async function listAllSapMonitorsInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/monitorsUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/monitorsUpdateSample.ts deleted file mode 100644 index f2358a43fa6d..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/monitorsUpdateSample.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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 { UpdateMonitorRequest, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json - */ -async function deleteTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body: UpdateMonitorRequest = { identity: { type: "None" }, tags: {} }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update( - resourceGroupName, - monitorName, - body - ); - console.log(result); -} - -deleteTagsFieldOfASapMonitor().catch(console.error); - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags.json - */ -async function updateTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body: UpdateMonitorRequest = { - identity: { type: "None" }, - tags: { testkey: "testvalue" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update( - resourceGroupName, - monitorName, - body - ); - console.log(result); -} - -updateTagsFieldOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/operationsListSample.ts b/sdk/workloads/arm-workloads/samples-dev/operationsListSample.ts deleted file mode 100644 index b651f1b2b0d2..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/operationsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all the available API operations under this PR - * - * @summary Lists all the available API operations under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json - */ -async function operations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -operations().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsCreateOrUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsCreateOrUpdateSample.ts deleted file mode 100644 index fe70a89f3b91..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsCreateOrUpdateSample.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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 { PhpWorkloadResource, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or updated PHP workload resource. - * - * @summary Create or updated PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const phpWorkloadResource: PhpWorkloadResource = { - adminUserProfile: { - sshPublicKey: "===SSH=PUBLIC=KEY===", - userName: "wpadmin" - }, - appLocation: "eastus", - backupProfile: { backupEnabled: "Disabled" }, - cacheProfile: { - name: "wp-cache", - capacity: 0, - family: "C", - skuName: "Basic" - }, - controllerProfile: { - name: "contoller-vm", - dataDisks: [{ sizeInGB: 100, storageType: "Premium_LRS" }], - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - } - }, - databaseProfile: { - type: "MySql", - backupRetentionDays: 7, - haEnabled: "Disabled", - serverName: "wp-db-server", - sku: "Standard_D32s_v4", - sslEnforcementEnabled: "Enabled", - storageInGB: 128, - storageIops: 200, - storageSku: "Premium_LRS", - tier: "GeneralPurpose", - version: "5.7" - }, - fileshareProfile: { - shareSizeInGB: 100, - shareType: "AzureFiles", - storageType: "Premium_LRS" - }, - kind: "WordPress", - location: "eastus2", - managedResourceGroupConfiguration: { name: "php-mrg-wp39" }, - networkProfile: { - azureFrontDoorEnabled: "Enabled", - loadBalancerSku: "Standard", - loadBalancerType: "LoadBalancer" - }, - phpProfile: { version: "7.3" }, - searchProfile: { - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - }, - searchType: "Elastic" - }, - siteProfile: { domainName: "www.example.com" }, - sku: { name: "Large" }, - tags: {}, - webNodesProfile: { - name: "web-server", - autoScaleMaxCount: 1, - autoScaleMinCount: 1, - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - phpWorkloadResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsDeleteSample.ts deleted file mode 100644 index 2baf08b7442b..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsDeleteSample.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 { - PhpWorkloadsDeleteOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete PHP workload resource. - * - * @summary Delete PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const deleteInfra = "false"; - const options: PhpWorkloadsDeleteOptionalParams = { deleteInfra }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginDeleteAndWait( - resourceGroupName, - phpWorkloadName, - options - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsGetSample.ts deleted file mode 100644 index d116aa966417..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the PHP workload resource. - * - * @summary Gets the PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.get( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListByResourceGroupSample.ts deleted file mode 100644 index 49e2f38e9213..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists PHP workload resources in a resource group. - * - * @summary Lists PHP workload resources in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListBySubscriptionSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListBySubscriptionSample.ts deleted file mode 100644 index a7042e0a94d5..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists PHP workload resources for a subscription. - * - * @summary Lists PHP workload resources for a subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsUpdateSample.ts deleted file mode 100644 index 56faee0b2912..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/phpWorkloadsUpdateSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 { - PatchResourceRequestBody, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Update PHP workload resource. - * - * @summary Update PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Update.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const resourcePatchRequestBody: PatchResourceRequestBody = { - identity: { type: "None" }, - tags: { tagName: "tag_value" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.update( - resourceGroupName, - phpWorkloadName, - resourcePatchRequestBody - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/providerInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/providerInstancesCreateSample.ts deleted file mode 100644 index f94732158a19..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/providerInstancesCreateSample.ts +++ /dev/null @@ -1,225 +0,0 @@ -/* - * 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 { ProviderInstance, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json - */ -async function createADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbName: "dbName", - dbPassword: "password", - dbPasswordUri: "", - dbPort: "dbPort", - dbUsername: "username", - hostname: "hostname", - providerType: "Db2", - sapSid: "SID" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json - */ -async function createAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbPassword: "****", - dbPasswordUri: "", - dbPort: "5912", - dbUsername: "user", - hostname: "hostname", - providerType: "MsSqlServer", - sapSid: "sid" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json - */ -async function createAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusOS" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json - */ -async function createAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - clusterName: "clusterName", - hostname: "hostname", - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusHaCluster", - sid: "sid" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Create.json - */ -async function createASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbName: "db", - dbPassword: "****", - dbPasswordUri: "", - dbSslCertificateUri: - "https://storageaccount.blob.core.windows.net/containername/filename", - dbUsername: "user", - hostname: "name", - instanceNumber: "00", - providerType: "SapHana", - sqlPort: "0000", - sslHostNameInCertificate: "xyz.domain.com" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json - */ -async function createASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - providerType: "SapNetWeaver", - sapClientId: "111", - sapHostFileEntries: ["127.0.0.1 name fqdn"], - sapHostname: "name", - sapInstanceNr: "00", - sapPassword: "****", - sapPasswordUri: "", - sapPortNumber: "1234", - sapSid: "SID", - sapSslCertificateUri: - "https://storageaccount.blob.core.windows.net/containername/filename", - sapUsername: "username" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/providerInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/providerInstancesDeleteSample.ts deleted file mode 100644 index fe8dad575e70..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/providerInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json - */ -async function deletesASapMonitorProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginDeleteAndWait( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -deletesASapMonitorProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/providerInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/providerInstancesGetSample.ts deleted file mode 100644 index b77821e9b8fe..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/providerInstancesGetSample.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json - */ -async function getPropertiesOfADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json - */ -async function getPropertiesOfAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json - */ -async function getPropertiesOfAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json - */ -async function getPropertiesOfAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/providerInstancesListSample.ts b/sdk/workloads/arm-workloads/samples-dev/providerInstancesListSample.ts deleted file mode 100644 index e6cb3c7e07ce..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/providerInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * - * @summary Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_List.json - */ -async function listAllSapMonitorsProvidersInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.providerInstances.list( - resourceGroupName, - monitorName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsProvidersInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesCreateSample.ts deleted file mode 100644 index 767bad53261e..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { - SAPApplicationServerInstance, - SAPApplicationServerInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json - */ -async function sapApplicationServerInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body: SAPApplicationServerInstance = { - location: "westcentralus", - tags: {} - }; - const options: SAPApplicationServerInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesDeleteSample.ts deleted file mode 100644 index b95c69b97e75..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json - */ -async function sapApplicationServerInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesGetSample.ts deleted file mode 100644 index 715d765db319..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Application Server Instance. - * - * @summary Gets the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json - */ -async function sapApplicationServerInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.get( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesListSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesListSample.ts deleted file mode 100644 index b05189865676..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Application server Instances in an SVI. - * - * @summary Lists the SAP Application server Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json - */ -async function sapApplicationServerInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPApplicationServerInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapApplicationServerInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesUpdateSample.ts deleted file mode 100644 index 3232c54c584c..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapApplicationServerInstancesUpdateSample.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 { - UpdateSAPApplicationInstanceRequest, - SAPApplicationServerInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance. - * - * @summary Puts the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json - */ -async function sapApplicationServerInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body: UpdateSAPApplicationInstanceRequest = { - tags: { tag1: "value1" } - }; - const options: SAPApplicationServerInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapAvailabilityZoneDetailsSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapAvailabilityZoneDetailsSample.ts deleted file mode 100644 index aba90e7f4089..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapAvailabilityZoneDetailsSample.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json - */ -async function sapAvailabilityZoneDetailsEastus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsEastus().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json - */ -async function sapAvailabilityZoneDetailsNortheurope() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsNortheurope().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesCreateSample.ts deleted file mode 100644 index 68da0dc9fcd0..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { - SAPCentralServerInstance, - SAPCentralInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json - */ -async function sapCentralInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body: SAPCentralServerInstance = { - location: "westcentralus", - tags: {} - }; - const options: SAPCentralInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesDeleteSample.ts deleted file mode 100644 index 195be4fabd87..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json - */ -async function sapCentralInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesGetSample.ts deleted file mode 100644 index ef9d5052a378..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Central Instance. - * - * @summary Gets the SAP Central Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json - */ -async function sapCentralInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.get( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesListSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesListSample.ts deleted file mode 100644 index 2917b75c99f6..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Central Instances in an SVI. - * - * @summary Lists the SAP Central Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json - */ -async function sapCentralInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPCentralInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapCentralInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesUpdateSample.ts deleted file mode 100644 index de6cc2dec275..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapCentralInstancesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - UpdateSAPCentralInstanceRequest, - SAPCentralInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Updates the SAP Central Instance.

This can be used to update tags. - * - * @summary Updates the SAP Central Instance.

This can be used to update tags. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json - */ -async function sapCentralInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body: UpdateSAPCentralInstanceRequest = { tags: { tag1: "value1" } }; - const options: SAPCentralInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesCreateSample.ts deleted file mode 100644 index e07e7fd0152d..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesCreateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - SAPDatabaseInstance, - SAPDatabaseInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json - */ -async function sapDatabaseInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body: SAPDatabaseInstance = { location: "westcentralus", tags: {} }; - const options: SAPDatabaseInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesDeleteSample.ts deleted file mode 100644 index 4e43425051b9..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json - */ -async function sapDatabaseInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesGetSample.ts deleted file mode 100644 index 1289eb70ed25..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Database Instance. - * - * @summary Gets the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json - */ -async function sapDatabaseInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.get( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesListSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesListSample.ts deleted file mode 100644 index acda18b8c9a2..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Database Instances in an SVI. - * - * @summary Lists the SAP Database Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json - */ -async function sapDatabaseInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPDatabaseInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapDatabaseInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesUpdateSample.ts deleted file mode 100644 index 60ecc838cb4b..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDatabaseInstancesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - UpdateSAPDatabaseInstanceRequest, - SAPDatabaseInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Database Instance. - * - * @summary Puts the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json - */ -async function sapDatabaseInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body: UpdateSAPDatabaseInstanceRequest = { tags: { key1: "value1" } }; - const options: SAPDatabaseInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapDiskConfigurationsSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapDiskConfigurationsSample.ts deleted file mode 100644 index 4cbda6f93a66..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapDiskConfigurationsSample.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json - */ -async function sapDiskConfigurationsNonProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsNonProd().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json - */ -async function sapDiskConfigurationsProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsProd().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapSizingRecommendationsSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapSizingRecommendationsSample.ts deleted file mode 100644 index 157dd23047c9..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapSizingRecommendationsSample.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json - */ -async function sapSizingRecommendationsS4HanaDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json - */ -async function sapSizingRecommendationsS4HanaSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapSupportedSkuSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapSupportedSkuSample.ts deleted file mode 100644 index 8b8b4bc301a9..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapSupportedSkuSample.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json - */ -async function sapSupportedSkusDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json - */ -async function sapSupportedSkusDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json - */ -async function sapSupportedSkusDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json - */ -async function sapSupportedSkusSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesCreateSample.ts deleted file mode 100644 index a6512a69519f..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesCreateSample.ts +++ /dev/null @@ -1,796 +0,0 @@ -/* - * 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 { - SAPVirtualInstance, - SAPVirtualInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json - */ -async function sapVirtualInstancesCreateDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json - */ -async function sapVirtualInstancesCreateHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 5, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" } - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json - */ -async function sapVirtualInstancesCreateHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" } - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json - */ -async function sapVirtualInstancesCreateSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - } - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateSingleServer().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json - */ -async function sapVirtualInstancesCreateWithOsconfigDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier" - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json - */ -async function sapVirtualInstancesCreateWithOsconfigSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesDeleteSample.ts deleted file mode 100644 index cd834a32c2ca..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes an Virtual Instance for SAP. - * - * @summary Deletes an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json - */ -async function sapVirtualInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesGetSample.ts deleted file mode 100644 index f47c5c24c53b..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets an Virtual Instance for SAP. - * - * @summary Gets an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json - */ -async function sapVirtualInstancesGet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.get( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListByResourceGroupSample.ts deleted file mode 100644 index 9fe1156c4bf8..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in a resource group. - * - * @summary Gets all Virtual Instances for SAP in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json - */ -async function sapVirtualInstancesListByResourceGroup() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListByResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListBySubscriptionSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListBySubscriptionSample.ts deleted file mode 100644 index 163dacbd498b..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in the subscription. - * - * @summary Gets all Virtual Instances for SAP in the subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json - */ -async function sapVirtualInstancesListBySubscription() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListBySubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStartSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStartSample.ts deleted file mode 100644 index 6f5c5ed1006d..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStartSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Starts the SAP System. - * - * @summary Starts the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json - */ -async function sapVirtualInstancesStart() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStartAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesStart().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStopSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStopSample.ts deleted file mode 100644 index 0ce74212136c..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesStopSample.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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 { - StopRequest, - SAPVirtualInstancesStopOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Stops the SAP System. - * - * @summary Stops the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json - */ -async function sapVirtualInstancesStop() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: StopRequest = { hardStop: false }; - const options: SAPVirtualInstancesStopOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStopAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesStop().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesUpdateSample.ts deleted file mode 100644 index ee3090fcf24e..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/sapVirtualInstancesUpdateSample.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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 { - UpdateSAPVirtualInstanceRequest, - SAPVirtualInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Updates an Virtual Instance for SAP. - * - * @summary Updates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json - */ -async function sapVirtualInstancesUpdate() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: UpdateSAPVirtualInstanceRequest = { - identity: { type: "None" }, - tags: { key1: "svi1" } - }; - const options: SAPVirtualInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.update( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/skusListSample.ts b/sdk/workloads/arm-workloads/samples-dev/skusListSample.ts deleted file mode 100644 index 6b8dddd7b5b4..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/skusListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all the available SKUs under this PR - * - * @summary Lists all the available SKUs under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Skus_List.json - */ -async function skus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.skus.list()) { - resArray.push(item); - } - console.log(resArray); -} - -skus().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesCreateOrUpdateSample.ts b/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesCreateOrUpdateSample.ts deleted file mode 100644 index 08a47102b81e..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesCreateOrUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - WordpressInstanceResource, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or updated WordPress instance resource. - * - * @summary Create or updated WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const wordpressInstanceResource: WordpressInstanceResource = { - databaseName: "wpdb", - databaseUser: "wpuser", - version: "5.4.2" - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - wordpressInstanceResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesDeleteSample.ts deleted file mode 100644 index ed1aa6f15516..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete WordPress instance resource. - * - * @summary Delete WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.delete( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesGetSample.ts deleted file mode 100644 index 97c695bbbea3..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the WordPress instance resource. - * - * @summary Gets the WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.get( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesListSample.ts b/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesListSample.ts deleted file mode 100644 index 10c9ba9dccdd..000000000000 --- a/sdk/workloads/arm-workloads/samples-dev/wordpressInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists WordPress instance resources under a phpWorkload resource. - * - * @summary Lists WordPress instance resources under a phpWorkload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_List.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.wordpressInstances.list( - resourceGroupName, - phpWorkloadName - )) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/README.md b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/README.md deleted file mode 100644 index fcdae7abe24b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/README.md +++ /dev/null @@ -1,146 +0,0 @@ -# client library samples for JavaScript (Beta) - -These sample programs show how to use the JavaScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [monitorsCreateSample.js][monitorscreatesample] | Creates a SAP monitor for the specified subscription, resource group, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Create.json | -| [monitorsDeleteSample.js][monitorsdeletesample] | Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Delete.json | -| [monitorsGetSample.js][monitorsgetsample] | Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Get.json | -| [monitorsListByResourceGroupSample.js][monitorslistbyresourcegroupsample] | Gets a list of SAP monitors in the specified resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_ListByRG.json | -| [monitorsListSample.js][monitorslistsample] | Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_List.json | -| [monitorsUpdateSample.js][monitorsupdatesample] | Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json | -| [operationsListSample.js][operationslistsample] | Lists all the available API operations under this PR x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json | -| [phpWorkloadsCreateOrUpdateSample.js][phpworkloadscreateorupdatesample] | Create or updated PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json | -| [phpWorkloadsDeleteSample.js][phpworkloadsdeletesample] | Delete PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json | -| [phpWorkloadsGetSample.js][phpworkloadsgetsample] | Gets the PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Get.json | -| [phpWorkloadsListByResourceGroupSample.js][phpworkloadslistbyresourcegroupsample] | Lists PHP workload resources in a resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json | -| [phpWorkloadsListBySubscriptionSample.js][phpworkloadslistbysubscriptionsample] | Lists PHP workload resources for a subscription. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json | -| [phpWorkloadsUpdateSample.js][phpworkloadsupdatesample] | Update PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Update.json | -| [providerInstancesCreateSample.js][providerinstancescreatesample] | Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json | -| [providerInstancesDeleteSample.js][providerinstancesdeletesample] | Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json | -| [providerInstancesGetSample.js][providerinstancesgetsample] | Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json | -| [providerInstancesListSample.js][providerinstanceslistsample] | Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_List.json | -| [sapApplicationServerInstancesCreateSample.js][sapapplicationserverinstancescreatesample] | Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json | -| [sapApplicationServerInstancesDeleteSample.js][sapapplicationserverinstancesdeletesample] | Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json | -| [sapApplicationServerInstancesGetSample.js][sapapplicationserverinstancesgetsample] | Gets the SAP Application Server Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json | -| [sapApplicationServerInstancesListSample.js][sapapplicationserverinstanceslistsample] | Lists the SAP Application server Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json | -| [sapApplicationServerInstancesUpdateSample.js][sapapplicationserverinstancesupdatesample] | Puts the SAP Application Server Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json | -| [sapAvailabilityZoneDetailsSample.js][sapavailabilityzonedetailssample] | Get SAP Availability Zone Details. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json | -| [sapCentralInstancesCreateSample.js][sapcentralinstancescreatesample] | Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json | -| [sapCentralInstancesDeleteSample.js][sapcentralinstancesdeletesample] | Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json | -| [sapCentralInstancesGetSample.js][sapcentralinstancesgetsample] | Gets the SAP Central Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json | -| [sapCentralInstancesListSample.js][sapcentralinstanceslistsample] | Lists the SAP Central Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json | -| [sapCentralInstancesUpdateSample.js][sapcentralinstancesupdatesample] | Updates the SAP Central Instance.

This can be used to update tags. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json | -| [sapDatabaseInstancesCreateSample.js][sapdatabaseinstancescreatesample] | Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json | -| [sapDatabaseInstancesDeleteSample.js][sapdatabaseinstancesdeletesample] | Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json | -| [sapDatabaseInstancesGetSample.js][sapdatabaseinstancesgetsample] | Gets the SAP Database Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json | -| [sapDatabaseInstancesListSample.js][sapdatabaseinstanceslistsample] | Lists the SAP Database Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json | -| [sapDatabaseInstancesUpdateSample.js][sapdatabaseinstancesupdatesample] | Puts the SAP Database Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json | -| [sapDiskConfigurationsSample.js][sapdiskconfigurationssample] | Get SAP Disk Configurations. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json | -| [sapSizingRecommendationsSample.js][sapsizingrecommendationssample] | Get SAP sizing recommendations. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json | -| [sapSupportedSkuSample.js][sapsupportedskusample] | Get SAP supported SKUs. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json | -| [sapVirtualInstancesCreateSample.js][sapvirtualinstancescreatesample] | Creates an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json | -| [sapVirtualInstancesDeleteSample.js][sapvirtualinstancesdeletesample] | Deletes an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json | -| [sapVirtualInstancesGetSample.js][sapvirtualinstancesgetsample] | Gets an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json | -| [sapVirtualInstancesListByResourceGroupSample.js][sapvirtualinstanceslistbyresourcegroupsample] | Gets all Virtual Instances for SAP in a resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json | -| [sapVirtualInstancesListBySubscriptionSample.js][sapvirtualinstanceslistbysubscriptionsample] | Gets all Virtual Instances for SAP in the subscription. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json | -| [sapVirtualInstancesStartSample.js][sapvirtualinstancesstartsample] | Starts the SAP System. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json | -| [sapVirtualInstancesStopSample.js][sapvirtualinstancesstopsample] | Stops the SAP System. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json | -| [sapVirtualInstancesUpdateSample.js][sapvirtualinstancesupdatesample] | Updates an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json | -| [skusListSample.js][skuslistsample] | Lists all the available SKUs under this PR x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Skus_List.json | -| [wordpressInstancesCreateOrUpdateSample.js][wordpressinstancescreateorupdatesample] | Create or updated WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json | -| [wordpressInstancesDeleteSample.js][wordpressinstancesdeletesample] | Delete WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Delete.json | -| [wordpressInstancesGetSample.js][wordpressinstancesgetsample] | Gets the WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Get.json | -| [wordpressInstancesListSample.js][wordpressinstanceslistsample] | Lists WordPress instance resources under a phpWorkload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_List.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -3. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node monitorsCreateSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node monitorsCreateSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[monitorscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsCreateSample.js -[monitorsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsDeleteSample.js -[monitorsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsGetSample.js -[monitorslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListByResourceGroupSample.js -[monitorslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListSample.js -[monitorsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsUpdateSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/operationsListSample.js -[phpworkloadscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsCreateOrUpdateSample.js -[phpworkloadsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsDeleteSample.js -[phpworkloadsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsGetSample.js -[phpworkloadslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListByResourceGroupSample.js -[phpworkloadslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListBySubscriptionSample.js -[phpworkloadsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsUpdateSample.js -[providerinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesCreateSample.js -[providerinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesDeleteSample.js -[providerinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesGetSample.js -[providerinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesListSample.js -[sapapplicationserverinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesCreateSample.js -[sapapplicationserverinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesDeleteSample.js -[sapapplicationserverinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesGetSample.js -[sapapplicationserverinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesListSample.js -[sapapplicationserverinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesUpdateSample.js -[sapavailabilityzonedetailssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapAvailabilityZoneDetailsSample.js -[sapcentralinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesCreateSample.js -[sapcentralinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesDeleteSample.js -[sapcentralinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesGetSample.js -[sapcentralinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesListSample.js -[sapcentralinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesUpdateSample.js -[sapdatabaseinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesCreateSample.js -[sapdatabaseinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesDeleteSample.js -[sapdatabaseinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesGetSample.js -[sapdatabaseinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesListSample.js -[sapdatabaseinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesUpdateSample.js -[sapdiskconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDiskConfigurationsSample.js -[sapsizingrecommendationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSizingRecommendationsSample.js -[sapsupportedskusample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSupportedSkuSample.js -[sapvirtualinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesCreateSample.js -[sapvirtualinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesDeleteSample.js -[sapvirtualinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesGetSample.js -[sapvirtualinstanceslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListByResourceGroupSample.js -[sapvirtualinstanceslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListBySubscriptionSample.js -[sapvirtualinstancesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStartSample.js -[sapvirtualinstancesstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStopSample.js -[sapvirtualinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesUpdateSample.js -[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/skusListSample.js -[wordpressinstancescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesCreateOrUpdateSample.js -[wordpressinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesDeleteSample.js -[wordpressinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesGetSample.js -[wordpressinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesListSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-workloads?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/workloads/arm-workloads/README.md diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsCreateSample.js deleted file mode 100644 index 66f86ee0b61d..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsCreateSample.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Creates a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Create.json - */ -async function createASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const monitorParameter = { - appLocation: "westus", - location: "westus", - logAnalyticsWorkspaceArmId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", - managedResourceGroupConfiguration: { name: "myManagedRg" }, - monitorSubnet: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", - routingPreference: "RouteAll", - tags: { key: "value" }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginCreateAndWait( - resourceGroupName, - monitorName, - monitorParameter - ); - console.log(result); -} - -createASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsDeleteSample.js deleted file mode 100644 index 577b726b0508..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsDeleteSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * - * @summary Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Delete.json - */ -async function deletesASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginDeleteAndWait(resourceGroupName, monitorName); - console.log(result); -} - -deletesASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsGetSample.js deleted file mode 100644 index 9cbdf71d9c2f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Get.json - */ -async function getPropertiesOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.get(resourceGroupName, monitorName); - console.log(result); -} - -getPropertiesOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListByResourceGroupSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListByResourceGroupSample.js deleted file mode 100644 index 000bb8321712..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified resource group. - * - * @summary Gets a list of SAP monitors in the specified resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_ListByRG.json - */ -async function listAllSapMonitorsInAResourceGroup() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "example-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInAResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListSample.js deleted file mode 100644 index da7091037a6f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsListSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * - * @summary Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_List.json - */ -async function listAllSapMonitorsInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsUpdateSample.js deleted file mode 100644 index 33f511f005e4..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/monitorsUpdateSample.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json - */ -async function deleteTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body = { identity: { type: "None" }, tags: {} }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update(resourceGroupName, monitorName, body); - console.log(result); -} - -deleteTagsFieldOfASapMonitor().catch(console.error); - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags.json - */ -async function updateTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body = { - identity: { type: "None" }, - tags: { testkey: "testvalue" }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update(resourceGroupName, monitorName, body); - console.log(result); -} - -updateTagsFieldOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/operationsListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/operationsListSample.js deleted file mode 100644 index 34587bf22645..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/operationsListSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists all the available API operations under this PR - * - * @summary Lists all the available API operations under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json - */ -async function operations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -operations().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/package.json b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/package.json deleted file mode 100644 index 95205b87b92c..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@azure-samples/arm-workloads-js-beta", - "private": true, - "version": "1.0.0", - "description": " client library samples for JavaScript (Beta)", - "engines": { - "node": ">=14.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/workloads/arm-workloads" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/workloads/arm-workloads", - "dependencies": { - "@azure/arm-workloads": "next", - "dotenv": "latest", - "@azure/identity": "^2.0.1" - } -} diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsCreateOrUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsCreateOrUpdateSample.js deleted file mode 100644 index 5447b907c407..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsCreateOrUpdateSample.js +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or updated PHP workload resource. - * - * @summary Create or updated PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const phpWorkloadResource = { - adminUserProfile: { - sshPublicKey: "===SSH=PUBLIC=KEY===", - userName: "wpadmin", - }, - appLocation: "eastus", - backupProfile: { backupEnabled: "Disabled" }, - cacheProfile: { - name: "wp-cache", - capacity: 0, - family: "C", - skuName: "Basic", - }, - controllerProfile: { - name: "contoller-vm", - dataDisks: [{ sizeInGB: 100, storageType: "Premium_LRS" }], - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest", - }, - }, - databaseProfile: { - type: "MySql", - backupRetentionDays: 7, - haEnabled: "Disabled", - serverName: "wp-db-server", - sku: "Standard_D32s_v4", - sslEnforcementEnabled: "Enabled", - storageInGB: 128, - storageIops: 200, - storageSku: "Premium_LRS", - tier: "GeneralPurpose", - version: "5.7", - }, - fileshareProfile: { - shareSizeInGB: 100, - shareType: "AzureFiles", - storageType: "Premium_LRS", - }, - kind: "WordPress", - location: "eastus2", - managedResourceGroupConfiguration: { name: "php-mrg-wp39" }, - networkProfile: { - azureFrontDoorEnabled: "Enabled", - loadBalancerSku: "Standard", - loadBalancerType: "LoadBalancer", - }, - phpProfile: { version: "7.3" }, - searchProfile: { - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest", - }, - searchType: "Elastic", - }, - siteProfile: { domainName: "www.example.com" }, - sku: { name: "Large" }, - tags: {}, - webNodesProfile: { - name: "web-server", - autoScaleMaxCount: 1, - autoScaleMinCount: 1, - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest", - }, - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - phpWorkloadResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsDeleteSample.js deleted file mode 100644 index 239967c0aa48..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsDeleteSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete PHP workload resource. - * - * @summary Delete PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const deleteInfra = "false"; - const options = { deleteInfra }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginDeleteAndWait( - resourceGroupName, - phpWorkloadName, - options - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsGetSample.js deleted file mode 100644 index e5ff03e3cdab..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets the PHP workload resource. - * - * @summary Gets the PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.get(resourceGroupName, phpWorkloadName); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListByResourceGroupSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListByResourceGroupSample.js deleted file mode 100644 index a2414907c3cb..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists PHP workload resources in a resource group. - * - * @summary Lists PHP workload resources in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListBySubscriptionSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListBySubscriptionSample.js deleted file mode 100644 index 955ac92179df..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsListBySubscriptionSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists PHP workload resources for a subscription. - * - * @summary Lists PHP workload resources for a subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsUpdateSample.js deleted file mode 100644 index 086da539e2b7..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/phpWorkloadsUpdateSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Update PHP workload resource. - * - * @summary Update PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Update.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const resourcePatchRequestBody = { - identity: { type: "None" }, - tags: { tagName: "tag_value" }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.update( - resourceGroupName, - phpWorkloadName, - resourcePatchRequestBody - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesCreateSample.js deleted file mode 100644 index f1a81e8f160e..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesCreateSample.js +++ /dev/null @@ -1,223 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json - */ -async function createADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - dbName: "dbName", - dbPassword: "password", - dbPasswordUri: "", - dbPort: "dbPort", - dbUsername: "username", - hostname: "hostname", - providerType: "Db2", - sapSid: "SID", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json - */ -async function createAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - dbPassword: "****", - dbPasswordUri: "", - dbPort: "5912", - dbUsername: "user", - hostname: "hostname", - providerType: "MsSqlServer", - sapSid: "sid", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json - */ -async function createAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusOS", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json - */ -async function createAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - clusterName: "clusterName", - hostname: "hostname", - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusHaCluster", - sid: "sid", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Create.json - */ -async function createASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - dbName: "db", - dbPassword: "****", - dbPasswordUri: "", - dbSslCertificateUri: "https://storageaccount.blob.core.windows.net/containername/filename", - dbUsername: "user", - hostname: "name", - instanceNumber: "00", - providerType: "SapHana", - sqlPort: "0000", - sslHostNameInCertificate: "xyz.domain.com", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json - */ -async function createASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter = { - providerSettings: { - providerType: "SapNetWeaver", - sapClientId: "111", - sapHostFileEntries: ["127.0.0.1 name fqdn"], - sapHostname: "name", - sapInstanceNr: "00", - sapPassword: "****", - sapPasswordUri: "", - sapPortNumber: "1234", - sapSid: "SID", - sapSslCertificateUri: "https://storageaccount.blob.core.windows.net/containername/filename", - sapUsername: "username", - }, - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesDeleteSample.js deleted file mode 100644 index c1ecae950383..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json - */ -async function deletesASapMonitorProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginDeleteAndWait( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -deletesASapMonitorProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesGetSample.js deleted file mode 100644 index 2bdfe59d40e1..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesGetSample.js +++ /dev/null @@ -1,150 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json - */ -async function getPropertiesOfADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json - */ -async function getPropertiesOfAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json - */ -async function getPropertiesOfAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json - */ -async function getPropertiesOfAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesListSample.js deleted file mode 100644 index ebcb1a22f03c..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/providerInstancesListSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * - * @summary Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_List.json - */ -async function listAllSapMonitorsProvidersInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.providerInstances.list(resourceGroupName, monitorName)) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsProvidersInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sample.env b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesCreateSample.js deleted file mode 100644 index fa0188f6fcdf..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesCreateSample.js +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json - */ -async function sapApplicationServerInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body = { - location: "westcentralus", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesDeleteSample.js deleted file mode 100644 index 555302197805..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json - */ -async function sapApplicationServerInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesGetSample.js deleted file mode 100644 index 4ebb9280b918..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets the SAP Application Server Instance. - * - * @summary Gets the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json - */ -async function sapApplicationServerInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.get( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesListSample.js deleted file mode 100644 index 11f626e72789..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesListSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists the SAP Application server Instances in an SVI. - * - * @summary Lists the SAP Application server Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json - */ -async function sapApplicationServerInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPApplicationServerInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapApplicationServerInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesUpdateSample.js deleted file mode 100644 index f43df126f7a1..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapApplicationServerInstancesUpdateSample.js +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance. - * - * @summary Puts the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json - */ -async function sapApplicationServerInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body = { - tags: { tag1: "value1" }, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapAvailabilityZoneDetailsSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapAvailabilityZoneDetailsSample.js deleted file mode 100644 index 8d976f476701..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapAvailabilityZoneDetailsSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json - */ -async function sapAvailabilityZoneDetailsEastus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsEastus().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json - */ -async function sapAvailabilityZoneDetailsNortheurope() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsNortheurope().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesCreateSample.js deleted file mode 100644 index bb80d5551a21..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesCreateSample.js +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json - */ -async function sapCentralInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body = { - location: "westcentralus", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesDeleteSample.js deleted file mode 100644 index bb23b4558570..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json - */ -async function sapCentralInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesGetSample.js deleted file mode 100644 index e26c1949008a..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets the SAP Central Instance. - * - * @summary Gets the SAP Central Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json - */ -async function sapCentralInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.get( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesListSample.js deleted file mode 100644 index 3907f3dc56be..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesListSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists the SAP Central Instances in an SVI. - * - * @summary Lists the SAP Central Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json - */ -async function sapCentralInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPCentralInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapCentralInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesUpdateSample.js deleted file mode 100644 index 3147f075c98c..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapCentralInstancesUpdateSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Updates the SAP Central Instance.

This can be used to update tags. - * - * @summary Updates the SAP Central Instance.

This can be used to update tags. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json - */ -async function sapCentralInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body = { tags: { tag1: "value1" } }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesCreateSample.js deleted file mode 100644 index 80800ce5d66f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesCreateSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json - */ -async function sapDatabaseInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body = { location: "westcentralus", tags: {} }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesDeleteSample.js deleted file mode 100644 index ffd0d497a44b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json - */ -async function sapDatabaseInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesGetSample.js deleted file mode 100644 index 910820676373..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets the SAP Database Instance. - * - * @summary Gets the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json - */ -async function sapDatabaseInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.get( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesListSample.js deleted file mode 100644 index 6882723d4583..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesListSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists the SAP Database Instances in an SVI. - * - * @summary Lists the SAP Database Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json - */ -async function sapDatabaseInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPDatabaseInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapDatabaseInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesUpdateSample.js deleted file mode 100644 index a279e73c7b22..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDatabaseInstancesUpdateSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Puts the SAP Database Instance. - * - * @summary Puts the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json - */ -async function sapDatabaseInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body = { tags: { key1: "value1" } }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDiskConfigurationsSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDiskConfigurationsSample.js deleted file mode 100644 index 3097cfdc7d4d..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapDiskConfigurationsSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json - */ -async function sapDiskConfigurationsNonProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsNonProd().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json - */ -async function sapDiskConfigurationsProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsProd().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSizingRecommendationsSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSizingRecommendationsSample.js deleted file mode 100644 index f33052b8205a..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSizingRecommendationsSample.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json - */ -async function sapSizingRecommendationsS4HanaDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json - */ -async function sapSizingRecommendationsS4HanaSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSupportedSkuSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSupportedSkuSample.js deleted file mode 100644 index 01ba8a0a45e7..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapSupportedSkuSample.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json - */ -async function sapSupportedSkusDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json - */ -async function sapSupportedSkusDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json - */ -async function sapSupportedSkusDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json - */ -async function sapSupportedSkusSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesCreateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesCreateSample.js deleted file mode 100644 index c41957826c44..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesCreateSample.js +++ /dev/null @@ -1,788 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json - */ -async function sapVirtualInstancesCreateDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json - */ -async function sapVirtualInstancesCreateHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 5, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" }, - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json - */ -async function sapVirtualInstancesCreateHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" }, - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json - */ -async function sapVirtualInstancesCreateSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateSingleServer().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json - */ -async function sapVirtualInstancesCreateWithOsconfigDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip", - }, - sapFqdn: "xyz.test.com", - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" }, - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip", - }, - sapFqdn: "xyz.test.com", - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E16ds_v4", - }, - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_M32ts", - }, - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" }, - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip", - }, - sapFqdn: "xyz.test.com", - }, - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json - */ -async function sapVirtualInstancesCreateWithOsconfigSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505", - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" }, - }, - }, - vmSize: "Standard_E32ds_v4", - }, - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip", - }, - sapFqdn: "xyz.test.com", - }, - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {}, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesDeleteSample.js deleted file mode 100644 index 2544f9d3ddb6..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesDeleteSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes an Virtual Instance for SAP. - * - * @summary Deletes an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json - */ -async function sapVirtualInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesGetSample.js deleted file mode 100644 index 6cb795a51a9e..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets an Virtual Instance for SAP. - * - * @summary Gets an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json - */ -async function sapVirtualInstancesGet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.get(resourceGroupName, sapVirtualInstanceName); - console.log(result); -} - -sapVirtualInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListByResourceGroupSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListByResourceGroupSample.js deleted file mode 100644 index ef4f15143f77..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in a resource group. - * - * @summary Gets all Virtual Instances for SAP in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json - */ -async function sapVirtualInstancesListByResourceGroup() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListByResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListBySubscriptionSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListBySubscriptionSample.js deleted file mode 100644 index e5920071f0a6..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesListBySubscriptionSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in the subscription. - * - * @summary Gets all Virtual Instances for SAP in the subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json - */ -async function sapVirtualInstancesListBySubscription() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListBySubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStartSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStartSample.js deleted file mode 100644 index 4abf1a0a79c9..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStartSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Starts the SAP System. - * - * @summary Starts the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json - */ -async function sapVirtualInstancesStart() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStartAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesStart().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStopSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStopSample.js deleted file mode 100644 index 63cd9de539ef..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesStopSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Stops the SAP System. - * - * @summary Stops the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json - */ -async function sapVirtualInstancesStop() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { hardStop: false }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStopAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesStop().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesUpdateSample.js deleted file mode 100644 index dce3b6b179ff..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/sapVirtualInstancesUpdateSample.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Updates an Virtual Instance for SAP. - * - * @summary Updates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json - */ -async function sapVirtualInstancesUpdate() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body = { - identity: { type: "None" }, - tags: { key1: "svi1" }, - }; - const options = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.update( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/skusListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/skusListSample.js deleted file mode 100644 index f32a9009c03f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/skusListSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists all the available SKUs under this PR - * - * @summary Lists all the available SKUs under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Skus_List.json - */ -async function skus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.skus.list()) { - resArray.push(item); - } - console.log(resArray); -} - -skus().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesCreateOrUpdateSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesCreateOrUpdateSample.js deleted file mode 100644 index a7a72bd4ba14..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesCreateOrUpdateSample.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or updated WordPress instance resource. - * - * @summary Create or updated WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const wordpressInstanceResource = { - databaseName: "wpdb", - databaseUser: "wpuser", - version: "5.4.2", - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - wordpressInstanceResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesDeleteSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesDeleteSample.js deleted file mode 100644 index a617cb3072fa..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesDeleteSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete WordPress instance resource. - * - * @summary Delete WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.delete(resourceGroupName, phpWorkloadName); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesGetSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesGetSample.js deleted file mode 100644 index fdcf59730af9..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Gets the WordPress instance resource. - * - * @summary Gets the WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.get(resourceGroupName, phpWorkloadName); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesListSample.js b/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesListSample.js deleted file mode 100644 index 20212aba53f7..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/javascript/wordpressInstancesListSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } = require("@azure/arm-workloads"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists WordPress instance resources under a phpWorkload resource. - * - * @summary Lists WordPress instance resources under a phpWorkload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_List.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.wordpressInstances.list(resourceGroupName, phpWorkloadName)) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/README.md b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/README.md deleted file mode 100644 index f16be5f304e3..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/README.md +++ /dev/null @@ -1,159 +0,0 @@ -# client library samples for TypeScript (Beta) - -These sample programs show how to use the TypeScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [monitorsCreateSample.ts][monitorscreatesample] | Creates a SAP monitor for the specified subscription, resource group, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Create.json | -| [monitorsDeleteSample.ts][monitorsdeletesample] | Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Delete.json | -| [monitorsGetSample.ts][monitorsgetsample] | Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Get.json | -| [monitorsListByResourceGroupSample.ts][monitorslistbyresourcegroupsample] | Gets a list of SAP monitors in the specified resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_ListByRG.json | -| [monitorsListSample.ts][monitorslistsample] | Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_List.json | -| [monitorsUpdateSample.ts][monitorsupdatesample] | Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json | -| [operationsListSample.ts][operationslistsample] | Lists all the available API operations under this PR x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json | -| [phpWorkloadsCreateOrUpdateSample.ts][phpworkloadscreateorupdatesample] | Create or updated PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json | -| [phpWorkloadsDeleteSample.ts][phpworkloadsdeletesample] | Delete PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json | -| [phpWorkloadsGetSample.ts][phpworkloadsgetsample] | Gets the PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Get.json | -| [phpWorkloadsListByResourceGroupSample.ts][phpworkloadslistbyresourcegroupsample] | Lists PHP workload resources in a resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json | -| [phpWorkloadsListBySubscriptionSample.ts][phpworkloadslistbysubscriptionsample] | Lists PHP workload resources for a subscription. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json | -| [phpWorkloadsUpdateSample.ts][phpworkloadsupdatesample] | Update PHP workload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Update.json | -| [providerInstancesCreateSample.ts][providerinstancescreatesample] | Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json | -| [providerInstancesDeleteSample.ts][providerinstancesdeletesample] | Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json | -| [providerInstancesGetSample.ts][providerinstancesgetsample] | Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json | -| [providerInstancesListSample.ts][providerinstanceslistsample] | Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_List.json | -| [sapApplicationServerInstancesCreateSample.ts][sapapplicationserverinstancescreatesample] | Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json | -| [sapApplicationServerInstancesDeleteSample.ts][sapapplicationserverinstancesdeletesample] | Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json | -| [sapApplicationServerInstancesGetSample.ts][sapapplicationserverinstancesgetsample] | Gets the SAP Application Server Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json | -| [sapApplicationServerInstancesListSample.ts][sapapplicationserverinstanceslistsample] | Lists the SAP Application server Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json | -| [sapApplicationServerInstancesUpdateSample.ts][sapapplicationserverinstancesupdatesample] | Puts the SAP Application Server Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json | -| [sapAvailabilityZoneDetailsSample.ts][sapavailabilityzonedetailssample] | Get SAP Availability Zone Details. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json | -| [sapCentralInstancesCreateSample.ts][sapcentralinstancescreatesample] | Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json | -| [sapCentralInstancesDeleteSample.ts][sapcentralinstancesdeletesample] | Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json | -| [sapCentralInstancesGetSample.ts][sapcentralinstancesgetsample] | Gets the SAP Central Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json | -| [sapCentralInstancesListSample.ts][sapcentralinstanceslistsample] | Lists the SAP Central Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json | -| [sapCentralInstancesUpdateSample.ts][sapcentralinstancesupdatesample] | Updates the SAP Central Instance.

This can be used to update tags. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json | -| [sapDatabaseInstancesCreateSample.ts][sapdatabaseinstancescreatesample] | Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json | -| [sapDatabaseInstancesDeleteSample.ts][sapdatabaseinstancesdeletesample] | Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json | -| [sapDatabaseInstancesGetSample.ts][sapdatabaseinstancesgetsample] | Gets the SAP Database Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json | -| [sapDatabaseInstancesListSample.ts][sapdatabaseinstanceslistsample] | Lists the SAP Database Instances in an SVI. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json | -| [sapDatabaseInstancesUpdateSample.ts][sapdatabaseinstancesupdatesample] | Puts the SAP Database Instance. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json | -| [sapDiskConfigurationsSample.ts][sapdiskconfigurationssample] | Get SAP Disk Configurations. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json | -| [sapSizingRecommendationsSample.ts][sapsizingrecommendationssample] | Get SAP sizing recommendations. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json | -| [sapSupportedSkuSample.ts][sapsupportedskusample] | Get SAP supported SKUs. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json | -| [sapVirtualInstancesCreateSample.ts][sapvirtualinstancescreatesample] | Creates an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json | -| [sapVirtualInstancesDeleteSample.ts][sapvirtualinstancesdeletesample] | Deletes an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json | -| [sapVirtualInstancesGetSample.ts][sapvirtualinstancesgetsample] | Gets an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json | -| [sapVirtualInstancesListByResourceGroupSample.ts][sapvirtualinstanceslistbyresourcegroupsample] | Gets all Virtual Instances for SAP in a resource group. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json | -| [sapVirtualInstancesListBySubscriptionSample.ts][sapvirtualinstanceslistbysubscriptionsample] | Gets all Virtual Instances for SAP in the subscription. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json | -| [sapVirtualInstancesStartSample.ts][sapvirtualinstancesstartsample] | Starts the SAP System. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json | -| [sapVirtualInstancesStopSample.ts][sapvirtualinstancesstopsample] | Stops the SAP System. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json | -| [sapVirtualInstancesUpdateSample.ts][sapvirtualinstancesupdatesample] | Updates an Virtual Instance for SAP. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json | -| [skusListSample.ts][skuslistsample] | Lists all the available SKUs under this PR x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Skus_List.json | -| [wordpressInstancesCreateOrUpdateSample.ts][wordpressinstancescreateorupdatesample] | Create or updated WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json | -| [wordpressInstancesDeleteSample.ts][wordpressinstancesdeletesample] | Delete WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Delete.json | -| [wordpressInstancesGetSample.ts][wordpressinstancesgetsample] | Gets the WordPress instance resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Get.json | -| [wordpressInstancesListSample.ts][wordpressinstanceslistsample] | Lists WordPress instance resources under a phpWorkload resource. x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_List.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: - -```bash -npm install -g typescript -``` - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples: - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/monitorsCreateSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node dist/monitorsCreateSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[monitorscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsCreateSample.ts -[monitorsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsDeleteSample.ts -[monitorsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsGetSample.ts -[monitorslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListByResourceGroupSample.ts -[monitorslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListSample.ts -[monitorsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsUpdateSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/operationsListSample.ts -[phpworkloadscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsCreateOrUpdateSample.ts -[phpworkloadsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsDeleteSample.ts -[phpworkloadsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsGetSample.ts -[phpworkloadslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListByResourceGroupSample.ts -[phpworkloadslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListBySubscriptionSample.ts -[phpworkloadsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsUpdateSample.ts -[providerinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesCreateSample.ts -[providerinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesDeleteSample.ts -[providerinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesGetSample.ts -[providerinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesListSample.ts -[sapapplicationserverinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesCreateSample.ts -[sapapplicationserverinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesDeleteSample.ts -[sapapplicationserverinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesGetSample.ts -[sapapplicationserverinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesListSample.ts -[sapapplicationserverinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesUpdateSample.ts -[sapavailabilityzonedetailssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapAvailabilityZoneDetailsSample.ts -[sapcentralinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesCreateSample.ts -[sapcentralinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesDeleteSample.ts -[sapcentralinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesGetSample.ts -[sapcentralinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesListSample.ts -[sapcentralinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesUpdateSample.ts -[sapdatabaseinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesCreateSample.ts -[sapdatabaseinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesDeleteSample.ts -[sapdatabaseinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesGetSample.ts -[sapdatabaseinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesListSample.ts -[sapdatabaseinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesUpdateSample.ts -[sapdiskconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDiskConfigurationsSample.ts -[sapsizingrecommendationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSizingRecommendationsSample.ts -[sapsupportedskusample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSupportedSkuSample.ts -[sapvirtualinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesCreateSample.ts -[sapvirtualinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesDeleteSample.ts -[sapvirtualinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesGetSample.ts -[sapvirtualinstanceslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListByResourceGroupSample.ts -[sapvirtualinstanceslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListBySubscriptionSample.ts -[sapvirtualinstancesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStartSample.ts -[sapvirtualinstancesstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStopSample.ts -[sapvirtualinstancesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesUpdateSample.ts -[skuslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/skusListSample.ts -[wordpressinstancescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesCreateOrUpdateSample.ts -[wordpressinstancesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesDeleteSample.ts -[wordpressinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesGetSample.ts -[wordpressinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesListSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-workloads?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/workloads/arm-workloads/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/package.json b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/package.json deleted file mode 100644 index 216d541b517a..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@azure-samples/arm-workloads-ts-beta", - "private": true, - "version": "1.0.0", - "description": " client library samples for TypeScript (Beta)", - "engines": { - "node": ">=14.0.0" - }, - "scripts": { - "build": "tsc", - "prebuild": "rimraf dist/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/workloads/arm-workloads" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/workloads/arm-workloads", - "dependencies": { - "@azure/arm-workloads": "next", - "dotenv": "latest", - "@azure/identity": "^2.0.1" - }, - "devDependencies": { - "@types/node": "^14.0.0", - "typescript": "~4.4.0", - "rimraf": "latest" - } -} diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/sample.env b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsCreateSample.ts deleted file mode 100644 index 2b1f5b25ce69..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { Monitor, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Creates a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Create.json - */ -async function createASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const monitorParameter: Monitor = { - appLocation: "westus", - location: "westus", - logAnalyticsWorkspaceArmId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace", - managedResourceGroupConfiguration: { name: "myManagedRg" }, - monitorSubnet: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", - routingPreference: "RouteAll", - tags: { key: "value" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginCreateAndWait( - resourceGroupName, - monitorName, - monitorParameter - ); - console.log(result); -} - -createASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsDeleteSample.ts deleted file mode 100644 index 8a99cd012dc8..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * - * @summary Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Delete.json - */ -async function deletesASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.beginDeleteAndWait( - resourceGroupName, - monitorName - ); - console.log(result); -} - -deletesASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsGetSample.ts deleted file mode 100644 index c16fe34ddbbf..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsGetSample.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * - * @summary Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_Get.json - */ -async function getPropertiesOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.get(resourceGroupName, monitorName); - console.log(result); -} - -getPropertiesOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListByResourceGroupSample.ts deleted file mode 100644 index 079b9bbe1b33..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified resource group. - * - * @summary Gets a list of SAP monitors in the specified resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_ListByRG.json - */ -async function listAllSapMonitorsInAResourceGroup() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "example-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInAResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListSample.ts deleted file mode 100644 index 07b54b100e6f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * - * @summary Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_List.json - */ -async function listAllSapMonitorsInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.monitors.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsUpdateSample.ts deleted file mode 100644 index f2358a43fa6d..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/monitorsUpdateSample.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * 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 { UpdateMonitorRequest, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json - */ -async function deleteTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body: UpdateMonitorRequest = { identity: { type: "None" }, tags: {} }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update( - resourceGroupName, - monitorName, - body - ); - console.log(result); -} - -deleteTagsFieldOfASapMonitor().catch(console.error); - -/** - * This sample demonstrates how to Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * - * @summary Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/monitors_PatchTags.json - */ -async function updateTagsFieldOfASapMonitor() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const body: UpdateMonitorRequest = { - identity: { type: "None" }, - tags: { testkey: "testvalue" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.monitors.update( - resourceGroupName, - monitorName, - body - ); - console.log(result); -} - -updateTagsFieldOfASapMonitor().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/operationsListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/operationsListSample.ts deleted file mode 100644 index b651f1b2b0d2..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/operationsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all the available API operations under this PR - * - * @summary Lists all the available API operations under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Operations_List.json - */ -async function operations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -operations().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsCreateOrUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsCreateOrUpdateSample.ts deleted file mode 100644 index fe70a89f3b91..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsCreateOrUpdateSample.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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 { PhpWorkloadResource, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or updated PHP workload resource. - * - * @summary Create or updated PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const phpWorkloadResource: PhpWorkloadResource = { - adminUserProfile: { - sshPublicKey: "===SSH=PUBLIC=KEY===", - userName: "wpadmin" - }, - appLocation: "eastus", - backupProfile: { backupEnabled: "Disabled" }, - cacheProfile: { - name: "wp-cache", - capacity: 0, - family: "C", - skuName: "Basic" - }, - controllerProfile: { - name: "contoller-vm", - dataDisks: [{ sizeInGB: 100, storageType: "Premium_LRS" }], - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - } - }, - databaseProfile: { - type: "MySql", - backupRetentionDays: 7, - haEnabled: "Disabled", - serverName: "wp-db-server", - sku: "Standard_D32s_v4", - sslEnforcementEnabled: "Enabled", - storageInGB: 128, - storageIops: 200, - storageSku: "Premium_LRS", - tier: "GeneralPurpose", - version: "5.7" - }, - fileshareProfile: { - shareSizeInGB: 100, - shareType: "AzureFiles", - storageType: "Premium_LRS" - }, - kind: "WordPress", - location: "eastus2", - managedResourceGroupConfiguration: { name: "php-mrg-wp39" }, - networkProfile: { - azureFrontDoorEnabled: "Enabled", - loadBalancerSku: "Standard", - loadBalancerType: "LoadBalancer" - }, - phpProfile: { version: "7.3" }, - searchProfile: { - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - }, - searchType: "Elastic" - }, - siteProfile: { domainName: "www.example.com" }, - sku: { name: "Large" }, - tags: {}, - webNodesProfile: { - name: "web-server", - autoScaleMaxCount: 1, - autoScaleMinCount: 1, - nodeSku: "Standard_DS2_v2", - osDisk: { storageType: "Premium_LRS" }, - osImage: { - offer: "UbuntuServer", - publisher: "Canonical", - sku: "18.0-LTS", - version: "latest" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - phpWorkloadResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsDeleteSample.ts deleted file mode 100644 index 2baf08b7442b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsDeleteSample.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 { - PhpWorkloadsDeleteOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete PHP workload resource. - * - * @summary Delete PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const deleteInfra = "false"; - const options: PhpWorkloadsDeleteOptionalParams = { deleteInfra }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.beginDeleteAndWait( - resourceGroupName, - phpWorkloadName, - options - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsGetSample.ts deleted file mode 100644 index d116aa966417..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the PHP workload resource. - * - * @summary Gets the PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.get( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListByResourceGroupSample.ts deleted file mode 100644 index 49e2f38e9213..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists PHP workload resources in a resource group. - * - * @summary Lists PHP workload resources in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListBySubscriptionSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListBySubscriptionSample.ts deleted file mode 100644 index a7042e0a94d5..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists PHP workload resources for a subscription. - * - * @summary Lists PHP workload resources for a subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.phpWorkloads.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsUpdateSample.ts deleted file mode 100644 index 56faee0b2912..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/phpWorkloadsUpdateSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 { - PatchResourceRequestBody, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Update PHP workload resource. - * - * @summary Update PHP workload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/PhpWorkloads_Update.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const resourcePatchRequestBody: PatchResourceRequestBody = { - identity: { type: "None" }, - tags: { tagName: "tag_value" } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.phpWorkloads.update( - resourceGroupName, - phpWorkloadName, - resourcePatchRequestBody - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesCreateSample.ts deleted file mode 100644 index f94732158a19..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesCreateSample.ts +++ /dev/null @@ -1,225 +0,0 @@ -/* - * 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 { ProviderInstance, WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json - */ -async function createADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbName: "dbName", - dbPassword: "password", - dbPasswordUri: "", - dbPort: "dbPort", - dbUsername: "username", - hostname: "hostname", - providerType: "Db2", - sapSid: "SID" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json - */ -async function createAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbPassword: "****", - dbPasswordUri: "", - dbPort: "5912", - dbUsername: "user", - hostname: "hostname", - providerType: "MsSqlServer", - sapSid: "sid" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json - */ -async function createAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusOS" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json - */ -async function createAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - clusterName: "clusterName", - hostname: "hostname", - prometheusUrl: "http://192.168.0.0:9090/metrics", - providerType: "PrometheusHaCluster", - sid: "sid" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Create.json - */ -async function createASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - dbName: "db", - dbPassword: "****", - dbPasswordUri: "", - dbSslCertificateUri: - "https://storageaccount.blob.core.windows.net/containername/filename", - dbUsername: "user", - hostname: "name", - instanceNumber: "00", - providerType: "SapHana", - sqlPort: "0000", - sslHostNameInCertificate: "xyz.domain.com" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json - */ -async function createASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const providerInstanceParameter: ProviderInstance = { - providerSettings: { - providerType: "SapNetWeaver", - sapClientId: "111", - sapHostFileEntries: ["127.0.0.1 name fqdn"], - sapHostname: "name", - sapInstanceNr: "00", - sapPassword: "****", - sapPasswordUri: "", - sapPortNumber: "1234", - sapSid: "SID", - sapSslCertificateUri: - "https://storageaccount.blob.core.windows.net/containername/filename", - sapUsername: "username" - } - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginCreateAndWait( - resourceGroupName, - monitorName, - providerInstanceName, - providerInstanceParameter - ); - console.log(result); -} - -createASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesDeleteSample.ts deleted file mode 100644 index fe8dad575e70..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json - */ -async function deletesASapMonitorProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.beginDeleteAndWait( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -deletesASapMonitorProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesGetSample.ts deleted file mode 100644 index b77821e9b8fe..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesGetSample.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json - */ -async function getPropertiesOfADb2Provider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfADb2Provider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json - */ -async function getPropertiesOfAMSSqlServerProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAMSSqlServerProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json - */ -async function getPropertiesOfAOSProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAOSProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json - */ -async function getPropertiesOfAPrometheusHaClusterProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfAPrometheusHaClusterProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorHanaProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorHanaProvider().catch(console.error); - -/** - * This sample demonstrates how to Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * - * @summary Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json - */ -async function getPropertiesOfASapMonitorNetWeaverProvider() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const providerInstanceName = "myProviderInstance"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.providerInstances.get( - resourceGroupName, - monitorName, - providerInstanceName - ); - console.log(result); -} - -getPropertiesOfASapMonitorNetWeaverProvider().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesListSample.ts deleted file mode 100644 index e6cb3c7e07ce..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/providerInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * - * @summary Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/workloadmonitor/ProviderInstances_List.json - */ -async function listAllSapMonitorsProvidersInASubscription() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const resourceGroupName = "myResourceGroup"; - const monitorName = "mySapMonitor"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.providerInstances.list( - resourceGroupName, - monitorName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAllSapMonitorsProvidersInASubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesCreateSample.ts deleted file mode 100644 index 767bad53261e..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { - SAPApplicationServerInstance, - SAPApplicationServerInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json - */ -async function sapApplicationServerInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body: SAPApplicationServerInstance = { - location: "westcentralus", - tags: {} - }; - const options: SAPApplicationServerInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesDeleteSample.ts deleted file mode 100644 index b95c69b97e75..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json - */ -async function sapApplicationServerInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesGetSample.ts deleted file mode 100644 index 715d765db319..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Application Server Instance. - * - * @summary Gets the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json - */ -async function sapApplicationServerInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.get( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName - ); - console.log(result); -} - -sapApplicationServerInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesListSample.ts deleted file mode 100644 index b05189865676..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Application server Instances in an SVI. - * - * @summary Lists the SAP Application server Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json - */ -async function sapApplicationServerInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPApplicationServerInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapApplicationServerInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesUpdateSample.ts deleted file mode 100644 index 3232c54c584c..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapApplicationServerInstancesUpdateSample.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 { - UpdateSAPApplicationInstanceRequest, - SAPApplicationServerInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Application Server Instance. - * - * @summary Puts the SAP Application Server Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json - */ -async function sapApplicationServerInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const applicationInstanceName = "app01"; - const body: UpdateSAPApplicationInstanceRequest = { - tags: { tag1: "value1" } - }; - const options: SAPApplicationServerInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPApplicationServerInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - applicationInstanceName, - options - ); - console.log(result); -} - -sapApplicationServerInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapAvailabilityZoneDetailsSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapAvailabilityZoneDetailsSample.ts deleted file mode 100644 index aba90e7f4089..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapAvailabilityZoneDetailsSample.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json - */ -async function sapAvailabilityZoneDetailsEastus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsEastus().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Availability Zone Details. - * - * @summary Get SAP Availability Zone Details. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json - */ -async function sapAvailabilityZoneDetailsNortheurope() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPAvailabilityZoneDetails(location); - console.log(result); -} - -sapAvailabilityZoneDetailsNortheurope().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesCreateSample.ts deleted file mode 100644 index 68da0dc9fcd0..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesCreateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 { - SAPCentralServerInstance, - SAPCentralInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json - */ -async function sapCentralInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body: SAPCentralServerInstance = { - location: "westcentralus", - tags: {} - }; - const options: SAPCentralInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesDeleteSample.ts deleted file mode 100644 index 195be4fabd87..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json - */ -async function sapCentralInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesGetSample.ts deleted file mode 100644 index ef9d5052a378..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Central Instance. - * - * @summary Gets the SAP Central Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json - */ -async function sapCentralInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.get( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName - ); - console.log(result); -} - -sapCentralInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesListSample.ts deleted file mode 100644 index 2917b75c99f6..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Central Instances in an SVI. - * - * @summary Lists the SAP Central Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json - */ -async function sapCentralInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPCentralInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapCentralInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesUpdateSample.ts deleted file mode 100644 index de6cc2dec275..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapCentralInstancesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - UpdateSAPCentralInstanceRequest, - SAPCentralInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Updates the SAP Central Instance.

This can be used to update tags. - * - * @summary Updates the SAP Central Instance.

This can be used to update tags. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json - */ -async function sapCentralInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const centralInstanceName = "centralServer"; - const body: UpdateSAPCentralInstanceRequest = { tags: { tag1: "value1" } }; - const options: SAPCentralInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPCentralInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - centralInstanceName, - options - ); - console.log(result); -} - -sapCentralInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesCreateSample.ts deleted file mode 100644 index e07e7fd0152d..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesCreateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - SAPDatabaseInstance, - SAPDatabaseInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * - * @summary Puts the SAP Database Instance.

This will be used by service only. PUT by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json - */ -async function sapDatabaseInstancesCreate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body: SAPDatabaseInstance = { location: "westcentralus", tags: {} }; - const options: SAPDatabaseInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesCreate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesDeleteSample.ts deleted file mode 100644 index 4e43425051b9..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * - * @summary Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json - */ -async function sapDatabaseInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesGetSample.ts deleted file mode 100644 index 1289eb70ed25..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the SAP Database Instance. - * - * @summary Gets the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json - */ -async function sapDatabaseInstancesGet() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.get( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName - ); - console.log(result); -} - -sapDatabaseInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesListSample.ts deleted file mode 100644 index acda18b8c9a2..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists the SAP Database Instances in an SVI. - * - * @summary Lists the SAP Database Instances in an SVI. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json - */ -async function sapDatabaseInstancesList() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPDatabaseInstances.list( - resourceGroupName, - sapVirtualInstanceName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapDatabaseInstancesList().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesUpdateSample.ts deleted file mode 100644 index 60ecc838cb4b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDatabaseInstancesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - UpdateSAPDatabaseInstanceRequest, - SAPDatabaseInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Puts the SAP Database Instance. - * - * @summary Puts the SAP Database Instance. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json - */ -async function sapDatabaseInstancesUpdate() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const databaseInstanceName = "databaseServer"; - const body: UpdateSAPDatabaseInstanceRequest = { tags: { key1: "value1" } }; - const options: SAPDatabaseInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDatabaseInstances.beginUpdateAndWait( - resourceGroupName, - sapVirtualInstanceName, - databaseInstanceName, - options - ); - console.log(result); -} - -sapDatabaseInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDiskConfigurationsSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDiskConfigurationsSample.ts deleted file mode 100644 index 4cbda6f93a66..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapDiskConfigurationsSample.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json - */ -async function sapDiskConfigurationsNonProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsNonProd().catch(console.error); - -/** - * This sample demonstrates how to Get SAP Disk Configurations. - * - * @summary Get SAP Disk Configurations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json - */ -async function sapDiskConfigurationsProd() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPDiskConfigurations(location); - console.log(result); -} - -sapDiskConfigurationsProd().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSizingRecommendationsSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSizingRecommendationsSample.ts deleted file mode 100644 index 157dd23047c9..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSizingRecommendationsSample.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json - */ -async function sapSizingRecommendationsS4HanaDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json - */ -async function sapSizingRecommendationsS4HanaDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP sizing recommendations. - * - * @summary Get SAP sizing recommendations. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json - */ -async function sapSizingRecommendationsS4HanaSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSizingRecommendations(location); - console.log(result); -} - -sapSizingRecommendationsS4HanaSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSupportedSkuSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSupportedSkuSample.ts deleted file mode 100644 index 8b8b4bc301a9..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapSupportedSkuSample.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json - */ -async function sapSupportedSkusDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributed().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json - */ -async function sapSupportedSkusDistributedHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json - */ -async function sapSupportedSkusDistributedHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusDistributedHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Get SAP supported SKUs. - * - * @summary Get SAP supported SKUs. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json - */ -async function sapSupportedSkusSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const location = "centralus"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPSupportedSku(location); - console.log(result); -} - -sapSupportedSkusSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesCreateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesCreateSample.ts deleted file mode 100644 index a6512a69519f..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesCreateSample.ts +++ /dev/null @@ -1,796 +0,0 @@ -/* - * 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 { - SAPVirtualInstance, - SAPVirtualInstancesCreateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json - */ -async function sapVirtualInstancesCreateDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json - */ -async function sapVirtualInstancesCreateHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 5, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" } - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json - */ -async function sapVirtualInstancesCreateHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" } - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json - */ -async function sapVirtualInstancesCreateSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "Deployment", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - ssh: { publicKeys: [{ keyData: "ssh-rsa public key" }] } - } - }, - vmSize: "Standard_E32ds_v4" - } - } - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateSingleServer().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json - */ -async function sapVirtualInstancesCreateWithOsconfigDistributed() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 1, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier" - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigDistributed().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvSet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilitySet" } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvSet().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json - */ -async function sapVirtualInstancesCreateWithOsconfigHaAvZone() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - applicationServer: { - instanceCount: 6, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - centralServer: { - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E16ds_v4" - } - }, - databaseServer: { - databaseType: "HANA", - instanceCount: 2, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_M32ts" - } - }, - deploymentType: "ThreeTier", - highAvailabilityConfig: { highAvailabilityType: "AvailabilityZone" } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "Prod", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigHaAvZone().catch(console.error); - -/** - * This sample demonstrates how to Creates an Virtual Instance for SAP. - * - * @summary Creates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json - */ -async function sapVirtualInstancesCreateWithOsconfigSingleServer() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: SAPVirtualInstance = { - configuration: { - appLocation: "eastus", - configurationType: "DeploymentWithOSConfig", - infrastructureConfiguration: { - appResourceGroup: "X00-RG", - databaseType: "HANA", - deploymentType: "SingleServer", - networkConfiguration: { isSecondaryIpEnabled: true }, - subnetId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - virtualMachineConfiguration: { - imageReference: { - offer: "RHEL-SAP", - publisher: "RedHat", - sku: "7.4", - version: "7.4.2019062505" - }, - osProfile: { - adminUsername: "{your-username}", - osConfiguration: { - disablePasswordAuthentication: true, - osType: "Linux", - sshKeyPair: { privateKey: "xyz", publicKey: "abc" } - } - }, - vmSize: "Standard_E32ds_v4" - } - }, - osSapConfiguration: { - deployerVmPackages: { - storageAccountId: - "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/yb-SapInstall/providers/Microsoft.Storage/storageAccounts/ybteststorageaccount", - url: - "https://ybteststorageaccount.blob.core.windows.net/sapbits/deployervmpackages/DeployerVMPackages.zip" - }, - sapFqdn: "xyz.test.com" - } - }, - environment: "NonProd", - location: "westcentralus", - sapProduct: "S4HANA", - tags: {} - }; - const options: SAPVirtualInstancesCreateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginCreateAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesCreateWithOsconfigSingleServer().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesDeleteSample.ts deleted file mode 100644 index cd834a32c2ca..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes an Virtual Instance for SAP. - * - * @summary Deletes an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json - */ -async function sapVirtualInstancesDelete() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginDeleteAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesDelete().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesGetSample.ts deleted file mode 100644 index f47c5c24c53b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets an Virtual Instance for SAP. - * - * @summary Gets an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json - */ -async function sapVirtualInstancesGet() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.get( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesGet().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListByResourceGroupSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListByResourceGroupSample.ts deleted file mode 100644 index 9fe1156c4bf8..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in a resource group. - * - * @summary Gets all Virtual Instances for SAP in a resource group. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json - */ -async function sapVirtualInstancesListByResourceGroup() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const resourceGroupName = "test-rg"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListByResourceGroup().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListBySubscriptionSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListBySubscriptionSample.ts deleted file mode 100644 index 163dacbd498b..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets all Virtual Instances for SAP in the subscription. - * - * @summary Gets all Virtual Instances for SAP in the subscription. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json - */ -async function sapVirtualInstancesListBySubscription() { - const subscriptionId = "6d875e77-e412-4d7d-9af4-8895278b4443"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.sAPVirtualInstances.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -sapVirtualInstancesListBySubscription().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStartSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStartSample.ts deleted file mode 100644 index 6f5c5ed1006d..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStartSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Starts the SAP System. - * - * @summary Starts the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json - */ -async function sapVirtualInstancesStart() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStartAndWait( - resourceGroupName, - sapVirtualInstanceName - ); - console.log(result); -} - -sapVirtualInstancesStart().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStopSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStopSample.ts deleted file mode 100644 index 0ce74212136c..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesStopSample.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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 { - StopRequest, - SAPVirtualInstancesStopOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Stops the SAP System. - * - * @summary Stops the SAP System. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json - */ -async function sapVirtualInstancesStop() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: StopRequest = { hardStop: false }; - const options: SAPVirtualInstancesStopOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.beginStopAndWait( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesStop().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesUpdateSample.ts deleted file mode 100644 index ee3090fcf24e..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/sapVirtualInstancesUpdateSample.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * 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 { - UpdateSAPVirtualInstanceRequest, - SAPVirtualInstancesUpdateOptionalParams, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Updates an Virtual Instance for SAP. - * - * @summary Updates an Virtual Instance for SAP. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json - */ -async function sapVirtualInstancesUpdate() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const sapVirtualInstanceName = "X00"; - const body: UpdateSAPVirtualInstanceRequest = { - identity: { type: "None" }, - tags: { key1: "svi1" } - }; - const options: SAPVirtualInstancesUpdateOptionalParams = { body }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.sAPVirtualInstances.update( - resourceGroupName, - sapVirtualInstanceName, - options - ); - console.log(result); -} - -sapVirtualInstancesUpdate().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/skusListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/skusListSample.ts deleted file mode 100644 index 6b8dddd7b5b4..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/skusListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all the available SKUs under this PR - * - * @summary Lists all the available SKUs under this PR - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/Skus_List.json - */ -async function skus() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.skus.list()) { - resArray.push(item); - } - console.log(resArray); -} - -skus().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesCreateOrUpdateSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesCreateOrUpdateSample.ts deleted file mode 100644 index 08a47102b81e..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesCreateOrUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 { - WordpressInstanceResource, - WorkloadsClient -} from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or updated WordPress instance resource. - * - * @summary Create or updated WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const wordpressInstanceResource: WordpressInstanceResource = { - databaseName: "wpdb", - databaseUser: "wpuser", - version: "5.4.2" - }; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.beginCreateOrUpdateAndWait( - resourceGroupName, - phpWorkloadName, - wordpressInstanceResource - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesDeleteSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesDeleteSample.ts deleted file mode 100644 index ed1aa6f15516..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete WordPress instance resource. - * - * @summary Delete WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Delete.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.delete( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesGetSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesGetSample.ts deleted file mode 100644 index 97c695bbbea3..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Gets the WordPress instance resource. - * - * @summary Gets the WordPress instance resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_Get.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const result = await client.wordpressInstances.get( - resourceGroupName, - phpWorkloadName - ); - console.log(result); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesListSample.ts b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesListSample.ts deleted file mode 100644 index 10c9ba9dccdd..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/src/wordpressInstancesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 { WorkloadsClient } from "@azure/arm-workloads"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists WordPress instance resources under a phpWorkload resource. - * - * @summary Lists WordPress instance resources under a phpWorkload resource. - * x-ms-original-file: specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/phpworkloads/WordpressInstances_List.json - */ -async function workloads() { - const subscriptionId = "8e17e36c-42e9-4cd5-a078-7b44883414e0"; - const resourceGroupName = "test-rg"; - const phpWorkloadName = "wp39"; - const credential = new DefaultAzureCredential(); - const client = new WorkloadsClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.wordpressInstances.list( - resourceGroupName, - phpWorkloadName - )) { - resArray.push(item); - } - console.log(resArray); -} - -workloads().catch(console.error); diff --git a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/tsconfig.json b/sdk/workloads/arm-workloads/samples/v1-beta/typescript/tsconfig.json deleted file mode 100644 index 416c2dd82e00..000000000000 --- a/sdk/workloads/arm-workloads/samples/v1-beta/typescript/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2018", - "module": "commonjs", - "moduleResolution": "node", - "resolveJsonModule": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "alwaysStrict": true, - "outDir": "dist", - "rootDir": "src" - }, - "include": [ - "src/**.ts" - ] -} diff --git a/sdk/workloads/arm-workloads/src/models/index.ts b/sdk/workloads/arm-workloads/src/models/index.ts index 4e8c83ac6686..981351ce34ca 100644 --- a/sdk/workloads/arm-workloads/src/models/index.ts +++ b/sdk/workloads/arm-workloads/src/models/index.ts @@ -36,7 +36,8 @@ export type InfrastructureConfigurationUnion = export type SoftwareConfigurationUnion = | SoftwareConfiguration | ServiceInitiatedSoftwareConfiguration - | SAPInstallWithoutOSConfigSoftwareConfiguration; + | SAPInstallWithoutOSConfigSoftwareConfiguration + | ExternalInstallationSoftwareConfiguration; /** Php workload resource list */ export interface PhpWorkloadResourceList { @@ -552,72 +553,72 @@ export interface OperationStatusResult { error?: ErrorDetail; } -/** Defines the collection of Virtual Instance for SAP. */ +/** Defines the collection of Virtual Instance for SAP solutions resources. */ export interface SAPVirtualInstanceList { - /** Gets the list of Virtual Instances for SAP. */ + /** Gets the list of Virtual Instances for SAP solutions resources. */ value?: SAPVirtualInstance[]; /** Gets the value of next link. */ nextLink?: string; } -/** Defines the SAP message server properties. */ +/** Defines the SAP Message Server properties. */ export interface MessageServerProperties { /** - * The message server port. + * Message Server port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly msPort?: number; /** - * The message server internal MS port. + * Message Server internal MS port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly internalMsPort?: number; /** - * The message server http port. + * Message Server HTTP Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly httpPort?: number; /** - * The message server https port. + * Message Server HTTPS Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly httpsPort?: number; /** - * The message server SAP host name. + * Message Server SAP Hostname. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hostname?: string; /** - * The message server IP Address. + * Message server IP Address. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ipAddress?: string; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; } -/** Defines the SAP enqueue server properties. */ +/** Defines the SAP Enqueue Server properties. */ export interface EnqueueServerProperties { /** - * The enqueue server SAP host name. + * Enqueue Server SAP Hostname. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hostname?: string; /** - * The enqueue server SAP IP Address. + * Enqueue Server SAP IP Address. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ipAddress?: string; /** - * The enqueue server Port. + * Enqueue Server Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly port?: number; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; @@ -626,18 +627,18 @@ export interface EnqueueServerProperties { /** Defines the SAP Gateway Server properties. */ export interface GatewayServerProperties { /** - * The gateway Port. + * Gateway Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly port?: number; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; } -/** Defines the SAP ERS Server properties. */ +/** Defines the SAP Enqueue Replication Server (ERS) properties. */ export interface EnqueueReplicationServerProperties { /** * Defines the type of Enqueue Replication Server. @@ -645,38 +646,38 @@ export interface EnqueueReplicationServerProperties { */ readonly ersVersion?: EnqueueReplicationServerType; /** - * The ERS server instance id. + * ERS Instance Number. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceNo?: string; /** - * The ERS server SAP host name. + * ERS SAP Hostname. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hostname?: string; /** - * The ERS server SAP kernel version. + * ERS SAP Kernel Version. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelVersion?: string; /** - * The ERS server SAP kernel patch. + * ERS SAP Kernel Patch level. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelPatch?: string; /** - * The ERS server SAP IP Address. + * ERS SAP IP Address. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ipAddress?: string; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; } -/** The Central Server VM Details. */ +/** The SAP Central Services Instance VM details. */ export interface CentralServerVmDetails { /** * Defines the type of central server VM. @@ -693,15 +694,15 @@ export interface UpdateSAPCentralInstanceRequest { tags?: { [propertyName: string]: string }; } -/** Defines the collection of SAP Central Instances. */ +/** Defines the collection of SAP Central Services Instance resources. */ export interface SAPCentralInstanceList { - /** Gets the list of SAP central instances. */ + /** Gets the list of SAP central services instance resources. */ value?: SAPCentralServerInstance[]; /** Gets the value of next link. */ nextLink?: string; } -/** The Database VM Details. */ +/** Database VM details. */ export interface DatabaseVmDetails { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly virtualMachineId?: string; @@ -732,9 +733,9 @@ export interface UpdateSAPApplicationInstanceRequest { tags?: { [propertyName: string]: string }; } -/** Defines the collection of SAP Application Server Instances. */ +/** Defines the collection of SAP Application Server Instance resources. */ export interface SAPApplicationServerInstanceList { - /** Gets the list of SAP Application Server instances. */ + /** Gets the list of SAP Application Server instance resources. */ value?: SAPApplicationServerInstance[]; /** Gets the value of next link. */ nextLink?: string; @@ -1040,9 +1041,9 @@ export interface VirtualMachineConfiguration { osProfile: OSProfile; } -/** Defines the network configuration for SAP infrastructure */ +/** Defines the network configuration type for SAP system infrastructure that is being deployed */ export interface NetworkConfiguration { - /** Specifies whether a secondary IP address should be added to the network interface on all VMs */ + /** Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed */ isSecondaryIpEnabled?: boolean; } @@ -1095,7 +1096,10 @@ export interface HighAvailabilityConfiguration { /** The SAP Software configuration Input. */ export interface SoftwareConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - softwareInstallationType: "ServiceInitiated" | "SAPInstallWithoutOSConfig"; + softwareInstallationType: + | "ServiceInitiated" + | "SAPInstallWithoutOSConfig" + | "External"; } /** Gets or sets the HA software configuration. */ @@ -1326,8 +1330,12 @@ export interface HanaDbProviderInstanceProperties dbPasswordUri?: string; /** Gets or sets the blob URI to SSL certificate for the DB. */ dbSslCertificateUri?: string; + /** Gets or sets the blob URI to SSL certificate for the DB. */ + sslCertificateUri?: string; /** Gets or sets the hostname(s) in the SSL certificate. */ sslHostNameInCertificate?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; } /** Gets or sets the provider properties. */ @@ -1355,6 +1363,10 @@ export interface SapNetWeaverProviderInstanceProperties sapPortNumber?: string; /** Gets or sets the blob URI to SSL certificate for the SAP system. */ sapSslCertificateUri?: string; + /** Gets or sets the blob URI to SSL certificate for the SAP system. */ + sslCertificateUri?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; } /** Gets or sets the PrometheusOS provider properties. */ @@ -1364,6 +1376,10 @@ export interface PrometheusOSProviderInstanceProperties providerType: "PrometheusOS"; /** URL of the Node Exporter endpoint */ prometheusUrl?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; + /** Gets or sets the blob URI to SSL certificate for the prometheus node exporter. */ + sslCertificateUri?: string; } /** Gets or sets the DB2 provider properties. */ @@ -1385,6 +1401,10 @@ export interface DB2ProviderInstanceProperties dbPasswordUri?: string; /** Gets or sets the SAP System Identifier */ sapSid?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; + /** Gets or sets the blob URI to SSL certificate for the DB2 Database. */ + sslCertificateUri?: string; } /** Gets or sets the PrometheusHaCluster provider properties. */ @@ -1400,6 +1420,10 @@ export interface PrometheusHaClusterProviderInstanceProperties sid?: string; /** Gets or sets the clusterName. */ clusterName?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; + /** Gets or sets the blob URI to SSL certificate for the HA cluster exporter. */ + sslCertificateUri?: string; } /** Gets or sets the SQL server provider properties. */ @@ -1419,6 +1443,10 @@ export interface MsSqlServerProviderInstanceProperties dbPasswordUri?: string; /** Gets or sets the SAP System Identifier */ sapSid?: string; + /** Gets or sets certificate preference if secure communication is enabled. */ + sslPreference?: SslPreference; + /** Gets or sets the blob URI to SSL certificate for the SQL Database. */ + sslCertificateUri?: string; } /** Specifies Windows operating system settings on the virtual machine. */ @@ -1503,6 +1531,15 @@ export interface SAPInstallWithoutOSConfigSoftwareConfiguration highAvailabilitySoftwareConfiguration?: HighAvailabilitySoftwareConfiguration; } +/** The SAP Software configuration Input when the software is installed externally outside the service. */ +export interface ExternalInstallationSoftwareConfiguration + extends SoftwareConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + softwareInstallationType: "External"; + /** The resource ID of the virtual machine containing the central server instance. */ + centralServerVmId?: string; +} + /** Display information of the operation. */ export interface OperationsDefinitionDisplay extends OperationsDisplayDefinition {} @@ -1548,7 +1585,7 @@ export interface PhpWorkloadResource extends TrackedResource { readonly provisioningState?: PhpWorkloadProvisioningState; } -/** Define the Virtual Instance for SAP. */ +/** Define the Virtual Instance for SAP solutions resource. */ export interface SAPVirtualInstance extends TrackedResource { /** Managed service identity (user assigned identities) */ identity?: UserAssignedServiceIdentity; @@ -1556,7 +1593,7 @@ export interface SAPVirtualInstance extends TrackedResource { environment: SAPEnvironmentType; /** Defines the SAP Product type. */ sapProduct: SAPProductType; - /** Defines if an existing SAP system is being registered or a new SAP system is being created */ + /** Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS */ configuration: SAPConfigurationUnion; /** Managed resource group configuration */ managedResourceGroupConfiguration?: ManagedRGConfiguration; @@ -1566,7 +1603,7 @@ export interface SAPVirtualInstance extends TrackedResource { */ readonly status?: SAPVirtualInstanceStatus; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; @@ -1581,44 +1618,44 @@ export interface SAPVirtualInstance extends TrackedResource { */ readonly provisioningState?: SapVirtualInstanceProvisioningState; /** - * Defines the Virtual Instance for SAP errors. + * Indicates any errors on the Virtual Instance for SAP solutions resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errors?: SAPVirtualInstanceError; } -/** Define the SAP Central Server Instance. */ +/** Define the SAP Central Services Instance resource. */ export interface SAPCentralServerInstance extends TrackedResource { /** - * The central server instance id. + * The central services instance number. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceNo?: string; /** - * The central server subnet. + * The central services instance subnet. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly subnet?: string; - /** Defines the SAP message server properties. */ + /** Defines the SAP Message Server properties. */ messageServerProperties?: MessageServerProperties; - /** Defines the SAP enqueue server properties. */ + /** Defines the SAP Enqueue Server properties. */ enqueueServerProperties?: EnqueueServerProperties; /** Defines the SAP Gateway Server properties. */ gatewayServerProperties?: GatewayServerProperties; - /** Defines the SAP ERS Server properties. */ + /** Defines the SAP Enqueue Replication Server (ERS) properties. */ enqueueReplicationServerProperties?: EnqueueReplicationServerProperties; /** - * The central server kernel version. + * The central services instance Kernel Version. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelVersion?: string; /** - * The central server kernel patch. + * The central services instance Kernel Patch level. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelPatch?: string; /** - * The list of virtual machines. + * The list of virtual machines corresponding to the Central Services instance. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vmDetails?: CentralServerVmDetails[]; @@ -1628,7 +1665,7 @@ export interface SAPCentralServerInstance extends TrackedResource { */ readonly status?: SAPVirtualInstanceStatus; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; @@ -1638,36 +1675,36 @@ export interface SAPCentralServerInstance extends TrackedResource { */ readonly provisioningState?: SapVirtualInstanceProvisioningState; /** - * Defines the Central Instance errors. + * Defines the errors related to SAP Central Services Instance resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errors?: SAPVirtualInstanceError; } -/** Define the SAP Database Instance. */ +/** Define the Database resource. */ export interface SAPDatabaseInstance extends TrackedResource { /** - * The database subnet. + * Database subnet. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly subnet?: string; /** - * The database SID. + * Database SID name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly databaseSid?: string; /** - * The SAP database type. + * Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly databaseType?: string; /** - * The database IP Address. + * Database IP Address. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ipAddress?: string; /** - * The list of virtual machines. + * The list of virtual machines corresponding to the Database resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vmDetails?: DatabaseVmDetails[]; @@ -1682,56 +1719,56 @@ export interface SAPDatabaseInstance extends TrackedResource { */ readonly provisioningState?: SapVirtualInstanceProvisioningState; /** - * Defines the Database Instance errors. + * Defines the errors related to Database resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errors?: SAPVirtualInstanceError; } -/** Define the SAP Application Server Instance. */ +/** Define the SAP Application Server Instance resource. */ export interface SAPApplicationServerInstance extends TrackedResource { /** - * The application server instance id. + * Application server Instance Number. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceNo?: string; /** - * The application server subnet. + * Application server Subnet. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly subnet?: string; /** - * The application server SAP host name. + * Application server instance SAP hostname. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hostname?: string; /** - * The application server SAP kernel version. + * Application server instance SAP Kernel Version. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelVersion?: string; /** - * The application server SAP kernel patch. + * Application server instance SAP Kernel Patch level. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly kernelPatch?: string; /** - * The application server SAP IP Address. + * Application server instance SAP IP Address. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ipAddress?: string; /** - * The application server gateway Port. + * Application server instance gateway Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly gatewayPort?: number; /** - * The application server ICM HTTP Port. + * Application server instance ICM HTTP Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly icmHttpPort?: number; /** - * The application server ICM HTTPS Port. + * Application server instance ICM HTTPS Port. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly icmHttpsPort?: number; @@ -1746,7 +1783,7 @@ export interface SAPApplicationServerInstance extends TrackedResource { */ readonly status?: SAPVirtualInstanceStatus; /** - * Defines the SAP Instance health. + * Defines the health of SAP Instances. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly health?: SAPHealthState; @@ -1780,6 +1817,8 @@ export interface Monitor extends TrackedResource { appLocation?: string; /** Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. */ routingPreference?: RoutingPreference; + /** Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. */ + zoneRedundancyPreference?: string; /** Managed resource group configuration */ managedResourceGroupConfiguration?: ManagedRGConfiguration; /** The ARM ID of the Log Analytics Workspace that is used for SAP monitoring. */ @@ -1791,6 +1830,11 @@ export interface Monitor extends TrackedResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly msiArmId?: string; + /** + * The ARM ID of the Storage account used for SAP monitoring. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly storageAccountArmId?: string; } /** WordPress instance resource */ @@ -2442,6 +2486,10 @@ export enum KnownSAPVirtualInstanceState { SoftwareInstallationInProgress = "SoftwareInstallationInProgress", /** SoftwareInstallationFailed */ SoftwareInstallationFailed = "SoftwareInstallationFailed", + /** SoftwareDetectionInProgress */ + SoftwareDetectionInProgress = "SoftwareDetectionInProgress", + /** SoftwareDetectionFailed */ + SoftwareDetectionFailed = "SoftwareDetectionFailed", /** DiscoveryPending */ DiscoveryPending = "DiscoveryPending", /** DiscoveryInProgress */ @@ -2463,6 +2511,8 @@ export enum KnownSAPVirtualInstanceState { * **SoftwareInstallationPending** \ * **SoftwareInstallationInProgress** \ * **SoftwareInstallationFailed** \ + * **SoftwareDetectionInProgress** \ + * **SoftwareDetectionFailed** \ * **DiscoveryPending** \ * **DiscoveryInProgress** \ * **DiscoveryFailed** \ @@ -2718,7 +2768,9 @@ export enum KnownSAPSoftwareInstallationType { /** ServiceInitiated */ ServiceInitiated = "ServiceInitiated", /** SAPInstallWithoutOSConfig */ - SAPInstallWithoutOSConfig = "SAPInstallWithoutOSConfig" + SAPInstallWithoutOSConfig = "SAPInstallWithoutOSConfig", + /** External */ + External = "External" } /** @@ -2727,7 +2779,8 @@ export enum KnownSAPSoftwareInstallationType { * this enum contains the known values that the service supports. * ### Known values supported by the service * **ServiceInitiated** \ - * **SAPInstallWithoutOSConfig** + * **SAPInstallWithoutOSConfig** \ + * **External** */ export type SAPSoftwareInstallationType = string; @@ -2770,6 +2823,27 @@ export enum KnownWorkloadMonitorActionType { */ export type WorkloadMonitorActionType = string; +/** Known values of {@link SslPreference} that the service accepts. */ +export enum KnownSslPreference { + /** Disabled */ + Disabled = "Disabled", + /** RootCertificate */ + RootCertificate = "RootCertificate", + /** ServerCertificate */ + ServerCertificate = "ServerCertificate" +} + +/** + * Defines values for SslPreference. \ + * {@link KnownSslPreference} can be used interchangeably with SslPreference, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled** \ + * **RootCertificate** \ + * **ServerCertificate** + */ +export type SslPreference = string; + /** Known values of {@link SkuScaleType} that the service accepts. */ export enum KnownSkuScaleType { /** None */ @@ -2945,7 +3019,7 @@ export type SAPAvailabilityZoneDetailsResponse = SAPAvailabilityZoneDetailsResul /** Optional parameters. */ export interface SAPVirtualInstancesCreateOptionalParams extends coreClient.OperationOptions { - /** The Virtual Instance for SAP request body. */ + /** Virtual Instance for SAP solutions resource request body. */ body?: SAPVirtualInstance; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -2966,7 +3040,7 @@ export type SAPVirtualInstancesGetResponse = SAPVirtualInstance; /** Optional parameters. */ export interface SAPVirtualInstancesUpdateOptionalParams extends coreClient.OperationOptions { - /** The Update Virtual Instance for SAP request body. */ + /** Request body to update a Virtual Instance for SAP solutions resource. */ body?: UpdateSAPVirtualInstanceRequest; } @@ -3014,7 +3088,7 @@ export type SAPVirtualInstancesStartResponse = OperationStatusResult; /** Optional parameters. */ export interface SAPVirtualInstancesStopOptionalParams extends coreClient.OperationOptions { - /** The Virtual Instances for SAP stop request body. */ + /** The Virtual Instance for SAP solutions resource stop request body. */ body?: StopRequest; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3049,7 +3123,7 @@ export type SAPCentralInstancesGetResponse = SAPCentralServerInstance; /** Optional parameters. */ export interface SAPCentralInstancesCreateOptionalParams extends coreClient.OperationOptions { - /** The SAP Central Server instance request body. */ + /** The SAP Central Services Instance request body. */ body?: SAPCentralServerInstance; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3063,7 +3137,7 @@ export type SAPCentralInstancesCreateResponse = SAPCentralServerInstance; /** Optional parameters. */ export interface SAPCentralInstancesUpdateOptionalParams extends coreClient.OperationOptions { - /** The SAP Central Server instance request body. */ + /** The SAP Central Services Instance resource request body. */ body?: UpdateSAPCentralInstanceRequest; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3110,7 +3184,7 @@ export type SAPDatabaseInstancesGetResponse = SAPDatabaseInstance; /** Optional parameters. */ export interface SAPDatabaseInstancesCreateOptionalParams extends coreClient.OperationOptions { - /** The SAP Database Server instance request body. */ + /** Request body of Database resource of a SAP system. */ body?: SAPDatabaseInstance; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3124,7 +3198,7 @@ export type SAPDatabaseInstancesCreateResponse = SAPDatabaseInstance; /** Optional parameters. */ export interface SAPDatabaseInstancesUpdateOptionalParams extends coreClient.OperationOptions { - /** The SAP Database Server instance request body. */ + /** Database resource update request body. */ body?: UpdateSAPDatabaseInstanceRequest; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3171,7 +3245,7 @@ export type SAPApplicationServerInstancesGetResponse = SAPApplicationServerInsta /** Optional parameters. */ export interface SAPApplicationServerInstancesCreateOptionalParams extends coreClient.OperationOptions { - /** The SAP Application Server instance request body. */ + /** The SAP Application Server Instance resource request body. */ body?: SAPApplicationServerInstance; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -3185,7 +3259,7 @@ export type SAPApplicationServerInstancesCreateResponse = SAPApplicationServerIn /** Optional parameters. */ export interface SAPApplicationServerInstancesUpdateOptionalParams extends coreClient.OperationOptions { - /** The SAP Application Server instance request body. */ + /** The SAP Application Server Instance resource request body. */ body?: UpdateSAPApplicationInstanceRequest; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; diff --git a/sdk/workloads/arm-workloads/src/models/mappers.ts b/sdk/workloads/arm-workloads/src/models/mappers.ts index 002464b81343..f010456d4bca 100644 --- a/sdk/workloads/arm-workloads/src/models/mappers.ts +++ b/sdk/workloads/arm-workloads/src/models/mappers.ts @@ -3365,11 +3365,23 @@ export const HanaDbProviderInstanceProperties: coreClient.CompositeMapper = { name: "String" } }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } + }, sslHostNameInCertificate: { serializedName: "sslHostNameInCertificate", type: { name: "String" } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } } } } @@ -3449,6 +3461,18 @@ export const SapNetWeaverProviderInstanceProperties: coreClient.CompositeMapper type: { name: "String" } + }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } } } } @@ -3469,6 +3493,18 @@ export const PrometheusOSProviderInstanceProperties: coreClient.CompositeMapper type: { name: "String" } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } + }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } } } } @@ -3525,6 +3561,18 @@ export const DB2ProviderInstanceProperties: coreClient.CompositeMapper = { type: { name: "String" } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } + }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } } } } @@ -3563,6 +3611,18 @@ export const PrometheusHaClusterProviderInstanceProperties: coreClient.Composite type: { name: "String" } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } + }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } } } } @@ -3613,6 +3673,18 @@ export const MsSqlServerProviderInstanceProperties: coreClient.CompositeMapper = type: { name: "String" } + }, + sslPreference: { + serializedName: "sslPreference", + type: { + name: "String" + } + }, + sslCertificateUri: { + serializedName: "sslCertificateUri", + type: { + name: "String" + } } } } @@ -3852,6 +3924,26 @@ export const SAPInstallWithoutOSConfigSoftwareConfiguration: coreClient.Composit } }; +export const ExternalInstallationSoftwareConfiguration: coreClient.CompositeMapper = { + serializedName: "External", + type: { + name: "Composite", + className: "ExternalInstallationSoftwareConfiguration", + uberParent: "SoftwareConfiguration", + polymorphicDiscriminator: + SoftwareConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...SoftwareConfiguration.type.modelProperties, + centralServerVmId: { + serializedName: "centralServerVmId", + type: { + name: "String" + } + } + } + } +}; + export const OperationsDefinitionDisplay: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4401,6 +4493,12 @@ export const Monitor: coreClient.CompositeMapper = { name: "String" } }, + zoneRedundancyPreference: { + serializedName: "properties.zoneRedundancyPreference", + type: { + name: "String" + } + }, managedResourceGroupConfiguration: { serializedName: "properties.managedResourceGroupConfiguration", type: { @@ -4426,6 +4524,13 @@ export const Monitor: coreClient.CompositeMapper = { type: { name: "String" } + }, + storageAccountArmId: { + serializedName: "properties.storageAccountArmId", + readOnly: true, + type: { + name: "String" + } } } } @@ -4534,5 +4639,6 @@ export let discriminators = { "InfrastructureConfiguration.SingleServer": SingleServerConfiguration, "InfrastructureConfiguration.ThreeTier": ThreeTierConfiguration, "SoftwareConfiguration.ServiceInitiated": ServiceInitiatedSoftwareConfiguration, - "SoftwareConfiguration.SAPInstallWithoutOSConfig": SAPInstallWithoutOSConfigSoftwareConfiguration + "SoftwareConfiguration.SAPInstallWithoutOSConfig": SAPInstallWithoutOSConfigSoftwareConfiguration, + "SoftwareConfiguration.External": ExternalInstallationSoftwareConfiguration }; diff --git a/sdk/workloads/arm-workloads/src/operations/monitors.ts b/sdk/workloads/arm-workloads/src/operations/monitors.ts index 9ed0b706a006..0f04c01aa872 100644 --- a/sdk/workloads/arm-workloads/src/operations/monitors.ts +++ b/sdk/workloads/arm-workloads/src/operations/monitors.ts @@ -341,7 +341,8 @@ export class MonitorsImpl implements Monitors { ); const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; diff --git a/sdk/workloads/arm-workloads/src/operations/providerInstances.ts b/sdk/workloads/arm-workloads/src/operations/providerInstances.ts index 8f82239d9b69..ebc0187cebb7 100644 --- a/sdk/workloads/arm-workloads/src/operations/providerInstances.ts +++ b/sdk/workloads/arm-workloads/src/operations/providerInstances.ts @@ -309,7 +309,8 @@ export class ProviderInstancesImpl implements ProviderInstances { ); const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; diff --git a/sdk/workloads/arm-workloads/src/operations/sAPApplicationServerInstances.ts b/sdk/workloads/arm-workloads/src/operations/sAPApplicationServerInstances.ts index 70f721e1068f..795b97ec7654 100644 --- a/sdk/workloads/arm-workloads/src/operations/sAPApplicationServerInstances.ts +++ b/sdk/workloads/arm-workloads/src/operations/sAPApplicationServerInstances.ts @@ -45,9 +45,10 @@ export class SAPApplicationServerInstancesImpl } /** - * Lists the SAP Application server Instances in an SVI. + * Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ public list( @@ -116,10 +117,11 @@ export class SAPApplicationServerInstancesImpl } /** - * Gets the SAP Application Server Instance. + * Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ get( @@ -140,11 +142,11 @@ export class SAPApplicationServerInstancesImpl } /** - * Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user - * will return a Bad Request error. + * Puts the SAP Application Server Instance resource.

This will be used by service only. PUT by + * end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginCreate( @@ -216,11 +218,11 @@ export class SAPApplicationServerInstancesImpl } /** - * Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user - * will return a Bad Request error. + * Puts the SAP Application Server Instance resource.

This will be used by service only. PUT by + * end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginCreateAndWait( @@ -239,10 +241,10 @@ export class SAPApplicationServerInstancesImpl } /** - * Puts the SAP Application Server Instance. + * Puts the SAP Application Server Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginUpdate( @@ -314,10 +316,10 @@ export class SAPApplicationServerInstancesImpl } /** - * Puts the SAP Application Server Instance. + * Puts the SAP Application Server Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginUpdateAndWait( @@ -336,11 +338,11 @@ export class SAPApplicationServerInstancesImpl } /** - * Deletes the SAP Application Server Instance.

This operation will be used by service only. - * Delete by end user will return a Bad Request error. + * Deletes the SAP Application Server Instance resource.

This operation will be used by service + * only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginDelete( @@ -413,11 +415,11 @@ export class SAPApplicationServerInstancesImpl } /** - * Deletes the SAP Application Server Instance.

This operation will be used by service only. - * Delete by end user will return a Bad Request error. + * Deletes the SAP Application Server Instance resource.

This operation will be used by service + * only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ async beginDeleteAndWait( @@ -436,9 +438,10 @@ export class SAPApplicationServerInstancesImpl } /** - * Lists the SAP Application server Instances in an SVI. + * Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ private _list( @@ -455,7 +458,7 @@ export class SAPApplicationServerInstancesImpl /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ diff --git a/sdk/workloads/arm-workloads/src/operations/sAPCentralInstances.ts b/sdk/workloads/arm-workloads/src/operations/sAPCentralInstances.ts index 673d3e5b97f6..d7cd732ea301 100644 --- a/sdk/workloads/arm-workloads/src/operations/sAPCentralInstances.ts +++ b/sdk/workloads/arm-workloads/src/operations/sAPCentralInstances.ts @@ -44,9 +44,10 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Lists the SAP Central Instances in an SVI. + * Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ public list( @@ -115,11 +116,11 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Gets the SAP Central Instance. + * Gets the SAP Central Services Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ get( @@ -140,12 +141,12 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Puts the SAP Central Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the SAP Central Services Instance resource.

This will be used by service only. PUT + * operation on this resource by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginCreate( @@ -217,12 +218,12 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Puts the SAP Central Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the SAP Central Services Instance resource.

This will be used by service only. PUT + * operation on this resource by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginCreateAndWait( @@ -241,11 +242,12 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Updates the SAP Central Instance.

This can be used to update tags. + * Updates the SAP Central Services Instance resource.

This can be used to update tags on the + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginUpdate( @@ -317,11 +319,12 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Updates the SAP Central Instance.

This can be used to update tags. + * Updates the SAP Central Services Instance resource.

This can be used to update tags on the + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginUpdateAndWait( @@ -340,12 +343,14 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will - * return a Bad Request error. + * Deletes the SAP Central Services Instance resource.

This will be used by service only. + * Delete operation on this resource by end user will return a Bad Request error. You can delete the + * parent resource, which is the Virtual Instance for SAP solutions resource, using the delete + * operation on it. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginDelete( @@ -418,12 +423,14 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will - * return a Bad Request error. + * Deletes the SAP Central Services Instance resource.

This will be used by service only. + * Delete operation on this resource by end user will return a Bad Request error. You can delete the + * parent resource, which is the Virtual Instance for SAP solutions resource, using the delete + * operation on it. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ async beginDeleteAndWait( @@ -442,9 +449,10 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { } /** - * Lists the SAP Central Instances in an SVI. + * Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ private _list( @@ -461,7 +469,7 @@ export class SAPCentralInstancesImpl implements SAPCentralInstances { /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ diff --git a/sdk/workloads/arm-workloads/src/operations/sAPDatabaseInstances.ts b/sdk/workloads/arm-workloads/src/operations/sAPDatabaseInstances.ts index 1b0b15116ad6..4e6b8ddd11e8 100644 --- a/sdk/workloads/arm-workloads/src/operations/sAPDatabaseInstances.ts +++ b/sdk/workloads/arm-workloads/src/operations/sAPDatabaseInstances.ts @@ -44,9 +44,9 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Lists the SAP Database Instances in an SVI. + * Lists the Database resources associated with a Virtual Instance for SAP solutions resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ public list( @@ -115,11 +115,11 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Gets the SAP Database Instance. + * Gets the SAP Database Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ get( @@ -140,12 +140,12 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Puts the SAP Database Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. + *

This will be used by service only. PUT by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginCreate( @@ -217,12 +217,12 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Puts the SAP Database Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. + *

This will be used by service only. PUT by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginCreateAndWait( @@ -241,11 +241,11 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Puts the SAP Database Instance. + * Updates the Database resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginUpdate( @@ -317,11 +317,11 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Puts the SAP Database Instance. + * Updates the Database resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginUpdateAndWait( @@ -340,12 +340,12 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Deletes the SAP Database Instance.

This will be used by service only. Delete by end user - * will return a Bad Request error. + * Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. + *

This will be used by service only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginDelete( @@ -418,12 +418,12 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Deletes the SAP Database Instance.

This will be used by service only. Delete by end user - * will return a Bad Request error. + * Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. + *

This will be used by service only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ async beginDeleteAndWait( @@ -442,9 +442,9 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { } /** - * Lists the SAP Database Instances in an SVI. + * Lists the Database resources associated with a Virtual Instance for SAP solutions resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ private _list( @@ -461,7 +461,7 @@ export class SAPDatabaseInstancesImpl implements SAPDatabaseInstances { /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ diff --git a/sdk/workloads/arm-workloads/src/operations/sAPVirtualInstances.ts b/sdk/workloads/arm-workloads/src/operations/sAPVirtualInstances.ts index 2fae645c72a8..159af0903a09 100644 --- a/sdk/workloads/arm-workloads/src/operations/sAPVirtualInstances.ts +++ b/sdk/workloads/arm-workloads/src/operations/sAPVirtualInstances.ts @@ -52,7 +52,7 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Gets all Virtual Instances for SAP in a resource group. + * Gets all Virtual Instances for SAP solutions resources in a Resource Group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -105,7 +105,7 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Gets all Virtual Instances for SAP in the subscription. + * Gets all Virtual Instances for SAP solutions resources in a Subscription. * @param options The options parameters. */ public listBySubscription( @@ -147,9 +147,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Creates an Virtual Instance for SAP. + * Creates a Virtual Instance for SAP solutions (VIS) resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginCreate( @@ -215,9 +215,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Creates an Virtual Instance for SAP. + * Creates a Virtual Instance for SAP solutions (VIS) resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginCreateAndWait( @@ -234,9 +234,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Gets an Virtual Instance for SAP. + * Gets a Virtual Instance for SAP solutions resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ get( @@ -251,9 +251,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Updates an Virtual Instance for SAP. + * Updates a Virtual Instance for SAP solutions resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ update( @@ -268,9 +268,10 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Deletes an Virtual Instance for SAP. + * Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the + * associated Central Services Instance, Application Server Instances and Database Instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginDelete( @@ -337,9 +338,10 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Deletes an Virtual Instance for SAP. + * Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the + * associated Central Services Instance, Application Server Instances and Database Instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginDeleteAndWait( @@ -356,7 +358,7 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Gets all Virtual Instances for SAP in a resource group. + * Gets all Virtual Instances for SAP solutions resources in a Resource Group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -371,7 +373,7 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Gets all Virtual Instances for SAP in the subscription. + * Gets all Virtual Instances for SAP solutions resources in a Subscription. * @param options The options parameters. */ private _listBySubscription( @@ -384,9 +386,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Starts the SAP System. + * Starts the SAP application, that is the Central Services instance and Application server instances. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginStart( @@ -452,9 +454,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Starts the SAP System. + * Starts the SAP application, that is the Central Services instance and Application server instances. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginStartAndWait( @@ -471,9 +473,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Stops the SAP System. + * Stops the SAP Application, that is the Application server instances and Central Services instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginStop( @@ -539,9 +541,9 @@ export class SAPVirtualInstancesImpl implements SAPVirtualInstances { } /** - * Stops the SAP System. + * Stops the SAP Application, that is the Application server instances and Central Services instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ async beginStopAndWait( diff --git a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPApplicationServerInstances.ts b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPApplicationServerInstances.ts index 98006245f13f..58e5a68aaf24 100644 --- a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPApplicationServerInstances.ts +++ b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPApplicationServerInstances.ts @@ -25,9 +25,10 @@ import { /** Interface representing a SAPApplicationServerInstances. */ export interface SAPApplicationServerInstances { /** - * Lists the SAP Application server Instances in an SVI. + * Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ list( @@ -36,10 +37,11 @@ export interface SAPApplicationServerInstances { options?: SAPApplicationServerInstancesListOptionalParams ): PagedAsyncIterableIterator; /** - * Gets the SAP Application Server Instance. + * Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ get( @@ -49,11 +51,11 @@ export interface SAPApplicationServerInstances { options?: SAPApplicationServerInstancesGetOptionalParams ): Promise; /** - * Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user - * will return a Bad Request error. + * Puts the SAP Application Server Instance resource.

This will be used by service only. PUT by + * end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginCreate( @@ -68,11 +70,11 @@ export interface SAPApplicationServerInstances { > >; /** - * Puts the SAP Application Server Instance.

This will be used by service only. PUT by end user - * will return a Bad Request error. + * Puts the SAP Application Server Instance resource.

This will be used by service only. PUT by + * end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginCreateAndWait( @@ -82,10 +84,10 @@ export interface SAPApplicationServerInstances { options?: SAPApplicationServerInstancesCreateOptionalParams ): Promise; /** - * Puts the SAP Application Server Instance. + * Puts the SAP Application Server Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginUpdate( @@ -100,10 +102,10 @@ export interface SAPApplicationServerInstances { > >; /** - * Puts the SAP Application Server Instance. + * Puts the SAP Application Server Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginUpdateAndWait( @@ -113,11 +115,11 @@ export interface SAPApplicationServerInstances { options?: SAPApplicationServerInstancesUpdateOptionalParams ): Promise; /** - * Deletes the SAP Application Server Instance.

This operation will be used by service only. - * Delete by end user will return a Bad Request error. + * Deletes the SAP Application Server Instance resource.

This operation will be used by service + * only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginDelete( @@ -132,11 +134,11 @@ export interface SAPApplicationServerInstances { > >; /** - * Deletes the SAP Application Server Instance.

This operation will be used by service only. - * Delete by end user will return a Bad Request error. + * Deletes the SAP Application Server Instance resource.

This operation will be used by service + * only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param applicationInstanceName The name of SAP Application Server instance. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param applicationInstanceName The name of SAP Application Server instance resource. * @param options The options parameters. */ beginDeleteAndWait( diff --git a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPCentralInstances.ts b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPCentralInstances.ts index f4bbf79e871f..d4273231a1e9 100644 --- a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPCentralInstances.ts +++ b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPCentralInstances.ts @@ -25,9 +25,10 @@ import { /** Interface representing a SAPCentralInstances. */ export interface SAPCentralInstances { /** - * Lists the SAP Central Instances in an SVI. + * Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ list( @@ -36,11 +37,11 @@ export interface SAPCentralInstances { options?: SAPCentralInstancesListOptionalParams ): PagedAsyncIterableIterator; /** - * Gets the SAP Central Instance. + * Gets the SAP Central Services Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ get( @@ -50,12 +51,12 @@ export interface SAPCentralInstances { options?: SAPCentralInstancesGetOptionalParams ): Promise; /** - * Puts the SAP Central Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the SAP Central Services Instance resource.

This will be used by service only. PUT + * operation on this resource by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginCreate( @@ -70,12 +71,12 @@ export interface SAPCentralInstances { > >; /** - * Puts the SAP Central Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the SAP Central Services Instance resource.

This will be used by service only. PUT + * operation on this resource by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginCreateAndWait( @@ -85,11 +86,12 @@ export interface SAPCentralInstances { options?: SAPCentralInstancesCreateOptionalParams ): Promise; /** - * Updates the SAP Central Instance.

This can be used to update tags. + * Updates the SAP Central Services Instance resource.

This can be used to update tags on the + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginUpdate( @@ -104,11 +106,12 @@ export interface SAPCentralInstances { > >; /** - * Updates the SAP Central Instance.

This can be used to update tags. + * Updates the SAP Central Services Instance resource.

This can be used to update tags on the + * resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginUpdateAndWait( @@ -118,12 +121,14 @@ export interface SAPCentralInstances { options?: SAPCentralInstancesUpdateOptionalParams ): Promise; /** - * Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will - * return a Bad Request error. + * Deletes the SAP Central Services Instance resource.

This will be used by service only. + * Delete operation on this resource by end user will return a Bad Request error. You can delete the + * parent resource, which is the Virtual Instance for SAP solutions resource, using the delete + * operation on it. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginDelete( @@ -138,12 +143,14 @@ export interface SAPCentralInstances { > >; /** - * Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will - * return a Bad Request error. + * Deletes the SAP Central Services Instance resource.

This will be used by service only. + * Delete operation on this resource by end user will return a Bad Request error. You can delete the + * parent resource, which is the Virtual Instance for SAP solutions resource, using the delete + * operation on it. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param centralInstanceName Central Instance name string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param centralInstanceName Central Services Instance resource name string modeled as parameter for + * auto generation to work correctly. * @param options The options parameters. */ beginDeleteAndWait( diff --git a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPDatabaseInstances.ts b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPDatabaseInstances.ts index 9ca030c5cdd9..7d26f6a7ce55 100644 --- a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPDatabaseInstances.ts +++ b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPDatabaseInstances.ts @@ -25,9 +25,9 @@ import { /** Interface representing a SAPDatabaseInstances. */ export interface SAPDatabaseInstances { /** - * Lists the SAP Database Instances in an SVI. + * Lists the Database resources associated with a Virtual Instance for SAP solutions resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ list( @@ -36,11 +36,11 @@ export interface SAPDatabaseInstances { options?: SAPDatabaseInstancesListOptionalParams ): PagedAsyncIterableIterator; /** - * Gets the SAP Database Instance. + * Gets the SAP Database Instance resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ get( @@ -50,12 +50,12 @@ export interface SAPDatabaseInstances { options?: SAPDatabaseInstancesGetOptionalParams ): Promise; /** - * Puts the SAP Database Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. + *

This will be used by service only. PUT by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginCreate( @@ -70,12 +70,12 @@ export interface SAPDatabaseInstances { > >; /** - * Puts the SAP Database Instance.

This will be used by service only. PUT by end user will - * return a Bad Request error. + * Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. + *

This will be used by service only. PUT by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginCreateAndWait( @@ -85,11 +85,11 @@ export interface SAPDatabaseInstances { options?: SAPDatabaseInstancesCreateOptionalParams ): Promise; /** - * Puts the SAP Database Instance. + * Updates the Database resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginUpdate( @@ -104,11 +104,11 @@ export interface SAPDatabaseInstances { > >; /** - * Puts the SAP Database Instance. + * Updates the Database resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginUpdateAndWait( @@ -118,12 +118,12 @@ export interface SAPDatabaseInstances { options?: SAPDatabaseInstancesUpdateOptionalParams ): Promise; /** - * Deletes the SAP Database Instance.

This will be used by service only. Delete by end user - * will return a Bad Request error. + * Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. + *

This will be used by service only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginDelete( @@ -138,12 +138,12 @@ export interface SAPDatabaseInstances { > >; /** - * Deletes the SAP Database Instance.

This will be used by service only. Delete by end user - * will return a Bad Request error. + * Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. + *

This will be used by service only. Delete by end user will return a Bad Request error. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. - * @param databaseInstanceName Database Instance string modeled as parameter for auto generation to - * work correctly. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource + * @param databaseInstanceName Database resource name string modeled as parameter for auto generation + * to work correctly. * @param options The options parameters. */ beginDeleteAndWait( diff --git a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPVirtualInstances.ts b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPVirtualInstances.ts index adda750fb8f5..d52f26fed043 100644 --- a/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPVirtualInstances.ts +++ b/sdk/workloads/arm-workloads/src/operationsInterfaces/sAPVirtualInstances.ts @@ -30,7 +30,7 @@ import { /** Interface representing a SAPVirtualInstances. */ export interface SAPVirtualInstances { /** - * Gets all Virtual Instances for SAP in a resource group. + * Gets all Virtual Instances for SAP solutions resources in a Resource Group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ @@ -39,16 +39,16 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesListByResourceGroupOptionalParams ): PagedAsyncIterableIterator; /** - * Gets all Virtual Instances for SAP in the subscription. + * Gets all Virtual Instances for SAP solutions resources in a Subscription. * @param options The options parameters. */ listBySubscription( options?: SAPVirtualInstancesListBySubscriptionOptionalParams ): PagedAsyncIterableIterator; /** - * Creates an Virtual Instance for SAP. + * Creates a Virtual Instance for SAP solutions (VIS) resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginCreate( @@ -62,9 +62,9 @@ export interface SAPVirtualInstances { > >; /** - * Creates an Virtual Instance for SAP. + * Creates a Virtual Instance for SAP solutions (VIS) resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginCreateAndWait( @@ -73,9 +73,9 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesCreateOptionalParams ): Promise; /** - * Gets an Virtual Instance for SAP. + * Gets a Virtual Instance for SAP solutions resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ get( @@ -84,9 +84,9 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesGetOptionalParams ): Promise; /** - * Updates an Virtual Instance for SAP. + * Updates a Virtual Instance for SAP solutions resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ update( @@ -95,9 +95,10 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesUpdateOptionalParams ): Promise; /** - * Deletes an Virtual Instance for SAP. + * Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the + * associated Central Services Instance, Application Server Instances and Database Instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginDelete( @@ -111,9 +112,10 @@ export interface SAPVirtualInstances { > >; /** - * Deletes an Virtual Instance for SAP. + * Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the + * associated Central Services Instance, Application Server Instances and Database Instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginDeleteAndWait( @@ -122,9 +124,9 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesDeleteOptionalParams ): Promise; /** - * Starts the SAP System. + * Starts the SAP application, that is the Central Services instance and Application server instances. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginStart( @@ -138,9 +140,9 @@ export interface SAPVirtualInstances { > >; /** - * Starts the SAP System. + * Starts the SAP application, that is the Central Services instance and Application server instances. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginStartAndWait( @@ -149,9 +151,9 @@ export interface SAPVirtualInstances { options?: SAPVirtualInstancesStartOptionalParams ): Promise; /** - * Stops the SAP System. + * Stops the SAP Application, that is the Application server instances and Central Services instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginStop( @@ -165,9 +167,9 @@ export interface SAPVirtualInstances { > >; /** - * Stops the SAP System. + * Stops the SAP Application, that is the Application server instances and Central Services instance. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param sapVirtualInstanceName The name of the Virtual Instances for SAP. + * @param sapVirtualInstanceName The name of the Virtual Instances for SAP solutions resource * @param options The options parameters. */ beginStopAndWait( diff --git a/sdk/workloads/arm-workloads/src/workloadsClient.ts b/sdk/workloads/arm-workloads/src/workloadsClient.ts index f8a1ea2cae99..81c37fe14f74 100644 --- a/sdk/workloads/arm-workloads/src/workloadsClient.ts +++ b/sdk/workloads/arm-workloads/src/workloadsClient.ts @@ -104,27 +104,34 @@ export class WorkloadsClient extends coreClient.ServiceClient { }; super(optionsWithDefaults); + let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); - const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName ); - if (!bearerTokenAuthenticationPolicyFound) { - this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName - }); - this.pipeline.addPolicy( - coreRestPipeline.bearerTokenAuthenticationPolicy({ - scopes: `${optionsWithDefaults.baseUri}/.default`, - challengeCallbacks: { - authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) - ); - } + } + if ( + !options || + !options.pipeline || + options.pipeline.getOrderedPolicies().length == 0 || + !bearerTokenAuthenticationPolicyFound + ) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + credential: credentials, + scopes: `${optionsWithDefaults.credentialScopes}`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); } // Parameter assignments this.subscriptionId = subscriptionId; @@ -176,7 +183,8 @@ export class WorkloadsClient extends coreClient.ServiceClient { } /** - * Get SAP sizing recommendations. + * Get SAP sizing recommendations by providing input SAPS for application tier and memory required for + * database tier * @param location The name of Azure region. * @param options The options parameters. */ @@ -191,7 +199,7 @@ export class WorkloadsClient extends coreClient.ServiceClient { } /** - * Get SAP supported SKUs. + * Get a list of SAP supported SKUs for ASCS, Application and Database tier. * @param location The name of Azure region. * @param options The options parameters. */ @@ -206,7 +214,7 @@ export class WorkloadsClient extends coreClient.ServiceClient { } /** - * Get SAP Disk Configurations. + * Get the SAP Disk Configuration Layout prod/non-prod SAP System. * @param location The name of Azure region. * @param options The options parameters. */ @@ -221,7 +229,7 @@ export class WorkloadsClient extends coreClient.ServiceClient { } /** - * Get SAP Availability Zone Details. + * Get the recommended SAP Availability Zone Pair Details for your region. * @param location The name of Azure region. * @param options The options parameters. */ diff --git a/sdk/workloads/arm-workloads/test/sampleTest.ts b/sdk/workloads/arm-workloads/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/workloads/arm-workloads/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * 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. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/workloads/arm-workloads/test/workloads_examples.ts b/sdk/workloads/arm-workloads/test/workloads_examples.ts deleted file mode 100644 index 6cce87fc0061..000000000000 --- a/sdk/workloads/arm-workloads/test/workloads_examples.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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. - */ - -import { - env, - Recorder, - RecorderStartOptions, - delay, - isPlaybackMode, -} from "@azure-tools/test-recorder"; -import { createTestCredential } from "@azure-tools/test-credential"; -import { assert } from "chai"; -import { Context } from "mocha"; -import { WorkloadsClient } from "../src/workloadsClient" -import { Monitor } from "../src/models"; - -const replaceableVariables: Record = { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" -}; - -const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables -}; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("workloads test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: WorkloadsClient; - let resourceGroup: string; - let monitorName: string; - let monitorParameter: Monitor; - - - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); - await recorder.start(recorderOptions); - subscriptionId = env.SUBSCRIPTION_ID || ''; - // This is an example of how the environment variables are used - const credential = createTestCredential(); - client = new WorkloadsClient(credential, subscriptionId, recorder.configureClientOptions({})); - resourceGroup = "myjstest"; - monitorName = "myMonitor"; - }); - - afterEach(async function () { - await recorder.stop(); - }); - - //create Workloads - it("Workloads create test", async function () { - monitorParameter = { - appLocation: "eastus2", - location: "eastus2", - logAnalyticsWorkspaceArmId: - "/subscriptions/" + subscriptionId + "/resourcegroups/myjstest/providers/microsoft.operationalinsights/workspaces/myWorkspace", - managedResourceGroupConfiguration: { name: "myManagedRg" }, - monitorSubnet: - "/subscriptions/" + subscriptionId + "/resourceGroups/myjstest/providers/Microsoft.Network/virtualNetworks/virtualnetworkabc/subnets/mySubnet", - routingPreference: "RouteAll", - tags: { key: "value" } - }; - //create monitors - const res = await client.monitors.beginCreateAndWait(resourceGroup, monitorName, monitorParameter) - assert.equal(res.name, monitorName); - }); - - //get monitors - it("Workloads get test", async function () { - //get monitors from workloads - const res = await client.monitors.get(resourceGroup, monitorName); - assert.equal(res.name, monitorName); - }); - - //list Workloads - it("Workloads list test", async function () { - //list monitors from workloads - const res = await client.monitors.list() - const resArray = []; - for await (let item of res) { - resArray.push(item); - } - assert.equal(resArray.length, 1); - }); - - //delete monitors - it("Workloads delete test", async function () { - const res = await client.monitors.beginDeleteAndWait(resourceGroup, monitorName); - const resArray = new Array(); - for await (let item of client.monitors.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }); -}); diff --git a/sdk/workloads/arm-workloads/tsconfig.json b/sdk/workloads/arm-workloads/tsconfig.json index cd59b27395e6..3e6ae96443f3 100644 --- a/sdk/workloads/arm-workloads/tsconfig.json +++ b/sdk/workloads/arm-workloads/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-workloads": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"